We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7198905 commit 42255d9Copy full SHA for 42255d9
src/librustc_resolve/lib.rs
@@ -4662,7 +4662,7 @@ impl<'a> Resolver<'a> {
4662
fn find_transitive_imports(&mut self, mut kind: &NameBindingKind<'_>,
4663
trait_name: &Ident) -> SmallVec<[NodeId; 1]> {
4664
let mut import_ids = smallvec![];
4665
- while let NameBindingKind::Import { directive, binding, .. } = *kind {
+ while let NameBindingKind::Import { directive, binding, .. } = kind {
4666
self.maybe_unused_trait_imports.insert(directive.id);
4667
self.add_to_glob_map(&directive, *trait_name);
4668
import_ids.push(directive.id);
0 commit comments