mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 14:02:06 +03:00
Rollup merge of #105358 - TaKO8Ki:fix-104260, r=estebank
Add a test for #104260 Fixes #104260
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// check-pass
|
||||
|
||||
#![feature(inherent_associated_types)]
|
||||
#![allow(incomplete_features)]
|
||||
|
||||
struct Foo;
|
||||
|
||||
impl Foo {
|
||||
type Bar<T> = u8;
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let a: Foo::Bar<()>;
|
||||
}
|
||||
Reference in New Issue
Block a user