diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-03-29 02:41:32 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-04-03 11:08:55 +0300 |
| commit | 4d649906900cd833b0680f53b8c197b087711a4a (patch) | |
| tree | a840262c32e0e954ebe3f6dfc4ae1c3eda51eaba /tests/ui/parser/shebang | |
| parent | b6d74b5e15b0d479a98b8b18bb70050511108882 (diff) | |
| download | rust-4d649906900cd833b0680f53b8c197b087711a4a.tar.gz rust-4d649906900cd833b0680f53b8c197b087711a4a.zip | |
compiletest: Require `//~` annotations even if `error-pattern` is specified
Diffstat (limited to 'tests/ui/parser/shebang')
| -rw-r--r-- | tests/ui/parser/shebang/shebang-split.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/ui/parser/shebang/shebang-split.rs b/tests/ui/parser/shebang/shebang-split.rs index 470bb669143..eb8f0f769c8 100644 --- a/tests/ui/parser/shebang/shebang-split.rs +++ b/tests/ui/parser/shebang/shebang-split.rs @@ -1,5 +1,4 @@ // empty line # !/bin/env - +//~^ ERROR expected `[`, found `/` // checks that diagnostics for shebang lookalikes is not present -//@ error-pattern: expected `[`\n\n |
