about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-11-15 16:03:47 +0000
committerbors <bors@rust-lang.org>2024-11-15 16:03:47 +0000
commitce40196577ecc0b72f6de7e2c8e43fdc728fb69a (patch)
tree9dbe92e627a1dd6b3ed83eb525f611d7ed61f621 /compiler/rustc_ast_lowering/src/errors.rs
parent76fd47124b8f8037b6187169b2cdf39139466952 (diff)
parent9760983353e2600058b5b39d7c97a8bcbe21c583 (diff)
downloadrust-ce40196577ecc0b72f6de7e2c8e43fdc728fb69a.tar.gz
rust-ce40196577ecc0b72f6de7e2c8e43fdc728fb69a.zip
Auto merge of #132992 - RalfJung:check-consts-feature-gate, r=compiler-errors
check_consts: fix error requesting feature gate when that gate is not actually needed

When working on https://github.com/rust-lang/hashbrown/pull/586 I noticed that the compiler asks for the `rustc_private` feature to be enabled if one forgets to set `rustc_const_stable_indirect` on a function -- but enabling `rustc_private` would not actually help. This fixes the diagnostics.

r? `@compiler-errors`
Diffstat (limited to 'compiler/rustc_ast_lowering/src/errors.rs')
0 files changed, 0 insertions, 0 deletions