]> git.proxmox.com Git - rustc.git/blobdiff - src/librustc_passes/diagnostics.rs
New upstream version 1.23.0+dfsg1
[rustc.git] / src / librustc_passes / diagnostics.rs
index 1bfa5943ee90a1849851be8459648cfa34b6018e..3597a6f18287e62e2e9d41640e2b918f8587b84e 100644 (file)
@@ -264,4 +264,5 @@ register_diagnostics! {
     E0226, // only a single explicit lifetime bound is permitted
     E0472, // asm! is unsupported on this target
     E0561, // patterns aren't allowed in function pointer types
+    E0642, // patterns aren't allowed in methods without bodies
 }