]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_lint_defs/src/lib.rs
Add migration lint for reserved prefixes.
[rust.git] / compiler / rustc_lint_defs / src / lib.rs
index b3d98747dcfa2cd60362ed3bae7ae6e0bd608ab3..3372bc716d28ce150b9c7fb1a948c51c27231cb7 100644 (file)
@@ -300,6 +300,7 @@ pub enum BuiltinLintDiagnostics {
     ExternDepSpec(String, ExternDepSpec),
     ProcMacroBackCompat(String),
     OrPatternsBackCompat(Span, String),
+    ReservedPrefix(Span),
 }
 
 /// Lints that are buffered up early on in the `Session` before the