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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/resolve/path-attr-in-const-block.rs b/tests/ui/resolve/path-attr-in-const-block.rs index 076511d26d6..69be65bda3f 100644 --- a/tests/ui/resolve/path-attr-in-const-block.rs +++ b/tests/ui/resolve/path-attr-in-const-block.rs @@ -5,5 +5,6 @@ fn main() { const { #![path = foo!()] //~^ ERROR: cannot find macro `foo` in this scope + //~| ERROR malformed `path` attribute input } } |
