fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the trait bound `[u8]: AutoTrait` is not satisfied in `str` 2 --> $DIR/str-contains-slice-conceptually.rs:11:22 3 | 4LL | needs_auto_trait::<str>(); 5 | ^^^ within `str`, the trait `AutoTrait` is not implemented for `[u8]` 6 | 7 = note: `str` is considered to contain a `[u8]` slice for auto trait purposes 8note: required by a bound in `needs_auto_trait` 9 --> $DIR/str-contains-slice-conceptually.rs:8:24 10 | 11LL | fn needs_auto_trait<T: AutoTrait + ?Sized>() {} 12 | ^^^^^^^^^ required by this bound in `needs_auto_trait` 13 14error: aborting due to previous error 15 16For more information about this error, try `rustc --explain E0277`.