rust/tests/ui/unsized/unsized-bare-typaram.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
111 B
Rust
Raw Normal View History

2013-05-31 01:40:55 +00:00
fn bar<T: Sized>() { }
fn foo<T: ?Sized>() { bar::<T>() }
2018-07-10 21:10:13 +00:00
//~^ ERROR the size for values of type
2013-05-31 01:40:55 +00:00
fn main() { }