]>
git.proxmox.com Git - rustc.git/blob - tests/ui/issues/issue-55380.rs
2 #![feature(specialization)]
3 //~^ WARN the feature `specialization` is incomplete
15 default fn abc() -> u32 { 16 }
16 default fn def() -> u32 { 42 }
19 impl<T
: Marker
> Foo
for T
{
26 assert_eq
!(<()>::def(), 16);
27 assert_eq
!(<i32>::def(), 42);