diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-02-17 17:06:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-17 17:06:12 +0100 |
| commit | 7808784f01de0fa504d2f97d5c0aa1bcc614cb5f (patch) | |
| tree | 81b4db7971c3477d2de43de4b4d5aacbc31b5e09 /compiler | |
| parent | 652c8b6866479499e5ce512f150387fbaf220262 (diff) | |
| parent | 6fa3ad1e5e037d9b4f120573b852f06591bbe6f0 (diff) | |
| download | rust-7808784f01de0fa504d2f97d5c0aa1bcc614cb5f.tar.gz rust-7808784f01de0fa504d2f97d5c0aa1bcc614cb5f.zip | |
Rollup merge of #137168 - klensy:rc--, r=lcnr
correct comment Rc was removed in #113573, so r? `@lcnr`
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_middle/src/ty/typeck_results.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_middle/src/ty/typeck_results.rs b/compiler/rustc_middle/src/ty/typeck_results.rs index 1b5b791bb24..b8c73d25843 100644 --- a/compiler/rustc_middle/src/ty/typeck_results.rs +++ b/compiler/rustc_middle/src/ty/typeck_results.rs @@ -147,9 +147,7 @@ pub struct TypeckResults<'tcx> { coercion_casts: ItemLocalSet, /// Set of trait imports actually used in the method resolution. - /// This is used for warning unused imports. During type - /// checking, this `Arc` should not be cloned: it must have a ref-count - /// of 1 so that we can insert things into the set mutably. + /// This is used for warning unused imports. pub used_trait_imports: UnordSet<LocalDefId>, /// If any errors occurred while type-checking this body, |
