rust/tests/ui/dyn-star/return.rs

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

11 lines
195 B
Rust
Raw Normal View History

2022-11-16 16:21:41 -06:00
// 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() {}