about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2022-08-16 23:28:20 +0000
committerMichael Goulet <michael@errs.io>2022-08-21 02:34:52 +0000
commitc9cb19d26e3e868bc32a95b8cb1a003fa8d365a8 (patch)
tree10077fc77603d0cc45e1ee62dbbab9ccc6d4c183 /src/test
parentd05fea6ac47c07606190803bc6ec4e2d7c206351 (diff)
downloadrust-c9cb19d26e3e868bc32a95b8cb1a003fa8d365a8.tar.gz
rust-c9cb19d26e3e868bc32a95b8cb1a003fa8d365a8.zip
Skip mentioning lang item
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/chalkify/bugs/async.stderr11
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