about summary refs log tree commit diff
path: root/src/test/compile-fail
diff options
context:
space:
mode:
authorJonathan Turner <jonathandturner@users.noreply.github.com>2016-09-02 15:28:52 -0700
committerGitHub <noreply@github.com>2016-09-02 15:28:52 -0700
commitc70149004ac57c17d0cf73b6738464fea96abbab (patch)
treef558d88c104cc02ae35c3c6619b82d04426e1192 /src/test/compile-fail
parent5284bee03a94cf5c9c8a84f42c17f563ae76bca4 (diff)
parent18434f94572ee047aff8898a0d25ee8939585827 (diff)
downloadrust-c70149004ac57c17d0cf73b6738464fea96abbab.tar.gz
rust-c70149004ac57c17d0cf73b6738464fea96abbab.zip
Rollup merge of #36223 - abhiQmar:e0558-formatting, r=jonathandturner
Update compiler error E0558 to use new error format

Fixes #36196 part of #35233

r? @jonathandturner
Diffstat (limited to 'src/test/compile-fail')
-rw-r--r--src/test/compile-fail/E0558.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/compile-fail/E0558.rs b/src/test/compile-fail/E0558.rs
index 4ab0506a9c0..0c2ca698491 100644
--- a/src/test/compile-fail/E0558.rs
+++ b/src/test/compile-fail/E0558.rs
@@ -8,7 +8,10 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#[export_name] //~ ERROR E0558
+#[export_name]
+//~^ ERROR E0558
+//~| NOTE did you mean #[export_name="*"]?
+
 pub fn something() {}
 
 fn main() {}