rust/tests/ui/impl-trait/reveal-during-codegen.rs

12 lines
162 B
Rust
Raw Normal View History

// build-pass
// revisions: current next
//[next] compile-flags: -Ztrait-solver=next
fn test() -> Option<impl Sized> {
Some("")
}
fn main() {
test();
}