diff options
| author | Michael Goulet <michael@errs.io> | 2022-08-16 23:13:23 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2022-08-21 02:34:52 +0000 |
| commit | d05fea6ac47c07606190803bc6ec4e2d7c206351 (patch) | |
| tree | 4db3eeae92e9df4db494efa61fb78f37c94b4c75 /src/test/ui/chalkify | |
| parent | c005e760f518254af6c47b36ddb16b8fe8aecb6a (diff) | |
| download | rust-d05fea6ac47c07606190803bc6ec4e2d7c206351.tar.gz rust-d05fea6ac47c07606190803bc6ec4e2d7c206351.zip | |
Account for relative paths
Diffstat (limited to 'src/test/ui/chalkify')
| -rw-r--r-- | src/test/ui/chalkify/bugs/async.stderr | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/test/ui/chalkify/bugs/async.stderr b/src/test/ui/chalkify/bugs/async.stderr index f53ed53f73c..91b4f7879e4 100644 --- a/src/test/ui/chalkify/bugs/async.stderr +++ b/src/test/ui/chalkify/bugs/async.stderr @@ -2,10 +2,13 @@ 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]` + | | ^ + | | | + | |_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 | note: required by a bound in `std::future::from_generator` --> $SRC_DIR/core/src/future/mod.rs:LL:COL @@ -20,7 +23,9 @@ 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 |
