summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/next-solver/deduce-ty-from-object.rs
blob: b627fd720e3130a078fe4061427050f849968c86 (plain)
1
2
3
4
5
6
// check-pass
// compile-flags: -Znext-solver

fn main() {
    let x: Box<dyn Iterator<Item = ()>> = Box::new(std::iter::empty());
}