diff options
Diffstat (limited to 'tests/ui/resolve/path-attr-in-const-block.rs')
| -rw-r--r-- | tests/ui/resolve/path-attr-in-const-block.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/resolve/path-attr-in-const-block.rs b/tests/ui/resolve/path-attr-in-const-block.rs index 69be65bda3f..0ca356b1ddf 100644 --- a/tests/ui/resolve/path-attr-in-const-block.rs +++ b/tests/ui/resolve/path-attr-in-const-block.rs @@ -5,6 +5,6 @@ fn main() { const { #![path = foo!()] //~^ ERROR: cannot find macro `foo` in this scope - //~| ERROR malformed `path` attribute input + //~| ERROR: attribute value must be a literal } } |
