Skip to content

Commit

Permalink
Rollup merge of #105358 - TaKO8Ki:fix-104260, r=estebank
Browse files Browse the repository at this point in the history
Add a test for #104260

Fixes #104260
  • Loading branch information
matthiaskrgr authored Dec 6, 2022
2 parents e434f61 + d15ca09 commit 001bd51
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/test/ui/associated-inherent-types/issue-104260.rs
Original file line number Diff line number Diff line change
@@ -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<()>;
}

0 comments on commit 001bd51

Please sign in to comment.