rust/tests/ui/dyn-star/gated-span.rs

9 lines
116 B
Rust
Raw Normal View History

macro_rules! t {
($t:ty) => {}
}
t!(dyn* Send);
//~^ ERROR `dyn*` trait objects are experimental
fn main() {}