summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-18988.rs
blob: 708965d81d8d654b8fcd1c2700055baa480233e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
// check-pass
#![allow(dead_code)]
pub trait Foo : Send { }

pub struct MyFoo {
    children: Vec<Box<dyn Foo>>,
}

impl Foo for MyFoo { }

pub fn main() { }