diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs index cdfbb7707183..b0b72256edcc 100644 --- a/src/librustc_typeck/diagnostics.rs +++ b/src/librustc_typeck/diagnostics.rs @@ -4550,6 +4550,7 @@ E0648: r##" ```compile_fail,E0648 #[export_name="\0foo"] // error: `export_name` may not contain null characters +pub fn bar() {} ``` "##,