add crate-local -Z reference_niches
unstable flag (does nothing for now)
This commit is contained in:
parent
30ae640a3c
commit
8b847ef734
10 changed files with 61 additions and 3 deletions
|
@ -296,6 +296,7 @@ trivial! {
|
|||
rustc_span::Symbol,
|
||||
rustc_span::symbol::Ident,
|
||||
rustc_target::spec::PanicStrategy,
|
||||
rustc_target::abi::ReferenceNichePolicy,
|
||||
rustc_type_ir::Variance,
|
||||
u32,
|
||||
usize,
|
||||
|
|
|
@ -1480,6 +1480,11 @@ rustc_queries! {
|
|||
desc { "getting a crate's configured panic-in-drop strategy" }
|
||||
separate_provide_extern
|
||||
}
|
||||
query reference_niches_policy(_: CrateNum) -> abi::ReferenceNichePolicy {
|
||||
fatal_cycle
|
||||
desc { "getting a crate's policy for size and alignment niches of references" }
|
||||
separate_provide_extern
|
||||
}
|
||||
query is_no_builtins(_: CrateNum) -> bool {
|
||||
fatal_cycle
|
||||
desc { "getting whether a crate has `#![no_builtins]`" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue