We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0a89c4 commit d0da6caCopy full SHA for d0da6ca
compiler/rustc_passes/src/dead.rs
@@ -27,10 +27,9 @@ use crate::errors::{
27
ChangeFields, IgnoredDerivedImpls, MultipleDeadCodes, ParentInfo, UselessAssignment,
28
};
29
30
-// Any local node that may call something in its body block should be
31
-// explored. For example, if it's a live Node::Item that is a
32
-// function, then we should explore its block to check for codes that
33
-// may need to be marked as live.
+/// Any local definition that may call something in its body block should be explored. For example,
+/// if it's a live function, then we should explore its block to check for codes that may need to
+/// be marked as live.
34
fn should_explore(tcx: TyCtxt<'_>, def_id: LocalDefId) -> bool {
35
match tcx.def_kind(def_id) {
36
DefKind::Mod
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments