]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/diagnostics.rs
Implement underscore lifetimes
[rust.git] / src / librustc / diagnostics.rs
index 4d21e5e0f4708ddff31e0b9567a38481b025435a..6e0f49bba90ff04973bec8f9f6fde78d51eb94f1 100644 (file)
@@ -2086,4 +2086,5 @@ fn foo<'a>(x: &'a i32, y: &i32) -> &'a i32 {
     E0566, // conflicting representation hints
     E0623, // lifetime mismatch where both parameters are anonymous regions
     E0628, // generators cannot have explicit arguments
+    E0637, // "'_" is not a valid lifetime bound
 }