Skip to content

Commit

Permalink
add a test for #104260
Browse files Browse the repository at this point in the history
  • Loading branch information
TaKO8Ki committed Dec 6, 2022
1 parent ed61c13 commit d15ca09
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 d15ca09

Please sign in to comment.