diff options
Diffstat (limited to 'src/test/ui/dyn-star/check-size-at-cast-polymorphic.rs')
-rw-r--r-- | src/test/ui/dyn-star/check-size-at-cast-polymorphic.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/ui/dyn-star/check-size-at-cast-polymorphic.rs b/src/test/ui/dyn-star/check-size-at-cast-polymorphic.rs deleted file mode 100644 index 5c0a3d256..000000000 --- a/src/test/ui/dyn-star/check-size-at-cast-polymorphic.rs +++ /dev/null @@ -1,16 +0,0 @@ -// check-pass - -#![feature(dyn_star)] -#![allow(incomplete_features)] - -use std::fmt::Debug; - -fn dyn_debug(_: (dyn* Debug + '_)) { - -} - -fn polymorphic<T: Debug>(t: &T) { - dyn_debug(t); -} - -fn main() {} |