diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2025-04-16 20:03:18 +1000 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2025-04-16 20:24:55 +1000 |
| commit | 4d6ae78fa22d04b2c255cb43faabc1ada36cd2c1 (patch) | |
| tree | 832f93c3fd60cf866c694d44e285f0526159db56 /compiler/rustc_parse/src/errors.rs | |
| parent | efb1e3d676e1549811da79ebd124b6fc4d856248 (diff) | |
| download | rust-4d6ae78fa22d04b2c255cb43faabc1ada36cd2c1.tar.gz rust-4d6ae78fa22d04b2c255cb43faabc1ada36cd2c1.zip | |
Remove old diagnostic notes for type ascription syntax
Type ascription syntax was removed in 2023.
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
| -rw-r--r-- | compiler/rustc_parse/src/errors.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_parse/src/errors.rs b/compiler/rustc_parse/src/errors.rs index dfdef018bc3..bca2f1daaf6 100644 --- a/compiler/rustc_parse/src/errors.rs +++ b/compiler/rustc_parse/src/errors.rs @@ -1598,9 +1598,6 @@ pub(crate) struct PathSingleColon { #[suggestion(applicability = "machine-applicable", code = ":", style = "verbose")] pub suggestion: Span, - - #[note(parse_type_ascription_removed)] - pub type_ascription: bool, } #[derive(Diagnostic)] @@ -1617,9 +1614,6 @@ pub(crate) struct ColonAsSemi { #[primary_span] #[suggestion(applicability = "machine-applicable", code = ";", style = "verbose")] pub span: Span, - - #[note(parse_type_ascription_removed)] - pub type_ascription: bool, } #[derive(Diagnostic)] |
