Skip to content

Commit 25b6a28

Browse files
committed
add a fixme
1 parent 5f92a56 commit 25b6a28

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_mir/hair/pattern/check_match.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ fn check_for_bindings_named_same_as_variants(cx: &MatchVisitor<'_, '_>, pat: &Pa
281281
variant.ident == ident && variant.ctor_kind == CtorKind::Const
282282
})
283283
{
284+
// FIXME(Centril): Should be a lint?
284285
let ty_path = cx.tcx.def_path_str(edef.did);
285286
let mut err = struct_span_warn!(
286287
cx.tcx.sess,

0 commit comments

Comments
 (0)