From f94c075ab458c3839d34e97c77720ab01437f1c6 Mon Sep 17 00:00:00 2001 From: varkor Date: Sun, 24 Jun 2018 18:20:25 +0100 Subject: [PATCH] Add item after attribute --- src/librustc_typeck/diagnostics.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs index cdfbb770718..b0b72256edc 100644 --- a/src/librustc_typeck/diagnostics.rs +++ b/src/librustc_typeck/diagnostics.rs @@ -4550,6 +4550,7 @@ fn start(_: isize, _: *const *const u8) -> isize where (): Copy { ```compile_fail,E0648 #[export_name="\0foo"] // error: `export_name` may not contain null characters +pub fn bar() {} ``` "##, -- 2.44.0