mirror of https://github.com/rust-lang/rust.git
![]() ``` help: consider restricting type parameter `T` with traits `Copy` and `Trait` | LL | fn duplicate_custom<T: Copy + Trait>(t: S<T>) -> (S<T>, S<T>) { | ++++++++++++++ ``` ``` help: consider restricting type parameter `V` with trait `Copy` | LL | fn index<'a, K, V: std::marker::Copy>(map: &'a HashMap<K, V>, k: K) -> &'a V { | +++++++++++++++++++ ``` |
||
---|---|---|
.. | ||
auxiliary | ||
issue-35677.fixed | ||
issue-35677.rs | ||
issue-35677.stderr | ||
issue-69725.fixed | ||
issue-69725.rs | ||
issue-69725.stderr | ||
missing-trait-bound-for-op.fixed | ||
missing-trait-bound-for-op.rs | ||
missing-trait-bound-for-op.stderr | ||
missing-trait-bounds-for-method-call.rs | ||
missing-trait-bounds-for-method-call.stderr |