diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-02-20 14:32:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-20 14:32:55 +0100 |
| commit | 133afeb6e37f42283922e0d755b27db9aff629f0 (patch) | |
| tree | 818ec032523551d535a72cdda9f3f303c0a43cde | |
| parent | 226ce31edde65a0a4b8eff25aab368694e440d51 (diff) | |
| parent | be599f3cbe99a51edda7af134dc66d2eaa4f8a12 (diff) | |
| download | rust-133afeb6e37f42283922e0d755b27db9aff629f0.tar.gz rust-133afeb6e37f42283922e0d755b27db9aff629f0.zip | |
Rollup merge of #108259 - fee1-dead-contrib:fixme-2, r=TaKO8Ki
remove FIXME that doesn't require fixing
| -rw-r--r-- | compiler/rustc_resolve/src/late.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_resolve/src/late.rs b/compiler/rustc_resolve/src/late.rs index 162f91e05f8..f8bd289d72f 100644 --- a/compiler/rustc_resolve/src/late.rs +++ b/compiler/rustc_resolve/src/late.rs @@ -4135,9 +4135,9 @@ impl<'a: 'ast, 'b, 'ast, 'tcx> LateResolutionVisitor<'a, 'b, 'ast, 'tcx> { fn record_candidate_traits_for_expr_if_necessary(&mut self, expr: &'ast Expr) { match expr.kind { ExprKind::Field(_, ident) => { - // FIXME(#6890): Even though you can't treat a method like a - // field, we need to add any trait methods we find that match - // the field name so that we can do some nice error reporting + // #6890: Even though you can't treat a method like a field, + // we need to add any trait methods we find that match the + // field name so that we can do some nice error reporting // later on in typeck. let traits = self.traits_in_scope(ident, ValueNS); self.r.trait_map.insert(expr.id, traits); |
