]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-overlapping_marker_traits.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[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() {}