Skip to content

Commit 133afeb

Browse files
authored
Rollup merge of #108259 - fee1-dead-contrib:fixme-2, r=TaKO8Ki
remove FIXME that doesn't require fixing
2 parents 226ce31 + be599f3 commit 133afeb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/rustc_resolve/src/late.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -4135,9 +4135,9 @@ impl<'a: 'ast, 'b, 'ast, 'tcx> LateResolutionVisitor<'a, 'b, 'ast, 'tcx> {
41354135
fn record_candidate_traits_for_expr_if_necessary(&mut self, expr: &'ast Expr) {
41364136
match expr.kind {
41374137
ExprKind::Field(_, ident) => {
4138-
// FIXME(#6890): Even though you can't treat a method like a
4139-
// field, we need to add any trait methods we find that match
4140-
// the field name so that we can do some nice error reporting
4138+
// #6890: Even though you can't treat a method like a field,
4139+
// we need to add any trait methods we find that match the
4140+
// field name so that we can do some nice error reporting
41414141
// later on in typeck.
41424142
let traits = self.traits_in_scope(ident, ValueNS);
41434143
self.r.trait_map.insert(expr.id, traits);

0 commit comments

Comments
 (0)