rust/tests/ui/dyn-star/feature-gate-dyn_star.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
293 B
Rust
Raw Normal View History

// 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() {}