Remove a possible unnecessary assignment
The reference issue has been closed (the feature has been stabilized) and things work fine without fine, it seems. Signed-off-by: Yuki Okushi <jtitor@2k36.org>
This commit is contained in:
parent
949a64ab20
commit
71d7f414a6
@ -316,8 +316,6 @@ fn check_item<'tcx>(
|
||||
item.kind
|
||||
{
|
||||
if !access_levels.is_reachable(item.def_id) {
|
||||
// FIXME(#53488) remove `let`
|
||||
let tcx = tcx;
|
||||
worklist.extend(items.iter().map(|ii_ref| ii_ref.id.def_id));
|
||||
|
||||
let Res::Def(DefKind::Trait, trait_def_id) = trait_ref.path.res else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user