]> git.lizzy.rs Git - rust.git/blob - tests/ui/unsized/unsized-fn-arg.fixed
Rollup merge of #106709 - khuey:disable_split_dwarf_inlining_by_default, r=davidtwco
[rust.git] / tests / ui / unsized / unsized-fn-arg.fixed
1 // run-rustfix
2 #![crate_type="lib"]
3 #![allow(unused)]
4
5 fn f<T>(t: &T) {}
6 //~^ ERROR the size for values of type `T` cannot be known at compilation time