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

Commit bbc66f7

Browse files
authored
Merge pull request #559 from camelid/ice-79666
Add ICE 79666
2 parents 856eea2 + 04b6eb3 commit bbc66f7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ices/79666.rs

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#![feature(const_generics)]
2+
#![feature(generic_associated_types)]
3+
4+
trait A {
5+
type B<const N: usize>;
6+
7+
fn foo<const N: usize>(&self) -> Self::B<{N}>;
8+
}
9+
10+
fn main() {}

0 commit comments

Comments
 (0)