about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/lib.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-02-14 15:41:30 +0100
committerGitHub <noreply@github.com>2024-02-14 15:41:30 +0100
commit2062325145147f9fb958be874f51cad8a8e0594d (patch)
tree1cc1ea4473b70ba3822b56848e9d96ecf00cb4be /compiler/rustc_hir_analysis/src/lib.rs
parentc2ae07d20df5854409efdf765a3df662c696cd32 (diff)
parent2e900edde1bd5783b0d184a47240138a58fc8a08 (diff)
downloadrust-2062325145147f9fb958be874f51cad8a8e0594d.tar.gz
rust-2062325145147f9fb958be874f51cad8a8e0594d.zip
Rollup merge of #121084 - oli-obk:create_def_forever_red2, r=WaffleLapkin
Make sure `tcx.create_def` also depends on the forever red node, instead of just `tcx.at(span).create_def`

oversight from https://github.com/rust-lang/rust/pull/119136

Not actually an issue, because all uses of `tcx.create_def` were in the resolver, which is `eval_always`, but still good to harden against future uses of `create_def`

cc `@petrochenkov` `@WaffleLapkin`
Diffstat (limited to 'compiler/rustc_hir_analysis/src/lib.rs')
0 files changed, 0 insertions, 0 deletions