diff options
| author | Michael Goulet <michael@errs.io> | 2022-08-16 23:28:20 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2022-08-21 02:34:52 +0000 |
| commit | c9cb19d26e3e868bc32a95b8cb1a003fa8d365a8 (patch) | |
| tree | 10077fc77603d0cc45e1ee62dbbab9ccc6d4c183 /src/test | |
| parent | d05fea6ac47c07606190803bc6ec4e2d7c206351 (diff) | |
| download | rust-c9cb19d26e3e868bc32a95b8cb1a003fa8d365a8.tar.gz rust-c9cb19d26e3e868bc32a95b8cb1a003fa8d365a8.zip | |
Skip mentioning lang item
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui/chalkify/bugs/async.stderr | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/test/ui/chalkify/bugs/async.stderr b/src/test/ui/chalkify/bugs/async.stderr index 91b4f7879e4..f53ed53f73c 100644 --- a/src/test/ui/chalkify/bugs/async.stderr +++ b/src/test/ui/chalkify/bugs/async.stderr @@ -2,13 +2,10 @@ error[E0277]: the trait bound `[static generator@$DIR/async.rs:7:29: 9:2]: Gener --> $DIR/async.rs:7:29 | LL | async fn foo(x: u32) -> u32 { - | _____________________________- + | _____________________________^ LL | | x LL | | } - | | ^ - | | | - | |_the trait `Generator<ResumeTy>` is not implemented for `[static generator@$DIR/async.rs:7:29: 9:2]` - | required by a bound introduced by this call + | |_^ the trait `Generator<ResumeTy>` is not implemented for `[static generator@$DIR/async.rs:7:29: 9:2]` | note: required by a bound in `std::future::from_generator` --> $SRC_DIR/core/src/future/mod.rs:LL:COL @@ -23,9 +20,7 @@ LL | async fn foo(x: u32) -> u32 { | _____________________________^ LL | | x LL | | } - | | ^ required by a bound introduced by this call - | |_| - | + | |_^ | note: required by a bound in `std::future::from_generator` --> $SRC_DIR/core/src/future/mod.rs:LL:COL |
