diff options
| author | bors <bors@rust-lang.org> | 2021-11-30 07:40:08 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-11-30 07:40:08 +0000 |
| commit | 90912e68ab0b9e7ba4f91ef9654e8b41c203a95d (patch) | |
| tree | 23470a3e178b70da3a4cdc87b6da5bf6e6338429 /compiler/rustc_metadata | |
| parent | 4c948963306dc195d5b20a0b4300d90a2b423b8b (diff) | |
| parent | 877b2d79d98428cdc9b971a627a7adf10533aed8 (diff) | |
| download | rust-90912e68ab0b9e7ba4f91ef9654e8b41c203a95d.tar.gz rust-90912e68ab0b9e7ba4f91ef9654e8b41c203a95d.zip | |
Auto merge of #91330 - cjgillot:no-ee-features, r=Aaron1011
Remove eval_always for lib_features. r? `@Aaron1011`
Diffstat (limited to 'compiler/rustc_metadata')
| -rw-r--r-- | compiler/rustc_metadata/src/rmeta/encoder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_metadata/src/rmeta/encoder.rs b/compiler/rustc_metadata/src/rmeta/encoder.rs index 576113870f8..514a49d7e2c 100644 --- a/compiler/rustc_metadata/src/rmeta/encoder.rs +++ b/compiler/rustc_metadata/src/rmeta/encoder.rs @@ -1749,7 +1749,7 @@ impl EncodeContext<'a, 'tcx> { fn encode_lib_features(&mut self) -> Lazy<[(Symbol, Option<Symbol>)]> { empty_proc_macro!(self); let tcx = self.tcx; - let lib_features = tcx.lib_features(); + let lib_features = tcx.lib_features(()); self.lazy(lib_features.to_vec()) } |
