Skip to content

Commit 71d7f41

Browse files
committed
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 <[email protected]>
1 parent 949a64a commit 71d7f41

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/rustc_passes/src/reachable.rs

-2
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,6 @@ fn check_item<'tcx>(
316316
item.kind
317317
{
318318
if !access_levels.is_reachable(item.def_id) {
319-
// FIXME(#53488) remove `let`
320-
let tcx = tcx;
321319
worklist.extend(items.iter().map(|ii_ref| ii_ref.id.def_id));
322320

323321
let Res::Def(DefKind::Trait, trait_def_id) = trait_ref.path.res else {

0 commit comments

Comments
 (0)