]> git.lizzy.rs Git - rust.git/blob - tests/ui/chalkify/bugs/async.rs
Rollup merge of #106701 - ibraheemdev:sync-sender-spin, r=Amanieu
[rust.git] / tests / ui / chalkify / bugs / async.rs
1 // check-fail
2 // known-bug
3 // unset-rustc-env:RUST_BACKTRACE
4 // compile-flags:-Z trait-solver=chalk --edition=2021
5 // error-pattern:stack backtrace:
6 // failure-status:101
7 // normalize-stderr-test "note: .*" -> ""
8 // normalize-stderr-test "thread 'rustc' .*" -> ""
9 // normalize-stderr-test "  .*\n" -> ""
10 // normalize-stderr-test "DefId([^)]*)" -> "..."
11
12 fn main() -> () {}
13
14 async fn foo(x: u32) -> u32 {
15     x
16 }