File: variance-regions-direct.stderr

package info (click to toggle)
rustc 1.88.0%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 934,128 kB
  • sloc: xml: 158,127; python: 36,062; javascript: 19,855; sh: 19,700; cpp: 18,947; ansic: 12,993; asm: 4,792; makefile: 690; lisp: 29; perl: 29; ruby: 19; sql: 11
file content (53 lines) | stat: -rw-r--r-- 1,315 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
error[E0392]: lifetime parameter `'a` is never used
  --> $DIR/variance-regions-direct.rs:52:14
   |
LL | struct Test7<'a> {
   |              ^^ unused lifetime parameter
   |
   = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData`

error: ['a: +, 'b: +, 'c: +]
  --> $DIR/variance-regions-direct.rs:9:1
   |
LL | struct Test2<'a, 'b, 'c> {
   | ^^^^^^^^^^^^^^^^^^^^^^^^

error: ['a: -, 'b: -, 'c: -]
  --> $DIR/variance-regions-direct.rs:18:1
   |
LL | struct Test3<'a, 'b, 'c> {
   | ^^^^^^^^^^^^^^^^^^^^^^^^

error: ['a: +, 'b: o]
  --> $DIR/variance-regions-direct.rs:27:1
   |
LL | struct Test4<'a, 'b:'a> {
   | ^^^^^^^^^^^^^^^^^^^^^^^

error: ['a: -, 'b: o]
  --> $DIR/variance-regions-direct.rs:35:1
   |
LL | struct Test5<'a, 'b:'a> {
   | ^^^^^^^^^^^^^^^^^^^^^^^

error: ['a: +, 'b: o]
  --> $DIR/variance-regions-direct.rs:45:1
   |
LL | struct Test6<'a, 'b:'a> {
   | ^^^^^^^^^^^^^^^^^^^^^^^

error: ['a: *]
  --> $DIR/variance-regions-direct.rs:52:1
   |
LL | struct Test7<'a> {
   | ^^^^^^^^^^^^^^^^

error: ['a: -, 'b: +, 'c: o]
  --> $DIR/variance-regions-direct.rs:60:1
   |
LL | enum Test8<'a, 'b, 'c:'b> {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 8 previous errors

For more information about this error, try `rustc --explain E0392`.