2019-12-08 05:19:53 -06:00
|
|
|
error: negative bounds are not supported
|
2020-07-02 01:17:39 -05:00
|
|
|
--> $DIR/issue-67146-negative-outlives-bound-syntactic-fail.rs:9:12
|
2019-12-08 05:19:53 -06:00
|
|
|
|
|
2020-07-02 01:17:39 -05:00
|
|
|
LL | pub fn f1<T: !'static>() {}
|
|
|
|
| ^^^^^^^^^^ negative bounds are not supported
|
2019-12-08 05:19:53 -06:00
|
|
|
|
|
|
|
error: negative bounds are not supported
|
2020-07-02 01:17:39 -05:00
|
|
|
--> $DIR/issue-67146-negative-outlives-bound-syntactic-fail.rs:11:22
|
2019-12-08 05:19:53 -06:00
|
|
|
|
|
2020-07-02 01:17:39 -05:00
|
|
|
LL | pub fn f2<'a, T: Ord + !'a>() {}
|
|
|
|
| ^^^^^ negative bounds are not supported
|
2019-12-08 05:19:53 -06:00
|
|
|
|
|
|
|
error: negative bounds are not supported
|
2020-07-02 01:17:39 -05:00
|
|
|
--> $DIR/issue-67146-negative-outlives-bound-syntactic-fail.rs:13:16
|
2019-12-08 05:19:53 -06:00
|
|
|
|
|
2020-07-02 01:17:39 -05:00
|
|
|
LL | pub fn f3<'a, T: !'a + Ord>() {}
|
|
|
|
| ^^^^^ negative bounds are not supported
|
2019-12-08 05:19:53 -06:00
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|