about summary refs log tree commit diff
path: root/tests/ui
diff options
context:
space:
mode:
authorBen Kimock <kimockb@gmail.com>2024-04-11 21:13:57 -0400
committerBen Kimock <kimockb@gmail.com>2024-04-12 18:14:29 -0400
commitf7d54fa6cb8d5a31914de285efbb79f55b60abb2 (patch)
tree0d70779599a1a0f5796fbb34f1a87bfd3c556499 /tests/ui
parentaa6a697a1c75b0aa06954136f7641706edadc2be (diff)
downloadrust-f7d54fa6cb8d5a31914de285efbb79f55b60abb2.tar.gz
rust-f7d54fa6cb8d5a31914de285efbb79f55b60abb2.zip
Avoid more NonNull-raw-NonNull roundtrips in Vec
Diffstat (limited to 'tests/ui')
-rw-r--r--tests/ui/suggestions/deref-path-method.stderr2
-rw-r--r--tests/ui/ufcs/bad-builder.stderr2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/suggestions/deref-path-method.stderr b/tests/ui/suggestions/deref-path-method.stderr
index b27d9aef066..bfcc2307fd7 100644
--- a/tests/ui/suggestions/deref-path-method.stderr
+++ b/tests/ui/suggestions/deref-path-method.stderr
@@ -9,7 +9,7 @@ note: if you're trying to build a new `Vec<_, _>` consider using one of the foll
       Vec::<T>::with_capacity
       Vec::<T>::try_with_capacity
       Vec::<T>::from_raw_parts
-      and 4 others
+      and 6 others
   --> $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
 help: the function `contains` is implemented on `[_]`
    |
diff --git a/tests/ui/ufcs/bad-builder.stderr b/tests/ui/ufcs/bad-builder.stderr
index 9cfeb7a5d09..e466f94d0d8 100644
--- a/tests/ui/ufcs/bad-builder.stderr
+++ b/tests/ui/ufcs/bad-builder.stderr
@@ -9,7 +9,7 @@ note: if you're trying to build a new `Vec<Q>` consider using one of the followi
       Vec::<T>::with_capacity
       Vec::<T>::try_with_capacity
       Vec::<T>::from_raw_parts
-      and 4 others
+      and 6 others
   --> $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
 help: there is an associated function `new` with a similar name
    |