2022-02-22 00:04:17 +01:00
|
|
|
// check-fail
|
2023-01-06 02:29:37 +01:00
|
|
|
// 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([^)]*)" -> "..."
|
2022-02-22 00:04:17 +01:00
|
|
|
|
|
|
|
fn main() -> () {}
|
|
|
|
|
|
|
|
async fn foo(x: u32) -> u32 {
|
|
|
|
x
|
|
|
|
}
|