]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-18988.rs
Rollup merge of #93097 - GuillaumeGomez:settings-js, r=jsha
[rust.git] / src / test / ui / issues / issue-18988.rs
1 // check-pass
2 #![allow(dead_code)]
3 pub trait Foo : Send { }
4
5 pub struct MyFoo {
6     children: Vec<Box<dyn Foo>>,
7 }
8
9 impl Foo for MyFoo { }
10
11 pub fn main() { }