diff options
| author | Ralf Jung <post@ralfj.de> | 2024-10-09 09:01:57 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-10-23 09:14:41 +0100 |
| commit | ad3991d30382676f987a38243b3097d880b9033a (patch) | |
| tree | 5bde7c4e2e5d386c2c09b2ee0e719dc36ef14b69 /compiler/rustc_const_eval/src/check_consts/mod.rs | |
| parent | e1f306899514ea80abc1d1c9f6a57762afb304a3 (diff) | |
| download | rust-ad3991d30382676f987a38243b3097d880b9033a.tar.gz rust-ad3991d30382676f987a38243b3097d880b9033a.zip | |
nightly feature tracking: get rid of the per-feature bool fields
Diffstat (limited to 'compiler/rustc_const_eval/src/check_consts/mod.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/check_consts/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/check_consts/mod.rs b/compiler/rustc_const_eval/src/check_consts/mod.rs index 15ac4cedcc3..3720418d4f0 100644 --- a/compiler/rustc_const_eval/src/check_consts/mod.rs +++ b/compiler/rustc_const_eval/src/check_consts/mod.rs @@ -61,7 +61,7 @@ impl<'mir, 'tcx> ConstCx<'mir, 'tcx> { pub fn is_const_stable_const_fn(&self) -> bool { self.const_kind == Some(hir::ConstContext::ConstFn) - && self.tcx.features().staged_api + && self.tcx.features().staged_api() && is_const_stable_const_fn(self.tcx, self.def_id().to_def_id()) } |
