add test case
This commit is contained in:
parent
1aa6c7cbc6
commit
1297cb7f37
10
src/test/ui/async-await/issue-84841.rs
Normal file
10
src/test/ui/async-await/issue-84841.rs
Normal file
@ -0,0 +1,10 @@
|
||||
// edition:2018
|
||||
|
||||
async fn main() {
|
||||
// Adding an .await here avoids the ICE
|
||||
test()?;
|
||||
}
|
||||
|
||||
// Removing the const generic parameter here avoids the ICE
|
||||
async fn test<const N: usize>() {
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user