]> git.proxmox.com Git - rustc.git/blame - tests/ui/chalkify/bugs/async.rs
Merge 1.70 into proxmox/bookworm
[rustc.git] / tests / ui / chalkify / bugs / async.rs
CommitLineData
9c376795
FG
1// edition:2021
2// known-bug: unknown
3// unset-rustc-env:RUST_BACKTRACE
4// compile-flags:-Z trait-solver=chalk
5// error-pattern:internal compiler error
6// failure-status:101
353b0b11 7// normalize-stderr-test "DefId\([^)]*\)" -> "..."
3dfed10e
XL
8// normalize-stderr-test "\nerror: internal compiler error.*\n\n" -> ""
9// normalize-stderr-test "note:.*unexpectedly panicked.*\n\n" -> ""
10// normalize-stderr-test "note: we would appreciate a bug report.*\n\n" -> ""
11// normalize-stderr-test "note: compiler flags.*\n\n" -> ""
12// normalize-stderr-test "note: rustc.*running on.*\n\n" -> ""
13// normalize-stderr-test "thread.*panicked.*\n" -> ""
14// normalize-stderr-test "stack backtrace:\n" -> ""
15// normalize-stderr-test "\s\d{1,}: .*\n" -> ""
16// normalize-stderr-test "\s at .*\n" -> ""
17// normalize-stderr-test ".*note: Some details.*\n" -> ""
9c376795
FG
18// normalize-stderr-test "\n\n[ ]*\n" -> ""
19// normalize-stderr-test "compiler/.*: projection" -> "projection"
3dfed10e 20
9c376795 21fn main() -> () {}
3dfed10e 22
9c376795
FG
23async fn foo(x: u32) -> u32 {
24 x
3dfed10e 25}