Skip to content

Commit 2d9299b

Browse files
Auto merge of #144863 - cjgillot:live-or-dead, r=<try>
Simplify dead code lint
2 parents f34ba77 + fdb0651 commit 2d9299b

File tree

2 files changed

+204
-276
lines changed

2 files changed

+204
-276
lines changed

compiler/rustc_middle/src/query/mod.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,11 +1178,10 @@ rustc_queries! {
11781178

11791179
/// Return the live symbols in the crate for dead code check.
11801180
///
1181-
/// The second return value maps from ADTs to ignored derived traits (e.g. Debug and Clone) and
1182-
/// their respective impl (i.e., part of the derive macro)
1181+
/// The second return value maps from ADTs to ignored derived traits (e.g. Debug and Clone).
11831182
query live_symbols_and_ignored_derived_traits(_: ()) -> &'tcx (
11841183
LocalDefIdSet,
1185-
LocalDefIdMap<FxIndexSet<(DefId, DefId)>>
1184+
LocalDefIdMap<FxIndexSet<DefId>>,
11861185
) {
11871186
arena_cache
11881187
desc { "finding live symbols in crate" }

0 commit comments

Comments
 (0)