rust/tests/ui/dyn-star/feature-gate-dyn_star.rs
2023-03-11 21:29:28 +00:00

10 lines
293 B
Rust

// Feature gate test for dyn_star
/// dyn* is not necessarily the final surface syntax (if we have one at all),
/// but for now we will support it to aid in writing tests independently.
pub fn dyn_star_parameter(_: &dyn* Send) {
//~^ `dyn*` trait objects are experimental
}
fn main() {}