diff options
| author | Michael Goulet <michael@errs.io> | 2024-06-05 16:18:52 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-06-17 22:35:25 -0400 |
| commit | b1efe1ab5d10c5dc0462445273ca4e42dea3c5e3 (patch) | |
| tree | 88d5d68eaba69cf8e65e87f38b6dcd04bd9c3f46 /tests/ui/impl-trait/precise-capturing/unexpected-token.rs | |
| parent | 68bd001c00e37a6c6854482138d27a76428efdff (diff) | |
| download | rust-b1efe1ab5d10c5dc0462445273ca4e42dea3c5e3.tar.gz rust-b1efe1ab5d10c5dc0462445273ca4e42dea3c5e3.zip | |
Rework precise capturing syntax
Diffstat (limited to 'tests/ui/impl-trait/precise-capturing/unexpected-token.rs')
| -rw-r--r-- | tests/ui/impl-trait/precise-capturing/unexpected-token.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/impl-trait/precise-capturing/unexpected-token.rs b/tests/ui/impl-trait/precise-capturing/unexpected-token.rs index 2a7ccbe1e60..a1089fd7bfc 100644 --- a/tests/ui/impl-trait/precise-capturing/unexpected-token.rs +++ b/tests/ui/impl-trait/precise-capturing/unexpected-token.rs @@ -2,7 +2,7 @@ // token due to a strange interaction between the sequence parsing code and the // param/lifetime parsing code. -fn hello() -> impl use<'a {}> Sized {} +fn hello() -> impl Sized + use<'a {}> {} //~^ ERROR expected one of `,` or `>`, found `{` fn main() {} |
