about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2024-09-18 17:44:32 +0200
committerUrgau <urgau@numericable.fr>2024-10-01 10:01:09 +0200
commit57b9b1f9745a56943cc0aebc4c3ec487945f044e (patch)
tree54688059c287db2d7f2a33ed6205fe9b3673ab4d /compiler/rustc_codegen_ssa/src
parentc3ce4e66a5732a5b89c9f495b44357bf6b29d424 (diff)
downloadrust-57b9b1f9745a56943cc0aebc4c3ec487945f044e.tar.gz
rust-57b9b1f9745a56943cc0aebc4c3ec487945f044e.zip
Use `ast::NestedMetaItem` when evaluating cfg predicate
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
-rw-r--r--compiler/rustc_codegen_ssa/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/lib.rs b/compiler/rustc_codegen_ssa/src/lib.rs
index 162d14272a5..3129b9ac203 100644
--- a/compiler/rustc_codegen_ssa/src/lib.rs
+++ b/compiler/rustc_codegen_ssa/src/lib.rs
@@ -156,7 +156,7 @@ pub struct NativeLib {
     pub kind: NativeLibKind,
     pub name: Symbol,
     pub filename: Option<Symbol>,
-    pub cfg: Option<ast::MetaItem>,
+    pub cfg: Option<ast::NestedMetaItem>,
     pub verbatim: bool,
     pub dll_imports: Vec<cstore::DllImport>,
 }