summaryrefslogtreecommitdiffstats
path: root/src/test/ui/feature-gates/feature-gate-overlapping_marker_traits.rs
blob: 6922d6f83874798478b107c6ea9217bb1607af9f (plain)
1
2
3
4
5
6
7
8
9
use std::fmt::{Debug, Display};

trait MyMarker {}

impl<T: Display> MyMarker for T {}
impl<T: Debug> MyMarker for T {}
//~^ ERROR E0119

fn main() {}