1 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
5 | ^ doesn't have a size known at compile-time
7 = help: within `std::path::Path`, the trait `std::marker::Sized` is not implemented for `[u8]`
8 = note: required because it appears within the type `std::path::Path`
9 = note: all local variables must have a statically known size
10 = help: unsized locals are gated as an unstable feature
12 error[E0277]: the trait bound `i32: Foo` is not satisfied
13 --> $DIR/E0277.rs:17:15
15 LL | fn some_func<T: Foo>(foo: T) {
16 | --- required by this bound in `some_func`
19 | ^^^^ the trait `Foo` is not implemented for `i32`
21 error: aborting due to 2 previous errors
23 For more information about this error, try `rustc --explain E0277`.