diff options
| author | Xiretza <xiretza@xiretza.xyz> | 2022-08-19 15:40:48 +0200 |
|---|---|---|
| committer | Xiretza <xiretza@xiretza.xyz> | 2022-08-21 09:17:43 +0200 |
| commit | 7f3a6fd7f6c04635f3d541201199f127f2a2e65e (patch) | |
| tree | 4b9be1a4a7d5610f9ad2b58054724d900de1ee42 /compiler/rustc_interface | |
| parent | bd0d3f745d40c9de9c5dbc24dc7f8fb64ceb5575 (diff) | |
| download | rust-7f3a6fd7f6c04635f3d541201199f127f2a2e65e.tar.gz rust-7f3a6fd7f6c04635f3d541201199f127f2a2e65e.zip | |
Replace #[lint/warning/error] with #[diag]
Diffstat (limited to 'compiler/rustc_interface')
| -rw-r--r-- | compiler/rustc_interface/src/passes.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs index e00d0b7d0d8..014cf88389e 100644 --- a/compiler/rustc_interface/src/passes.rs +++ b/compiler/rustc_interface/src/passes.rs @@ -265,7 +265,7 @@ impl LintStoreExpand for LintStoreExpandImpl<'_> { } #[derive(SessionDiagnostic)] -#[error(interface::ferris_identifier)] +#[diag(interface::ferris_identifier)] struct FerrisIdentifier { #[primary_span] spans: Vec<Span>, @@ -274,7 +274,7 @@ struct FerrisIdentifier { } #[derive(SessionDiagnostic)] -#[error(interface::emoji_identifier)] +#[diag(interface::emoji_identifier)] struct EmojiIdentifier { #[primary_span] spans: Vec<Span>, |
