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

13 lines
216 B
Rust
Raw Normal View History

//@ build-pass
//@ revisions: current next
//@ ignore-compare-mode-next-solver (explicit revisions)
//@[next] compile-flags: -Znext-solver
fn test() -> Option<impl Sized> {
Some("")
}
fn main() {
test();
}