diff options
| author | mejrs <59372212+mejrs@users.noreply.github.com> | 2025-06-06 11:11:42 +0200 |
|---|---|---|
| committer | mejrs <59372212+mejrs@users.noreply.github.com> | 2025-06-09 11:44:52 +0200 |
| commit | 81eb182a02770922ce8513545c976004984a42ec (patch) | |
| tree | 906378c38b5f8e62e1e26946abd7e324e5cde8a6 /compiler/rustc_lint/src/lints.rs | |
| parent | 959d6de1a928061256bb845025597be11ddca2ea (diff) | |
| download | rust-81eb182a02770922ce8513545c976004984a42ec.tar.gz rust-81eb182a02770922ce8513545c976004984a42ec.zip | |
Remove rustc_feature::Stability
Diffstat (limited to 'compiler/rustc_lint/src/lints.rs')
| -rw-r--r-- | compiler/rustc_lint/src/lints.rs | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/compiler/rustc_lint/src/lints.rs b/compiler/rustc_lint/src/lints.rs index 82b88ec7215..0a47393eb99 100644 --- a/compiler/rustc_lint/src/lints.rs +++ b/compiler/rustc_lint/src/lints.rs @@ -199,32 +199,6 @@ pub(crate) struct BuiltinAnonymousParams<'a> { pub ty_snip: &'a str, } -// FIXME(davidtwco) translatable deprecated attr -#[derive(LintDiagnostic)] -#[diag(lint_builtin_deprecated_attr_link)] -pub(crate) struct BuiltinDeprecatedAttrLink<'a> { - pub name: Symbol, - pub message: &'a str, - pub link: &'a str, - #[subdiagnostic] - pub suggestion: BuiltinDeprecatedAttrLinkSuggestion<'a>, -} - -#[derive(Subdiagnostic)] -pub(crate) enum BuiltinDeprecatedAttrLinkSuggestion<'a> { - #[suggestion(lint_msg_suggestion, code = "", applicability = "machine-applicable")] - Msg { - #[primary_span] - span: Span, - suggestion: &'a str, - }, - #[suggestion(lint_default_suggestion, code = "", applicability = "machine-applicable")] - Default { - #[primary_span] - span: Span, - }, -} - #[derive(LintDiagnostic)] #[diag(lint_builtin_unused_doc_comment)] pub(crate) struct BuiltinUnusedDocComment<'a> { |
