summaryrefslogtreecommitdiffstats
path: root/src/test/ui/unsized/unsized-fn-arg.fixed
blob: fd9b159a481386adfc2a35def24efd9c50df8013 (plain)
1
2
3
4
5
6
// run-rustfix
#![crate_type="lib"]
#![allow(unused)]

fn f<T>(t: &T) {}
//~^ ERROR the size for values of type `T` cannot be known at compilation time