mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
10 lines
226 B
Rust
10 lines
226 B
Rust
use std::fmt::{Debug, Display};
|
|
|
|
#[marker] trait ExplicitMarker {}
|
|
//~^ ERROR the `#[marker]` attribute is an experimental feature
|
|
|
|
impl<T: Display> ExplicitMarker for T {}
|
|
impl<T: Debug> ExplicitMarker for T {}
|
|
|
|
fn main() {}
|