Tracking the old name of renamed unstable library attribute
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
This commit is contained in:
@@ -1560,6 +1560,15 @@ pub(crate) struct UnknownFeature {
|
||||
pub feature: Symbol,
|
||||
}
|
||||
|
||||
#[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 {
|
||||
|
||||
Reference in New Issue
Block a user