]> git.lizzy.rs Git - rust.git/blob - src/test/ui/sized-owned-pointer.rs
Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup
[rust.git] / src / test / ui / sized-owned-pointer.rs
1 // run-pass
2
3 #![allow(dead_code)]
4 // Possibly-dynamic size of typaram should be cleared at pointer boundary.
5
6
7 // pretty-expanded FIXME #23616
8
9 fn bar<T: Sized>() { }
10 fn foo<T>() { bar::<Box<T>>() }
11 pub fn main() { }