1
Fork 0

Auto merge of #91330 - cjgillot:no-ee-features, r=Aaron1011

Remove eval_always for lib_features.

r? `@Aaron1011`
This commit is contained in:
bors 2021-11-30 07:40:08 +00:00
commit 90912e68ab
5 changed files with 5 additions and 11 deletions

View file

@ -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())
}