diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-05-03 14:10:58 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-05-03 22:49:23 +0300 |
| commit | 879b12e2ce3dc14ca2bc40ac1311e8f2bac19048 (patch) | |
| tree | 8a5e9a79a163c834c85658b8b78f329f1b96f145 /tests/ui/parser/issues | |
| parent | 097cd98869cf07a2860bef16c0d4a2b3b019b23a (diff) | |
| download | rust-879b12e2ce3dc14ca2bc40ac1311e8f2bac19048.tar.gz rust-879b12e2ce3dc14ca2bc40ac1311e8f2bac19048.zip | |
compiletest: Do not require annotations on empty labels and suggestions
Diffstat (limited to 'tests/ui/parser/issues')
| -rw-r--r-- | tests/ui/parser/issues/issue-87217-keyword-order/const-async-const.rs | 1 | ||||
| -rw-r--r-- | tests/ui/parser/issues/issue-87217-keyword-order/several-kw-jump.rs | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/tests/ui/parser/issues/issue-87217-keyword-order/const-async-const.rs b/tests/ui/parser/issues/issue-87217-keyword-order/const-async-const.rs index c137e136335..e6235b1e892 100644 --- a/tests/ui/parser/issues/issue-87217-keyword-order/const-async-const.rs +++ b/tests/ui/parser/issues/issue-87217-keyword-order/const-async-const.rs @@ -10,6 +10,5 @@ const async const fn test() {} //~| ERROR functions cannot be both `const` and `async` //~| NOTE `const` because of this //~| NOTE `async` because of this -//~| NOTE fn main() {} diff --git a/tests/ui/parser/issues/issue-87217-keyword-order/several-kw-jump.rs b/tests/ui/parser/issues/issue-87217-keyword-order/several-kw-jump.rs index 49a49d337c4..40f993eafbb 100644 --- a/tests/ui/parser/issues/issue-87217-keyword-order/several-kw-jump.rs +++ b/tests/ui/parser/issues/issue-87217-keyword-order/several-kw-jump.rs @@ -15,6 +15,5 @@ async unsafe const fn test() {} //~| ERROR functions cannot be both `const` and `async` //~| NOTE `const` because of this //~| NOTE `async` because of this -//~| NOTE fn main() {} |
