diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-03-01 16:03:27 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-03-28 17:09:29 +0000 |
| commit | 88296432d346fea918ced16c413378e4d63652e8 (patch) | |
| tree | e1528df4e094c1ffc74a911e375fc49eeb068d60 | |
| parent | 360edd611d3de389c09685097cd9944d61bc8f07 (diff) | |
| download | rust-88296432d346fea918ced16c413378e4d63652e8.tar.gz rust-88296432d346fea918ced16c413378e4d63652e8.zip | |
Bless ui tests
| -rw-r--r-- | src/test/ui/chalkify/bugs/async.stderr | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/test/ui/chalkify/bugs/async.stderr b/src/test/ui/chalkify/bugs/async.stderr index b5519fc9cd6..55c09288856 100644 --- a/src/test/ui/chalkify/bugs/async.stderr +++ b/src/test/ui/chalkify/bugs/async.stderr @@ -28,6 +28,15 @@ note: required by a bound in `from_generator` LL | T: Generator<ResumeTy, Yield = ()>, | ^^^^^^^^^^ required by this bound in `from_generator` -error: aborting due to 2 previous errors +error[E0280]: the requirement `<impl Future<Output = [async output]> as Future>::Output == u32` is not satisfied + --> $DIR/async.rs:7:29 + | +LL | async fn foo(x: u32) -> u32 { + | _____________________________^ +LL | | x +LL | | } + | |_^ + +error: aborting due to 3 previous errors For more information about this error, try `rustc --explain E0277`. |
