Rollup merge of #105994 - JohnTitor:issue-99647, r=compiler-errors
Add regression test for #99647 Closes #99647 r? `@compiler-errors` Signed-off-by: Yuki Okushi <jtitor@2k36.org>
This commit is contained in:
commit
d5b975cb7c
@ -0,0 +1,15 @@
|
||||
// edition:2018
|
||||
// run-pass
|
||||
|
||||
#![allow(incomplete_features)]
|
||||
#![feature(generic_const_exprs)]
|
||||
|
||||
#[allow(unused)]
|
||||
async fn foo<'a>() {
|
||||
let _data = &mut [0u8; { 1 + 4 }];
|
||||
bar().await
|
||||
}
|
||||
|
||||
async fn bar() {}
|
||||
|
||||
fn main() {}
|
Loading…
x
Reference in New Issue
Block a user