1 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
2 --> $DIR/path-by-value.rs:3:6
5 | ^ doesn't have a size known at compile-time
7 = help: within `Path`, the trait `Sized` is not implemented for `[u8]`
8 = note: required because it appears within the type `Path`
9 = help: unsized fn params are gated as an unstable feature
10 help: function arguments must have a statically known size, borrowed types always have a known size
12 LL | fn f(p: &Path) { }
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0277`.