diff options
| author | bors <bors@rust-lang.org> | 2022-11-28 20:53:42 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-11-28 20:53:42 +0000 |
| commit | 2585bcea0bc2a9c42a4be2c1eba5c61137f2b167 (patch) | |
| tree | 0f33b88b1a3842bed80689bb9fd4b74506071d52 /compiler/rustc_interface/src | |
| parent | 8a09420ac48658cad726e0a6997687ceac4151e3 (diff) | |
| parent | 3dfb6ca8e26f6bb9232a4c6a7afef90f4abf54dd (diff) | |
| download | rust-2585bcea0bc2a9c42a4be2c1eba5c61137f2b167.tar.gz rust-2585bcea0bc2a9c42a4be2c1eba5c61137f2b167.zip | |
Auto merge of #105017 - matthiaskrgr:rollup-j0x550l, r=matthiaskrgr
Rollup of 9 pull requests Successful merges: - #104804 (Rename `ast::Lit` as `ast::MetaItemLit`.) - #104891 (Add documentation for `has_escaping_bound_vars`) - #104933 (interpret: remove PartialOrd from a bunch of types that do not have or need a sensible order) - #104936 (Ignore bivariant parameters in test_type_match.) - #104954 (make simple check of prinf function) - #104956 (Avoid ICE if the Clone trait is not found while building error suggestions) - #104982 (interpret: get rid of run() function) - #104998 (Update my mailmap) - #105006 (stricter alignment enforcement for ScalarPair) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/interface.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/interface.rs b/compiler/rustc_interface/src/interface.rs index 99c934862c4..4c22ab68a56 100644 --- a/compiler/rustc_interface/src/interface.rs +++ b/compiler/rustc_interface/src/interface.rs @@ -194,7 +194,7 @@ pub fn parse_check_cfg(specs: Vec<String>) -> CheckCfg { for val in values { if let Some(LitKind::Str(s, _)) = - val.literal().map(|lit| &lit.kind) + val.lit().map(|lit| &lit.kind) { ident_values.insert(s.to_string()); } else { |
