diff options
| author | codemountains <4kz12zz@gmail.com> | 2024-10-04 21:59:04 +0900 |
|---|---|---|
| committer | codemountains <4kz12zz@gmail.com> | 2024-10-06 23:28:30 +0900 |
| commit | 6dfc4a0473ed0901b9c0d09f5189c41f3882d5fc (patch) | |
| tree | 8f10da84490eea3e6d7635c58758d0e635cf7117 /compiler/rustc_trait_selection/src | |
| parent | 68301a6a968326bac8b85b04d5ef7e79cc042a00 (diff) | |
| download | rust-6dfc4a0473ed0901b9c0d09f5189c41f3882d5fc.tar.gz rust-6dfc4a0473ed0901b9c0d09f5189c41f3882d5fc.zip | |
Rename NestedMetaItem to MetaItemInner
Diffstat (limited to 'compiler/rustc_trait_selection/src')
| -rw-r--r-- | compiler/rustc_trait_selection/src/error_reporting/traits/on_unimplemented.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_trait_selection/src/error_reporting/traits/on_unimplemented.rs b/compiler/rustc_trait_selection/src/error_reporting/traits/on_unimplemented.rs index e9a2c5b8d8e..c3100c48b0a 100644 --- a/compiler/rustc_trait_selection/src/error_reporting/traits/on_unimplemented.rs +++ b/compiler/rustc_trait_selection/src/error_reporting/traits/on_unimplemented.rs @@ -1,7 +1,7 @@ use std::iter; use std::path::PathBuf; -use rustc_ast::{AttrArgs, AttrArgsEq, AttrKind, Attribute, NestedMetaItem}; +use rustc_ast::{AttrArgs, AttrArgsEq, AttrKind, Attribute, MetaItemInner}; use rustc_data_structures::fx::FxHashMap; use rustc_errors::codes::*; use rustc_errors::{ErrorGuaranteed, struct_span_code_err}; @@ -282,7 +282,7 @@ pub struct OnUnimplementedFormatString { #[derive(Debug)] pub struct OnUnimplementedDirective { - pub condition: Option<NestedMetaItem>, + pub condition: Option<MetaItemInner>, pub subcommands: Vec<OnUnimplementedDirective>, pub message: Option<OnUnimplementedFormatString>, pub label: Option<OnUnimplementedFormatString>, @@ -389,7 +389,7 @@ impl<'tcx> OnUnimplementedDirective { fn parse( tcx: TyCtxt<'tcx>, item_def_id: DefId, - items: &[NestedMetaItem], + items: &[MetaItemInner], span: Span, is_root: bool, is_diagnostic_namespace_variant: bool, |
