Skip to content

Commit d15ca09

Browse files
committed
add a test for #104260
1 parent ed61c13 commit d15ca09

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// check-pass
2+
3+
#![feature(inherent_associated_types)]
4+
#![allow(incomplete_features)]
5+
6+
struct Foo;
7+
8+
impl Foo {
9+
type Bar<T> = u8;
10+
}
11+
12+
fn main() {
13+
let a: Foo::Bar<()>;
14+
}

0 commit comments

Comments
 (0)