]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issues/issue-67146-negative-outlives-bound-syntactic-fail.stderr
Rollup merge of #88794 - sunfishcode:sunfishcode/try-clone, r=joshtriplett
[rust.git] / src / test / ui / parser / issues / issue-67146-negative-outlives-bound-syntactic-fail.stderr
1 error: negative bounds are not supported
2   --> $DIR/issue-67146-negative-outlives-bound-syntactic-fail.rs:9:12
3    |
4 LL | pub fn f1<T: !'static>() {}
5    |            ^^^^^^^^^^ negative bounds are not supported
6
7 error: negative bounds are not supported
8   --> $DIR/issue-67146-negative-outlives-bound-syntactic-fail.rs:11:22
9    |
10 LL | pub fn f2<'a, T: Ord + !'a>() {}
11    |                      ^^^^^ negative bounds are not supported
12
13 error: negative bounds are not supported
14   --> $DIR/issue-67146-negative-outlives-bound-syntactic-fail.rs:13:16
15    |
16 LL | pub fn f3<'a, T: !'a + Ord>() {}
17    |                ^^^^^ negative bounds are not supported
18
19 error: aborting due to 3 previous errors
20