We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 652c8b6 + 6fa3ad1 commit 7808784Copy full SHA for 7808784
compiler/rustc_middle/src/ty/typeck_results.rs
@@ -147,9 +147,7 @@ pub struct TypeckResults<'tcx> {
147
coercion_casts: ItemLocalSet,
148
149
/// Set of trait imports actually used in the method resolution.
150
- /// This is used for warning unused imports. During type
151
- /// checking, this `Arc` should not be cloned: it must have a ref-count
152
- /// of 1 so that we can insert things into the set mutably.
+ /// This is used for warning unused imports.
153
pub used_trait_imports: UnordSet<LocalDefId>,
154
155
/// If any errors occurred while type-checking this body,
0 commit comments