diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs index d06030637af..e9e52a0121a 100644 --- a/src/librustc_typeck/diagnostics.rs +++ b/src/librustc_typeck/diagnostics.rs @@ -2040,6 +2040,7 @@ impl Foo for Bar { // the trait fn foo(&self) {} } +``` "##, E0186: r##"