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