summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-26805.rs
blob: bcf8a6731910fb006838b666be9b0846ce4a7d3a (plain)
1
2
3
4
5
6
// run-pass
struct NonOrd;

fn main() {
    let _: Box<dyn Iterator<Item = _>> = Box::new(vec![NonOrd].into_iter());
}