mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 13:51:37 +00:00
[red-knot] Remove very noisy tracing call when resolving ImportFrom
statements (#13136)
This commit is contained in:
parent
3e9c7adeee
commit
cfafaa7637
1 changed files with 0 additions and 1 deletions
|
@ -1063,7 +1063,6 @@ impl<'db> TypeInferenceBuilder<'db> {
|
||||||
// `follow_relative_import_bare_to_module()` and
|
// `follow_relative_import_bare_to_module()` and
|
||||||
// `follow_nonexistent_import_bare_to_module()`.
|
// `follow_nonexistent_import_bare_to_module()`.
|
||||||
let ast::StmtImportFrom { module, level, .. } = import_from;
|
let ast::StmtImportFrom { module, level, .. } = import_from;
|
||||||
tracing::trace!("Resolving imported object {alias:?} from statement {import_from:?}");
|
|
||||||
let module = module.as_deref();
|
let module = module.as_deref();
|
||||||
|
|
||||||
let module_name = if let Some(level) = NonZeroU32::new(*level) {
|
let module_name = if let Some(level) = NonZeroU32::new(*level) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue