rust/tests/ui/traits/next-solver/deduce-ty-from-object.rs

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

7 lines
135 B
Rust
Raw Normal View History

2023-03-06 22:17:37 -06:00
//@ check-pass
2023-12-14 06:11:28 -06:00
//@ compile-flags: -Znext-solver
2023-03-06 22:17:37 -06:00
fn main() {
let x: Box<dyn Iterator<Item = ()>> = Box::new(std::iter::empty());
}