]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/self/self-impl.rs
1 // Test that unsupported uses of `Self` in impls don't crash
17 impl SuperFoo
for Bar
{
23 let _
: <Self>::Baz
= true;
24 //~^ ERROR ambiguous associated type
25 let _
: Self::Baz
= true;
26 //~^ ERROR ambiguous associated type