]>
git.proxmox.com Git - rustc.git/blob - tests/ui/specialization/defaultimpl/allowed-cross-crate.rs
3 #![allow(unused_variables)]
4 #![allow(unused_imports)]
6 // aux-build:go_trait.rs
8 #![feature(specialization)] //~ WARN the feature `specialization` is incomplete
10 extern crate go_trait
;
12 use go_trait
::{Go,GoMut}
;
14 use std
::default::Default
;
18 impl Go
for MyThingy
{
19 fn go(&self, arg
: isize) { }
22 impl GoMut
for MyThingy
{
23 fn go_mut(&mut self, arg
: isize) { }