]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-67146-negative-outlives-bound-syntactic-fail.stderr
Add 'src/tools/clippy/' from commit 'd2708873ef711ec8ab45df1e984ecf24a96cd369'
[rust.git] / src / test / ui / parser / 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:7:8
3    |
4 LL | 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:9:18
9    |
10 LL | 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:11:12
15    |
16 LL | fn f3<'a, T: !'a + Ord>() {}
17    |            ^^^^^ negative bounds are not supported
18
19 error: aborting due to 3 previous errors
20