diff options
| author | Takayuki Maeda <takoyaki0316@gmail.com> | 2022-12-06 17:49:24 +0900 |
|---|---|---|
| committer | Takayuki Maeda <takoyaki0316@gmail.com> | 2022-12-06 17:49:24 +0900 |
| commit | d15ca0974ed716ae6c701add8757183d7550d766 (patch) | |
| tree | 82b138e6690417a033b3cc5f373f2eb3f5d588f6 | |
| parent | ed61c139c2bc778ebb91f5dd6a5393aa20467f78 (diff) | |
add a test for #104260
| -rw-r--r-- | src/test/ui/associated-inherent-types/issue-104260.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/associated-inherent-types/issue-104260.rs b/src/test/ui/associated-inherent-types/issue-104260.rs new file mode 100644 index 00000000000..a73cd1775b4 --- /dev/null +++ b/src/test/ui/associated-inherent-types/issue-104260.rs @@ -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<()>; +} |
