2018-08-25 02:54:41 -05:00
|
|
|
use std::fmt::{Debug, Display};
|
|
|
|
|
|
|
|
#[marker] trait ExplicitMarker {}
|
2019-08-22 18:09:51 -05:00
|
|
|
//~^ ERROR the `#[marker]` attribute is an experimental feature
|
2018-08-25 02:54:41 -05:00
|
|
|
|
|
|
|
impl<T: Display> ExplicitMarker for T {}
|
|
|
|
impl<T: Debug> ExplicitMarker for T {}
|
|
|
|
|
|
|
|
fn main() {}
|