[red-knot] Remove very noisy tracing call when resolving ImportFrom statements (#13136)

This commit is contained in:
Alex Waygood 2024-08-28 11:05:00 +01:00 committed by GitHub
parent 3e9c7adeee
commit cfafaa7637
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1063,7 +1063,6 @@ impl<'db> TypeInferenceBuilder<'db> {
// `follow_relative_import_bare_to_module()` and
// `follow_nonexistent_import_bare_to_module()`.
let ast::StmtImportFrom { module, level, .. } = import_from;
tracing::trace!("Resolving imported object {alias:?} from statement {import_from:?}");
let module = module.as_deref();
let module_name = if let Some(level) = NonZeroU32::new(*level) {