]> git.lizzy.rs Git - rust.git/blob - src/test/ui/dyn-star/check-size-at-cast-polymorphic.rs
Auto merge of #103390 - compiler-errors:metadata-mod-regions, r=eholk
[rust.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() {}