rust/tests/ui/dyn-star/return.rs
2024-02-16 20:02:50 +00:00

11 lines
196 B
Rust

//@ check-pass
#![feature(dyn_star)]
//~^ WARN the feature `dyn_star` is incomplete and may not be safe to use and/or cause compiler crashes
fn _foo() -> dyn* Unpin {
4usize
}
fn main() {}