diff options
| author | xizheyin <xizheyin@smail.nju.edu.cn> | 2025-06-07 18:57:33 +0800 |
|---|---|---|
| committer | xizheyin <xizheyin@smail.nju.edu.cn> | 2025-06-12 19:24:11 +0800 |
| commit | b8066f94fd53df4143ab9866a49c21c9a883fc01 (patch) | |
| tree | f71054756786b8de01477ac19e830d3052b59998 /compiler/rustc_passes/src/errors.rs | |
| parent | 8eeaed06ea3a01afdeda9a31b777269459c5fdef (diff) | |
| download | rust-b8066f94fd53df4143ab9866a49c21c9a883fc01.tar.gz rust-b8066f94fd53df4143ab9866a49c21c9a883fc01.zip | |
Tracking the old name of renamed unstable library attribute
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
Diffstat (limited to 'compiler/rustc_passes/src/errors.rs')
| -rw-r--r-- | compiler/rustc_passes/src/errors.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/compiler/rustc_passes/src/errors.rs b/compiler/rustc_passes/src/errors.rs index b995781719b..c48a7d84ffc 100644 --- a/compiler/rustc_passes/src/errors.rs +++ b/compiler/rustc_passes/src/errors.rs @@ -1561,6 +1561,15 @@ pub(crate) struct UnknownFeature { } #[derive(Diagnostic)] +#[diag(passes_unknown_feature_alias, code = E0635)] +pub(crate) struct RenamedFeature { + #[primary_span] + pub span: Span, + pub feature: Symbol, + pub alias: Symbol, +} + +#[derive(Diagnostic)] #[diag(passes_implied_feature_not_exist)] pub(crate) struct ImpliedFeatureNotExist { #[primary_span] |
