]> git.lizzy.rs Git - rust.git/blob - tests/ui/associated-inherent-types/issue-104260.rs
Rollup merge of #106470 - ehuss:tidy-no-wasm, r=Mark-Simulacrum
[rust.git] / tests / ui / associated-inherent-types / issue-104260.rs
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 }