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
|
error: just an item error
= note: see an item
--> tests/stable/errors.rs:5:16
|
5 | error: just an item error,
| ^^^^
error: [help] I can help with that
--> tests/stable/errors.rs:7:15
|
7 | help: I can help with that,
| ^
error: just an expression error item context
= note: see an exp
= warning: kind of weird
--> tests/stable/errors.rs:11:16
|
11 | error: just an expression error item context,
| ^^^^
error: [help] I can help with that
--> tests/stable/errors.rs:14:15
|
14 | help: I can help with that,
| ^
error: just an expression error expr content
= warning: oh no
--> tests/stable/errors.rs:18:16
|
18 | error: just an expression error expr content,
| ^^^^
error: this is an item error message
--> tests/stable/errors.rs:24:12
|
24 | error: this is an item error message,
| ^^^^
error: this is an error message
= note: but it has a note
--> tests/stable/errors.rs:28:12
|
28 | error: this is an error message,
| ^^^^
error: hello
--> tests/stable/errors.rs:33:12
|
33 | error: hello,
| ^^^^^
error: [warning] just wanted to warn you
--> tests/stable/errors.rs:34:14
|
34 | warning: just wanted to warn you,
| ^^^^
error: [note] just jotting things down
= help: please help on that note
= note: notes on notes
--> tests/stable/errors.rs:35:11
|
35 | note: just jotting things down,
| ^^^^
error: [warning] hello not found
= note: just a note to say hi
= help: its a good idea to say hello
--> tests/stable/errors.rs:41:14
|
41 | warning: hello not found,
| ^^^^^
error: unknown diagnostic kind
= help: expected one of: 'error', 'warning', 'note', 'help'
= note: or their _ versions
--> tests/stable/errors.rs:47:5
|
47 | hello: hello,
| ^^^^^
error: [help] this is standalone help
= note: but we add things to it
= help: like more help
--> tests/stable/errors.rs:51:11
|
51 | help: this is standalone help,
| ^^^^
|