File: errors.stderr

package info (click to toggle)
rust-proc-macro2-diagnostics 0.10.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 180 kB
  • sloc: makefile: 2
file content (94 lines) | stat: -rw-r--r-- 2,313 bytes parent folder | download
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
error: just an item error
 --> $DIR/errors.rs:5:16
  |
5 |         error: just an item error,
  |                ^^^^^^^^^^^^^^^^^^
  |
  = note: see an item
help: I can help with that
 --> $DIR/errors.rs:7:15
  |
7 |         help: I can help with that,
  |               ^^^^^^^^^^^^^^^^^^^^

error: just an expression error item context
  --> $DIR/errors.rs:11:16
   |
11 |         error: just an expression error item context,
   |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see an exp
   = warning: kind of weird
help: I can help with that
  --> $DIR/errors.rs:14:15
   |
14 |         help: I can help with that,
   |               ^^^^^^^^^^^^^^^^^^^^

error: just an expression error expr content
  --> $DIR/errors.rs:18:16
   |
18 |         error: just an expression error expr content,
   |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = warning: oh no

error: this is an item error message
  --> $DIR/errors.rs:24:12
   |
24 |     error: this is an item error message,
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: this is an error message
  --> $DIR/errors.rs:28:12
   |
28 |     error: this is an error message,
   |            ^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: but it has a note

error: hello
  --> $DIR/errors.rs:33:12
   |
33 |     error: hello,
   |            ^^^^^
   |
warning: just wanted to warn you
  --> $DIR/errors.rs:34:14
   |
34 |     warning: just wanted to warn you,
   |              ^^^^^^^^^^^^^^^^^^^^^^^
note: just jotting things down
  --> $DIR/errors.rs:35:11
   |
35 |     note: just jotting things down,
   |           ^^^^^^^^^^^^^^^^^^^^^^^^
   = help: please help on that note
   = note: notes on notes

warning: hello not found
  --> $DIR/errors.rs:41:14
   |
41 |     warning: hello not found,
   |              ^^^^^^^^^^^^^^^
   |
   = note: just a note to say hi
   = help: its a good idea to say hello

error: unknown diagnostic kind
  --> $DIR/errors.rs:47:5
   |
47 |     hello: hello,
   |     ^^^^^
   |
   = help: expected one of: 'error', 'warning', 'note', 'help'
   = note: or their _ versions

help: this is standalone help
  --> $DIR/errors.rs:51:11
   |
51 |     help: this is standalone help,
   |           ^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: but we add things to it
   = help: like more help