2018-08-08 07:28:26 -05:00
|
|
|
error[E0208]: [-, -, -]
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/variance-regions-direct.rs:9:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | / struct Test2<'a, 'b, 'c> {
|
2018-08-08 07:28:26 -05:00
|
|
|
LL | | x: &'a isize,
|
|
|
|
LL | | y: &'b [isize],
|
|
|
|
LL | | c: &'c str
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
|
|
|
|
|
|
|
error[E0208]: [+, +, +]
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/variance-regions-direct.rs:18:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | / struct Test3<'a, 'b, 'c> {
|
2018-08-08 07:28:26 -05:00
|
|
|
LL | | x: extern "Rust" fn(&'a isize),
|
|
|
|
LL | | y: extern "Rust" fn(&'b [isize]),
|
|
|
|
LL | | c: extern "Rust" fn(&'c str),
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
|
|
|
|
|
|
|
error[E0208]: [-, o]
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/variance-regions-direct.rs:27:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | / struct Test4<'a, 'b:'a> {
|
2018-08-08 07:28:26 -05:00
|
|
|
LL | | x: &'a mut &'b isize,
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
|
|
|
|
|
|
|
error[E0208]: [+, o]
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/variance-regions-direct.rs:35:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | / struct Test5<'a, 'b:'a> {
|
2018-08-08 07:28:26 -05:00
|
|
|
LL | | x: extern "Rust" fn(&'a mut &'b isize),
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
|
|
|
|
|
|
|
error[E0208]: [-, o]
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/variance-regions-direct.rs:45:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | / struct Test6<'a, 'b:'a> {
|
2018-08-08 07:28:26 -05:00
|
|
|
LL | | x: &'a mut extern "Rust" fn(&'b isize),
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
|
|
|
|
|
|
|
error[E0208]: [*]
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/variance-regions-direct.rs:52:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | / struct Test7<'a> {
|
2018-08-08 07:28:26 -05:00
|
|
|
LL | | x: isize
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
|
|
|
|
|
|
|
error[E0208]: [+, -, o]
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/variance-regions-direct.rs:59:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | / enum Test8<'a, 'b, 'c:'b> {
|
2018-08-08 07:28:26 -05:00
|
|
|
LL | | Test8A(extern "Rust" fn(&'a isize)),
|
|
|
|
LL | | Test8B(&'b [isize]),
|
|
|
|
LL | | Test8C(&'b mut &'c str),
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
|
|
|
|
|
|
|
error: aborting due to 7 previous errors
|
|
|
|
|