]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/error-codes/E0033.stderr
Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup
[rust.git] / src / test / ui / error-codes / E0033.stderr
index fc1248440d0437354f912022a0c13157576af237..f0645107831e0c9402807503d47dc7356daad3e5 100644 (file)
@@ -20,11 +20,11 @@ LL |     fn foo();
 help: consider turning `foo` into a method by giving it a `&self` argument
    |
 LL |     fn foo(&self);
-   |            ^^^^^
+   |            +++++
 help: alternatively, consider constraining `foo` so it does not apply to trait objects
    |
 LL |     fn foo() where Self: Sized;
-   |              ^^^^^^^^^^^^^^^^^
+   |              +++++++++++++++++
 
 error[E0033]: type `&dyn SomeTrait` cannot be dereferenced
   --> $DIR/E0033.rs:10:9