blob: fc7c6dbc02eef2fe1c167a607b8068b38db4ca23 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Test that inherent associated types cannot be used when inherent_associated_types
// feature gate is not used.
struct Foo;
impl Foo {
type Bar = isize; //~ERROR inherent associated types are unstable
}
fn main() {}
|