]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_passes/diagnostics.rs
Auto merge of #35856 - phimuemue:master, r=brson
[rust.git] / src / librustc_passes / diagnostics.rs
index 7049040678e39f706499e9a7cc920dfe89f797aa..89b8aa81411b381ed7b1de79470440acb81e2be0 100644 (file)
@@ -176,6 +176,13 @@ fn some_func() {
 ```
 "##,
 
+E0379: r##"
+Trait methods cannot be declared `const` by design. For more information, see
+[RFC 911].
+
+[RFC 911]: https://github.com/rust-lang/rfcs/pull/911
+"##,
+
 E0449: r##"
 A visibility qualifier was used when it was unnecessary. Erroneous code
 examples: