]> git.proxmox.com Git - rustc.git/blob - src/test/ui/dyn-star/check-size-at-cast-polymorphic.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / dyn-star / check-size-at-cast-polymorphic.rs
1 // check-pass
2
3 #![feature(dyn_star)]
4 #![allow(incomplete_features)]
5
6 use std::fmt::Debug;
7
8 fn dyn_debug(_: (dyn* Debug + '_)) {
9
10 }
11
12 fn polymorphic<T: Debug>(t: &T) {
13 dyn_debug(t);
14 }
15
16 fn main() {}