about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorGavin Baker <gavinb@antonym.org>2016-08-30 11:44:25 +1000
committerGavin Baker <gavinb@antonym.org>2016-09-06 00:21:04 +1000
commitcd56d47da3a2c2ed2eb2a1e4e54ca471c2c9172a (patch)
tree5ebd71a664d986df2afe6ac6377451df58ace5e0 /src/test
parent8bcd6a33bebb8177781ae07ea1fc0d4a9a679627 (diff)
downloadrust-cd56d47da3a2c2ed2eb2a1e4e54ca471c2c9172a.tar.gz
rust-cd56d47da3a2c2ed2eb2a1e4e54ca471c2c9172a.zip
E0518 Update error format #36111
- Fixes #36111
- Part of #35233
Diffstat (limited to 'src/test')
-rw-r--r--src/test/compile-fail/E0518.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/compile-fail/E0518.rs b/src/test/compile-fail/E0518.rs
index 8518bb4a6be..f9494e0bcb5 100644
--- a/src/test/compile-fail/E0518.rs
+++ b/src/test/compile-fail/E0518.rs
@@ -9,9 +9,11 @@
 // except according to those terms.
 
 #[inline(always)] //~ ERROR E0518
+                  //~| requires a function
 struct Foo;
 
 #[inline(never)] //~ ERROR E0518
+                 //~| requires a function
 impl Foo {
 }