about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ui/privacy/suggest-box-new.stderr30
1 files changed, 15 insertions, 15 deletions
diff --git a/tests/ui/privacy/suggest-box-new.stderr b/tests/ui/privacy/suggest-box-new.stderr
index 5fec35dc5c6..2224f1c60d6 100644
--- a/tests/ui/privacy/suggest-box-new.stderr
+++ b/tests/ui/privacy/suggest-box-new.stderr
@@ -10,13 +10,13 @@ LL |     let _ = std::collections::HashMap();
 help: you might have meant to use an associated function to build this type
    |
 LL |     let _ = std::collections::HashMap::new();
-   |                                      +++++
-LL |     let _ = std::collections::HashMap::with_capacity();
-   |                                      +++++++++++++++
-LL |     let _ = std::collections::HashMap::with_hasher();
-   |                                      +++++++++++++
-LL |     let _ = std::collections::HashMap::with_capacity_and_hasher();
-   |                                      ++++++++++++++++++++++++++
+   |                                      ~~~~~~~
+LL |     let _ = std::collections::HashMap::with_capacity(_);
+   |                                      ~~~~~~~~~~~~~~~~~~
+LL |     let _ = std::collections::HashMap::with_hasher(_);
+   |                                      ~~~~~~~~~~~~~~~~
+LL |     let _ = std::collections::HashMap::with_capacity_and_hasher(_, _);
+   |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 help: consider using the `Default` trait
    |
 LL |     let _ = <std::collections::HashMap as std::default::Default>::default();
@@ -36,14 +36,14 @@ note: constructor is not visible here due to private fields
    = note: private field
 help: you might have meant to use an associated function to build this type
    |
-LL |         wtf: Some(Box::new(U {
-   |                      +++++
-LL |         wtf: Some(Box::new_uninit(U {
-   |                      ++++++++++++
-LL |         wtf: Some(Box::new_zeroed(U {
-   |                      ++++++++++++
-LL |         wtf: Some(Box::new_in(U {
-   |                      ++++++++
+LL |         wtf: Some(Box::new(_)),
+   |                      ~~~~~~~~
+LL |         wtf: Some(Box::new_uninit()),
+   |                      ~~~~~~~~~~~~~~
+LL |         wtf: Some(Box::new_zeroed()),
+   |                      ~~~~~~~~~~~~~~
+LL |         wtf: Some(Box::new_in(_, _)),
+   |                      ~~~~~~~~~~~~~~
      and 10 other candidates
 help: consider using the `Default` trait
    |