add a fixme
This commit is contained in:
parent
5f92a56ed6
commit
25b6a28a51
1 changed files with 1 additions and 0 deletions
|
@ -281,6 +281,7 @@ fn check_for_bindings_named_same_as_variants(cx: &MatchVisitor<'_, '_>, pat: &Pa
|
|||
variant.ident == ident && variant.ctor_kind == CtorKind::Const
|
||||
})
|
||||
{
|
||||
// FIXME(Centril): Should be a lint?
|
||||
let ty_path = cx.tcx.def_path_str(edef.did);
|
||||
let mut err = struct_span_warn!(
|
||||
cx.tcx.sess,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue