]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-58857.stderr
parse_generic_bounds: account for negative lifetime bounds
[rust.git] / src / test / ui / issues / issue-58857.stderr
index ab9a0130c00b0d49fcbefc96a912b87c1bf4f541..9bc80cc270b0f47b1a608dd32b35082d4455e15c 100644 (file)
@@ -1,10 +1,10 @@
-error: negative trait bounds are not supported
+error: negative bounds are not supported
   --> $DIR/issue-58857.rs:4:7
    |
 LL | impl<A: !Valid> Conj<A>{}
-   |       ^^^^^^^^ negative trait bounds are not supported
+   |       ^^^^^^^^ negative bounds are not supported
    |
-   = help: remove the trait bound
+   = help: remove the bound
 
 error: aborting due to previous error