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

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

12 lines
159 B
Rust
Raw Normal View History

//@ build-pass
//@ revisions: current next
2023-12-14 12:11:28 +00:00
//@[next] compile-flags: -Znext-solver
fn test() -> Option<impl Sized> {
Some("")
}
fn main() {
test();
}