]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_errors/src/lib.rs
Add a detailed note for missing comma in FRU syntax typo
[rust.git] / compiler / rustc_errors / src / lib.rs
index 170d4341ae71b4a3356a12a7c6d03b60d9021f4f..ab518137342d7f52849c16742138a8b6e66efedf 100644 (file)
@@ -466,6 +466,9 @@ pub enum StashKey {
     /// When an invalid lifetime e.g. `'2` should be reinterpreted
     /// as a char literal in the parser
     LifetimeIsChar,
+    /// Maybe there was a typo where a comma was forgotten before
+    /// FRU syntax
+    MaybeFruTypo,
 }
 
 fn default_track_diagnostic(_: &Diagnostic) {}