Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Add ICE from Issue 84841 #750

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions ices/84841.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
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>() {
}