]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/issue-14303-trait.stderr
Merge commit '54a20a02ecd0e1352a871aa0990bcc8b8b03173e' into clippyup
[rust.git] / src / test / ui / parser / issue-14303-trait.stderr
index 0e7399102bf177d2d2737bd50255e64d2003189c..7dfa62d823fd8754c7f3873797b2a401b73ac7c3 100644 (file)
@@ -2,7 +2,7 @@ error: lifetime parameters must be declared prior to type parameters
   --> $DIR/issue-14303-trait.rs:1:18
    |
 LL | trait Foo<'a, T, 'b> {}
-   |          --------^^- help: reorder the parameters: lifetimes, then types: `<'a, 'b, T>`
+   |          --------^^- help: reorder the parameters: lifetimes, then types, then consts: `<'a, 'b, T>`
 
 error: aborting due to previous error