]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-overlapping_marker_traits.rs
Rollup merge of #94263 - anko:patch-1, r=GuillaumeGomez
[rust.git] / src / test / ui / feature-gates / feature-gate-overlapping_marker_traits.rs
1 use std::fmt::{Debug, Display};
2
3 trait MyMarker {}
4
5 impl<T: Display> MyMarker for T {}
6 impl<T: Debug> MyMarker for T {}
7 //~^ ERROR E0119
8
9 fn main() {}