rust/src/test/ui/issues/issue-41744.rs
2019-07-27 18:56:16 +03:00

8 lines
93 B
Rust

// run-pass
trait Tc {}
impl Tc for bool {}
fn main() {
let _: &[&dyn Tc] = &[&true];
}