diff options
Diffstat (limited to 'src/test/ui/specialization/min_specialization/auxiliary')
-rw-r--r-- | src/test/ui/specialization/min_specialization/auxiliary/specialization-trait.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/specialization/min_specialization/auxiliary/specialization-trait.rs b/src/test/ui/specialization/min_specialization/auxiliary/specialization-trait.rs new file mode 100644 index 000000000..6ec0d261d --- /dev/null +++ b/src/test/ui/specialization/min_specialization/auxiliary/specialization-trait.rs @@ -0,0 +1,6 @@ +#![feature(rustc_attrs)] + +#[rustc_specialization_trait] +pub trait SpecTrait { + fn method(&self); +} |