E0518 Update error format #36111

- Fixes #36111
- Part of #35233
This commit is contained in:
Gavin Baker 2016-08-30 11:44:25 +10:00
parent 8bcd6a33be
commit cd56d47da3
2 changed files with 5 additions and 1 deletions

View file

@ -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 {
}