diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/traits/suggest-deferences/root-obligation.stderr (renamed from src/test/ui/traits/suggest-deferences/root-obligation.stderr) | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/test/ui/traits/suggest-deferences/root-obligation.stderr b/tests/ui/traits/suggest-deferences/root-obligation.stderr index 76663ace7..1363fb8c4 100644 --- a/src/test/ui/traits/suggest-deferences/root-obligation.stderr +++ b/tests/ui/traits/suggest-deferences/root-obligation.stderr @@ -11,9 +11,6 @@ LL | .filter(|c| "aeiou".contains(c)) = note: required for `&char` to implement `Pattern<'_>` note: required by a bound in `core::str::<impl str>::contains` --> $SRC_DIR/core/src/str/mod.rs:LL:COL - | -LL | pub fn contains<'a, P: Pattern<'a>>(&'a self, pat: P) -> bool { - | ^^^^^^^^^^^ required by this bound in `core::str::<impl str>::contains` help: consider dereferencing here | LL | .filter(|c| "aeiou".contains(*c)) |