]>
git.proxmox.com Git - rustc.git/blob - tests/ui/type-alias-impl-trait/issue-65384.rs
1 #![feature(type_alias_impl_trait)]
2 #![allow(incomplete_features)]
8 type Bar
= impl MyTrait
;
10 impl MyTrait
for Bar {}
11 //~^ ERROR: conflicting implementations of trait `MyTrait` for type `()`