]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-3702.rs
Enable full revision in const generics ui tests
[rust.git] / src / test / ui / issues / issue-3702.rs
1 // run-pass
2 #![allow(dead_code)]
3
4 pub fn main() {
5   trait Text {
6     fn to_string(&self) -> String;
7   }
8
9   fn to_string(t: Box<dyn Text>) {
10     println!("{}", (*t).to_string());
11   }
12
13 }