about summary refs log tree commit diff
path: root/src/test/ui/chalkify/bugs/async.rs
blob: 86ce42631b4324110414f06909e70cf62145d9a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// check-fail
// known-bug
// unset-rustc-env:RUST_BACKTRACE
// compile-flags:-Z trait-solver=chalk --edition=2021
// error-pattern:stack backtrace:
// failure-status:101
// normalize-stderr-test "note: .*" -> ""
// normalize-stderr-test "thread 'rustc' .*" -> ""
// normalize-stderr-test "  .*\n" -> ""
// normalize-stderr-test "DefId([^)]*)" -> "..."

fn main() -> () {}

async fn foo(x: u32) -> u32 {
    x
}