]> git.lizzy.rs Git - rust.git/blob - tests/ui/chalkify/bugs/async.rs
Make stage2 rustdoc and proc-macro-srv disableable in x.py install
[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:internal compiler error
6 // failure-status:101
7 // normalize-stderr-test "DefId([^)]*)" -> "..."
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" -> ""
18 // normalize-stderr-test "\n\n[ ]*\n" -> ""
19 // normalize-stderr-test "compiler/.*: projection" -> "projection"
20
21 fn main() -> () {}
22
23 async fn foo(x: u32) -> u32 {
24     x
25 }