blob: 7ae425e2aaafb79cf6957206a7907df2bd8d8255 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// check-pass
#![feature(inherent_associated_types)]
#![allow(incomplete_features)]
struct Foo;
impl Foo {
type Bar = isize;
}
fn main() {
let x: Foo::Bar;
x = 0isize;
}
|