2022-09-23 12:49:02 +01:00
|
|
|
error: unsupported type attribute for diagnostic derive enum
|
2022-06-29 09:21:44 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:39:1
|
2020-08-27 20:00:21 +10:00
|
|
|
|
|
2022-09-23 12:49:02 +01:00
|
|
|
LL | #[diag(typeck::ambiguous_lifetime_bound, code = "E0123")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: diagnostic slug not specified
|
|
|
|
--> $DIR/diagnostic-derive.rs:42:5
|
|
|
|
|
|
|
|
|
LL | Foo,
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
= help: specify the slug as the first argument to the `#[diag(...)]` attribute, such as `#[diag(typeck::example_error)]`
|
|
|
|
|
|
|
|
error: diagnostic slug not specified
|
|
|
|
--> $DIR/diagnostic-derive.rs:44:5
|
|
|
|
|
|
|
|
|
LL | Bar,
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
= help: specify the slug as the first argument to the `#[diag(...)]` attribute, such as `#[diag(typeck::example_error)]`
|
2020-08-27 20:00:21 +10:00
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
error: `#[diag = ...]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:50:1
|
2020-08-27 20:00:21 +10:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | #[diag = "E0123"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2022-03-31 08:35:17 +01:00
|
|
|
|
2022-04-27 04:06:13 +01:00
|
|
|
error: `#[nonsense(...)]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:55:1
|
2022-03-31 08:35:17 +01:00
|
|
|
|
|
2022-06-23 14:51:44 +01:00
|
|
|
LL | #[nonsense(typeck::ambiguous_lifetime_bound, code = "E0123")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-03-31 08:35:17 +01:00
|
|
|
|
2022-08-19 15:02:10 +02:00
|
|
|
error: diagnostic slug not specified
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:55:1
|
2022-03-31 08:35:17 +01:00
|
|
|
|
|
2022-06-23 14:51:44 +01:00
|
|
|
LL | / #[nonsense(typeck::ambiguous_lifetime_bound, code = "E0123")]
|
2022-03-31 08:35:17 +01:00
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | struct InvalidStructAttr {}
|
|
|
|
| |___________________________^
|
|
|
|
|
|
2022-08-19 15:02:10 +02:00
|
|
|
= help: specify the slug as the first argument to the `#[diag(...)]` attribute, such as `#[diag(typeck::example_error)]`
|
2022-03-31 08:35:17 +01:00
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
error: `#[diag("...")]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:62:8
|
2022-03-31 08:35:17 +01:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | #[diag("E0123")]
|
|
|
|
| ^^^^^^^
|
2022-06-23 14:51:44 +01:00
|
|
|
|
|
2022-09-14 17:19:40 +02:00
|
|
|
= help: a diagnostic slug is required as the first argument
|
2022-03-31 08:35:17 +01:00
|
|
|
|
2022-06-23 14:51:44 +01:00
|
|
|
error: diagnostic slug not specified
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:62:1
|
2022-03-31 08:35:17 +01:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | / #[diag("E0123")]
|
2022-03-31 08:35:17 +01:00
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | struct InvalidLitNestedAttr {}
|
|
|
|
| |______________________________^
|
|
|
|
|
|
2022-08-19 15:02:10 +02:00
|
|
|
= help: specify the slug as the first argument to the `#[diag(...)]` attribute, such as `#[diag(typeck::example_error)]`
|
2022-03-31 08:35:17 +01:00
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
error: `#[diag(nonsense(...))]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:73:8
|
2022-03-31 08:35:17 +01:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | #[diag(nonsense("foo"), code = "E0123", slug = "foo")]
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2022-06-23 14:51:44 +01:00
|
|
|
|
|
2022-09-14 17:19:40 +02:00
|
|
|
= help: a diagnostic slug is required as the first argument
|
2022-06-23 14:51:44 +01:00
|
|
|
|
|
|
|
error: diagnostic slug not specified
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:73:1
|
2022-06-23 14:51:44 +01:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | / #[diag(nonsense("foo"), code = "E0123", slug = "foo")]
|
2022-06-23 14:51:44 +01:00
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | struct InvalidNestedStructAttr1 {}
|
|
|
|
| |__________________________________^
|
|
|
|
|
|
2022-08-19 15:02:10 +02:00
|
|
|
= help: specify the slug as the first argument to the `#[diag(...)]` attribute, such as `#[diag(typeck::example_error)]`
|
2022-03-31 08:35:17 +01:00
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
error: `#[diag(nonsense = ...)]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:79:8
|
2022-03-31 08:35:17 +01:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | #[diag(nonsense = "...", code = "E0123", slug = "foo")]
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
2022-04-27 04:06:13 +01:00
|
|
|
|
|
2022-09-14 17:19:40 +02:00
|
|
|
= help: only `code` is a valid nested attributes following the slug
|
|
|
|
|
|
|
|
error: `#[diag(slug = ...)]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:79:42
|
2022-09-14 17:19:40 +02:00
|
|
|
|
|
|
|
|
LL | #[diag(nonsense = "...", code = "E0123", slug = "foo")]
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: only `code` is a valid nested attributes following the slug
|
2022-06-23 14:51:44 +01:00
|
|
|
|
|
|
|
error: diagnostic slug not specified
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:79:1
|
2022-06-23 14:51:44 +01:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | / #[diag(nonsense = "...", code = "E0123", slug = "foo")]
|
2022-06-23 14:51:44 +01:00
|
|
|
LL | |
|
|
|
|
LL | |
|
2022-09-14 17:19:40 +02:00
|
|
|
LL | |
|
2022-06-23 14:51:44 +01:00
|
|
|
LL | | struct InvalidNestedStructAttr2 {}
|
|
|
|
| |__________________________________^
|
|
|
|
|
|
2022-08-19 15:02:10 +02:00
|
|
|
= help: specify the slug as the first argument to the `#[diag(...)]` attribute, such as `#[diag(typeck::example_error)]`
|
2022-03-31 08:35:17 +01:00
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
error: `#[diag(nonsense = ...)]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:86:8
|
2022-03-31 08:35:17 +01:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | #[diag(nonsense = 4, code = "E0123", slug = "foo")]
|
|
|
|
| ^^^^^^^^^^^^
|
2022-09-14 17:19:40 +02:00
|
|
|
|
|
|
|
error: `#[diag(slug = ...)]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:86:38
|
2022-06-23 14:51:44 +01:00
|
|
|
|
|
2022-09-14 17:19:40 +02:00
|
|
|
LL | #[diag(nonsense = 4, code = "E0123", slug = "foo")]
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: only `code` is a valid nested attributes following the slug
|
2020-08-27 20:00:21 +10:00
|
|
|
|
2022-06-23 14:51:44 +01:00
|
|
|
error: diagnostic slug not specified
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:86:1
|
2020-08-27 20:00:21 +10:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | / #[diag(nonsense = 4, code = "E0123", slug = "foo")]
|
2022-06-23 14:51:44 +01:00
|
|
|
LL | |
|
|
|
|
LL | |
|
2022-09-14 17:19:40 +02:00
|
|
|
LL | |
|
2022-06-23 14:51:44 +01:00
|
|
|
LL | | struct InvalidNestedStructAttr3 {}
|
|
|
|
| |__________________________________^
|
2022-04-27 04:06:13 +01:00
|
|
|
|
|
2022-08-19 15:02:10 +02:00
|
|
|
= help: specify the slug as the first argument to the `#[diag(...)]` attribute, such as `#[diag(typeck::example_error)]`
|
2020-08-27 20:00:21 +10:00
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
error: `#[diag(slug = ...)]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:93:58
|
2022-03-31 08:35:17 +01:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | #[diag(typeck::ambiguous_lifetime_bound, code = "E0123", slug = "foo")]
|
|
|
|
| ^^^^^^^^^^^^
|
2022-03-31 08:35:17 +01:00
|
|
|
|
|
2022-06-23 14:51:44 +01:00
|
|
|
= help: only `code` is a valid nested attributes following the slug
|
|
|
|
|
|
|
|
error: `#[suggestion = ...]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:100:5
|
2020-08-27 20:00:21 +10:00
|
|
|
|
|
2022-06-23 14:51:44 +01:00
|
|
|
LL | #[suggestion = "bar"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
2020-08-27 20:00:21 +10:00
|
|
|
|
2022-04-27 04:28:21 +01:00
|
|
|
error: specified multiple times
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:107:8
|
2022-04-27 04:28:21 +01:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | #[diag(typeck::ambiguous_lifetime_bound, code = "E0456")]
|
2022-09-14 17:19:40 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-04-27 04:28:21 +01:00
|
|
|
|
|
|
|
|
note: previously specified here
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:106:8
|
2022-04-27 04:28:21 +01:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | #[diag(typeck::ambiguous_lifetime_bound, code = "E0123")]
|
2022-09-14 17:19:40 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-04-27 04:28:21 +01:00
|
|
|
|
|
|
|
error: specified multiple times
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:107:49
|
2022-03-31 08:35:17 +01:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | #[diag(typeck::ambiguous_lifetime_bound, code = "E0456")]
|
|
|
|
| ^^^^^^^
|
2022-03-31 08:35:17 +01:00
|
|
|
|
|
|
|
|
note: previously specified here
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:106:49
|
2022-03-31 08:35:17 +01:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | #[diag(typeck::ambiguous_lifetime_bound, code = "E0123")]
|
|
|
|
| ^^^^^^^
|
2022-03-31 08:35:17 +01:00
|
|
|
|
2022-04-27 04:28:21 +01:00
|
|
|
error: specified multiple times
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:113:65
|
2022-03-31 08:35:17 +01:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | #[diag(typeck::ambiguous_lifetime_bound, code = "E0456", code = "E0457")]
|
|
|
|
| ^^^^^^^
|
2022-03-31 08:35:17 +01:00
|
|
|
|
|
|
|
|
note: previously specified here
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:113:49
|
2022-03-31 08:35:17 +01:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | #[diag(typeck::ambiguous_lifetime_bound, code = "E0456", code = "E0457")]
|
|
|
|
| ^^^^^^^
|
2022-06-23 14:51:44 +01:00
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
error: `#[diag(typeck::ambiguous_lifetime_bound)]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:118:42
|
2022-06-23 14:51:44 +01:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | #[diag(typeck::ambiguous_lifetime_bound, typeck::ambiguous_lifetime_bound, code = "E0456")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-09-14 17:19:40 +02:00
|
|
|
|
|
|
|
|
= help: diagnostic slug must be the first argument
|
2022-03-31 08:35:17 +01:00
|
|
|
|
2022-08-19 15:02:10 +02:00
|
|
|
error: diagnostic slug not specified
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:123:1
|
2022-03-31 08:35:17 +01:00
|
|
|
|
|
|
|
|
LL | struct KindNotProvided {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2022-08-19 15:02:10 +02:00
|
|
|
= help: specify the slug as the first argument to the `#[diag(...)]` attribute, such as `#[diag(typeck::example_error)]`
|
2022-03-31 08:35:17 +01:00
|
|
|
|
2022-06-23 14:51:44 +01:00
|
|
|
error: diagnostic slug not specified
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:126:1
|
2022-03-31 08:35:17 +01:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | / #[diag(code = "E0456")]
|
2022-06-23 14:51:44 +01:00
|
|
|
LL | |
|
2022-03-31 08:35:17 +01:00
|
|
|
LL | | struct SlugNotProvided {}
|
|
|
|
| |_________________________^
|
|
|
|
|
|
2022-08-19 15:02:10 +02:00
|
|
|
= help: specify the slug as the first argument to the `#[diag(...)]` attribute, such as `#[diag(typeck::example_error)]`
|
2020-08-27 20:00:21 +10:00
|
|
|
|
2022-07-11 17:15:31 +01:00
|
|
|
error: the `#[primary_span]` attribute can only be applied to fields of type `Span` or `MultiSpan`
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:137:5
|
2022-03-31 08:35:17 +01:00
|
|
|
|
|
2022-03-31 08:50:45 +01:00
|
|
|
LL | #[primary_span]
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2022-03-31 08:35:17 +01:00
|
|
|
|
2022-04-27 04:06:13 +01:00
|
|
|
error: `#[nonsense]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:145:5
|
2020-08-27 20:00:21 +10:00
|
|
|
|
|
2022-03-31 08:35:17 +01:00
|
|
|
LL | #[nonsense]
|
|
|
|
| ^^^^^^^^^^^
|
2020-08-27 20:00:21 +10:00
|
|
|
|
2022-07-11 17:15:31 +01:00
|
|
|
error: the `#[label(...)]` attribute can only be applied to fields of type `Span` or `MultiSpan`
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:162:5
|
2020-08-27 20:00:21 +10:00
|
|
|
|
|
2022-06-23 14:51:44 +01:00
|
|
|
LL | #[label(typeck::label)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
2020-08-27 20:00:21 +10:00
|
|
|
|
|
|
|
error: `name` doesn't refer to a field on this type
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:170:45
|
2020-08-27 20:00:21 +10:00
|
|
|
|
|
2022-06-23 14:51:44 +01:00
|
|
|
LL | #[suggestion(typeck::suggestion, code = "{name}")]
|
|
|
|
| ^^^^^^^^
|
2020-08-27 20:00:21 +10:00
|
|
|
|
|
|
|
error: invalid format string: expected `'}'` but string was terminated
|
2022-08-26 18:52:08 +02:00
|
|
|
--> $DIR/diagnostic-derive.rs:175:10
|
2020-08-27 20:00:21 +10:00
|
|
|
|
|
2022-09-18 11:46:56 -04:00
|
|
|
LL | #[derive(Diagnostic)]
|
2022-08-26 18:52:08 +02:00
|
|
|
| ^^^^^^^^^^ expected `'}'` in format string
|
2020-08-27 20:00:21 +10:00
|
|
|
|
|
|
|
|
= note: if you intended to print `{`, you can escape it using `{{`
|
2022-09-18 11:46:56 -04:00
|
|
|
= note: this error originates in the derive macro `Diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-08-27 20:00:21 +10:00
|
|
|
|
|
|
|
error: invalid format string: unmatched `}` found
|
2022-08-26 18:52:08 +02:00
|
|
|
--> $DIR/diagnostic-derive.rs:185:10
|
2020-08-27 20:00:21 +10:00
|
|
|
|
|
2022-09-18 11:46:56 -04:00
|
|
|
LL | #[derive(Diagnostic)]
|
2022-08-26 18:52:08 +02:00
|
|
|
| ^^^^^^^^^^ unmatched `}` in format string
|
2020-08-27 20:00:21 +10:00
|
|
|
|
|
|
|
|
= note: if you intended to print `}`, you can escape it using `}}`
|
2022-09-18 11:46:56 -04:00
|
|
|
= note: this error originates in the derive macro `Diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-08-27 20:00:21 +10:00
|
|
|
|
2022-07-11 17:15:31 +01:00
|
|
|
error: the `#[label(...)]` attribute can only be applied to fields of type `Span` or `MultiSpan`
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:205:5
|
2020-08-27 20:00:21 +10:00
|
|
|
|
|
2022-06-23 14:51:44 +01:00
|
|
|
LL | #[label(typeck::label)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
2020-08-27 20:00:21 +10:00
|
|
|
|
2022-09-14 17:19:40 +02:00
|
|
|
error: suggestion without `code = "..."`
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:223:5
|
2022-09-14 17:19:40 +02:00
|
|
|
|
|
|
|
|
LL | #[suggestion(typeck::suggestion)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2022-04-27 04:06:13 +01:00
|
|
|
error: `#[suggestion(nonsense = ...)]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:231:18
|
2020-08-27 20:00:21 +10:00
|
|
|
|
|
2022-03-31 13:10:13 +01:00
|
|
|
LL | #[suggestion(nonsense = "bar")]
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
2022-04-27 04:06:13 +01:00
|
|
|
|
|
2022-09-14 17:19:40 +02:00
|
|
|
= help: only `code` and `applicability` are valid nested attributes
|
|
|
|
|
|
|
|
error: suggestion without `code = "..."`
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:231:5
|
2022-09-14 17:19:40 +02:00
|
|
|
|
|
|
|
|
LL | #[suggestion(nonsense = "bar")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-08-27 20:00:21 +10:00
|
|
|
|
2022-04-27 04:06:13 +01:00
|
|
|
error: `#[suggestion(msg = ...)]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:240:18
|
2020-08-27 20:00:21 +10:00
|
|
|
|
|
2022-03-31 13:10:13 +01:00
|
|
|
LL | #[suggestion(msg = "bar")]
|
|
|
|
| ^^^^^^^^^^^
|
2022-04-27 04:06:13 +01:00
|
|
|
|
|
2022-09-14 17:19:40 +02:00
|
|
|
= help: only `code` and `applicability` are valid nested attributes
|
|
|
|
|
|
|
|
error: suggestion without `code = "..."`
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:240:5
|
2022-09-14 17:19:40 +02:00
|
|
|
|
|
|
|
|
LL | #[suggestion(msg = "bar")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-08-27 20:00:21 +10:00
|
|
|
|
|
|
|
error: wrong field type for suggestion
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:263:5
|
2020-08-27 20:00:21 +10:00
|
|
|
|
|
2022-06-23 14:51:44 +01:00
|
|
|
LL | / #[suggestion(typeck::suggestion, code = "This is suggested code")]
|
2020-11-18 11:18:40 +01:00
|
|
|
LL | |
|
|
|
|
LL | | suggestion: Applicability,
|
|
|
|
| |_____________________________^
|
2020-08-27 20:00:21 +10:00
|
|
|
|
|
2022-03-30 10:04:03 +01:00
|
|
|
= help: `#[suggestion(...)]` should be applied to fields of type `Span` or `(Span, Applicability)`
|
2020-08-27 20:00:21 +10:00
|
|
|
|
2022-09-10 14:43:07 +02:00
|
|
|
error: specified multiple times
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:279:24
|
2020-08-27 20:00:21 +10:00
|
|
|
|
|
2022-09-10 14:43:07 +02:00
|
|
|
LL | suggestion: (Span, Span, Applicability),
|
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
|
note: previously specified here
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:279:18
|
2022-09-10 14:43:07 +02:00
|
|
|
|
|
|
|
|
LL | suggestion: (Span, Span, Applicability),
|
|
|
|
| ^^^^
|
2020-08-27 20:00:21 +10:00
|
|
|
|
2022-09-10 14:43:07 +02:00
|
|
|
error: specified multiple times
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:287:33
|
2020-08-27 20:00:21 +10:00
|
|
|
|
|
2022-09-10 14:43:07 +02:00
|
|
|
LL | suggestion: (Applicability, Applicability, Span),
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: previously specified here
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:287:18
|
2022-09-10 14:43:07 +02:00
|
|
|
|
|
|
|
|
LL | suggestion: (Applicability, Applicability, Span),
|
|
|
|
| ^^^^^^^^^^^^^
|
2020-08-27 20:00:21 +10:00
|
|
|
|
2022-06-23 14:51:44 +01:00
|
|
|
error: `#[label = ...]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:294:5
|
2022-04-27 04:06:13 +01:00
|
|
|
|
|
2022-06-23 14:51:44 +01:00
|
|
|
LL | #[label = "bar"]
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
2020-08-27 20:00:21 +10:00
|
|
|
|
2022-09-10 14:48:01 +02:00
|
|
|
error: specified multiple times
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:445:52
|
2022-04-27 05:43:36 +01:00
|
|
|
|
|
2022-06-23 14:51:44 +01:00
|
|
|
LL | #[suggestion(typeck::suggestion, code = "...", applicability = "maybe-incorrect")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-09-10 14:48:01 +02:00
|
|
|
|
|
|
|
|
note: previously specified here
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:447:24
|
2022-09-10 14:48:01 +02:00
|
|
|
|
|
|
|
|
LL | suggestion: (Span, Applicability),
|
|
|
|
| ^^^^^^^^^^^^^
|
2022-04-27 05:43:36 +01:00
|
|
|
|
|
|
|
error: invalid applicability
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:453:52
|
2022-06-23 14:51:44 +01:00
|
|
|
|
|
|
|
|
LL | #[suggestion(typeck::suggestion, code = "...", applicability = "batman")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2022-09-14 17:19:40 +02:00
|
|
|
error: `#[label(foo)]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:516:28
|
2022-06-23 14:51:44 +01:00
|
|
|
|
|
|
|
|
LL | #[label(typeck::label, foo)]
|
2022-09-14 17:19:40 +02:00
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
= help: a diagnostic slug must be the first argument to the attribute
|
2022-06-23 14:51:44 +01:00
|
|
|
|
2022-09-14 17:19:40 +02:00
|
|
|
error: `#[label(foo = ...)]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:524:28
|
2022-06-23 14:51:44 +01:00
|
|
|
|
|
|
|
|
LL | #[label(typeck::label, foo = "...")]
|
2022-09-14 17:19:40 +02:00
|
|
|
| ^^^^^^^^^^^
|
2022-06-23 14:51:44 +01:00
|
|
|
|
2022-09-14 17:19:40 +02:00
|
|
|
error: `#[label(foo(...))]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:532:28
|
2022-04-27 05:43:36 +01:00
|
|
|
|
|
2022-06-23 14:51:44 +01:00
|
|
|
LL | #[label(typeck::label, foo("..."))]
|
2022-09-14 17:19:40 +02:00
|
|
|
| ^^^^^^^^^^
|
2022-04-27 05:43:36 +01:00
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
error: `#[primary_span]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:545:5
|
2022-06-30 08:57:45 +01:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | #[primary_span]
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2022-06-30 08:57:45 +01:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
= help: the `primary_span` field attribute is not valid for lint diagnostics
|
2022-06-30 08:57:45 +01:00
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
error: `#[error(...)]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:565:1
|
2022-06-30 08:57:45 +01:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | #[error(typeck::ambiguous_lifetime_bound, code = "E0123")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-06-30 08:57:45 +01:00
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
error: diagnostic slug not specified
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:565:1
|
2022-08-19 15:04:34 +02:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | / #[error(typeck::ambiguous_lifetime_bound, code = "E0123")]
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | struct ErrorAttribute {}
|
|
|
|
| |________________________^
|
2022-08-19 15:04:34 +02:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
= help: specify the slug as the first argument to the `#[diag(...)]` attribute, such as `#[diag(typeck::example_error)]`
|
|
|
|
|
2022-08-24 17:57:10 +02:00
|
|
|
error: `#[warn_(...)]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:572:1
|
2022-08-19 15:40:48 +02:00
|
|
|
|
|
2022-08-24 17:57:10 +02:00
|
|
|
LL | #[warn_(typeck::ambiguous_lifetime_bound, code = "E0123")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-08-19 15:40:48 +02:00
|
|
|
|
|
|
|
error: diagnostic slug not specified
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:572:1
|
2022-08-19 15:40:48 +02:00
|
|
|
|
|
2022-08-24 17:57:10 +02:00
|
|
|
LL | / #[warn_(typeck::ambiguous_lifetime_bound, code = "E0123")]
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | |
|
2022-08-24 17:57:10 +02:00
|
|
|
LL | | struct WarnAttribute {}
|
|
|
|
| |_______________________^
|
2022-08-19 15:40:48 +02:00
|
|
|
|
|
|
|
|
= help: specify the slug as the first argument to the `#[diag(...)]` attribute, such as `#[diag(typeck::example_error)]`
|
|
|
|
|
|
|
|
error: `#[lint(...)]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:579:1
|
2022-08-19 15:40:48 +02:00
|
|
|
|
|
|
|
|
LL | #[lint(typeck::ambiguous_lifetime_bound, code = "E0123")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: diagnostic slug not specified
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:579:1
|
2022-08-19 15:40:48 +02:00
|
|
|
|
|
|
|
|
LL | / #[lint(typeck::ambiguous_lifetime_bound, code = "E0123")]
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | struct LintAttributeOnSessionDiag {}
|
|
|
|
| |____________________________________^
|
|
|
|
|
|
|
|
|
= help: specify the slug as the first argument to the `#[diag(...)]` attribute, such as `#[diag(typeck::example_error)]`
|
|
|
|
|
|
|
|
error: `#[lint(...)]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:586:1
|
2022-08-19 15:40:48 +02:00
|
|
|
|
|
|
|
|
LL | #[lint(typeck::ambiguous_lifetime_bound, code = "E0123")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: diagnostic slug not specified
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:586:1
|
2022-08-19 15:40:48 +02:00
|
|
|
|
|
|
|
|
LL | / #[lint(typeck::ambiguous_lifetime_bound, code = "E0123")]
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | struct LintAttributeOnLintDiag {}
|
|
|
|
| |_________________________________^
|
|
|
|
|
|
|
|
|
= help: specify the slug as the first argument to the attribute, such as `#[diag(typeck::example_error)]`
|
2022-08-19 15:04:34 +02:00
|
|
|
|
2022-09-10 14:28:12 +02:00
|
|
|
error: specified multiple times
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:595:52
|
2022-09-10 14:28:12 +02:00
|
|
|
|
|
|
|
|
LL | #[suggestion(typeck::suggestion, code = "...", code = ",,,")]
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: previously specified here
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:595:38
|
2022-09-10 14:28:12 +02:00
|
|
|
|
|
|
|
|
LL | #[suggestion(typeck::suggestion, code = "...", code = ",,,")]
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
2022-09-10 14:43:07 +02:00
|
|
|
error: wrong types for suggestion
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:604:24
|
2022-09-10 14:43:07 +02:00
|
|
|
|
|
|
|
|
LL | suggestion: (Span, usize),
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= help: `#[suggestion(...)]` on a tuple field must be applied to fields of type `(Span, Applicability)`
|
|
|
|
|
|
|
|
error: wrong types for suggestion
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:612:17
|
2022-09-10 14:43:07 +02:00
|
|
|
|
|
|
|
|
LL | suggestion: (Span,),
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
|
= help: `#[suggestion(...)]` on a tuple field must be applied to fields of type `(Span, Applicability)`
|
|
|
|
|
2022-09-14 17:19:40 +02:00
|
|
|
error: suggestion without `code = "..."`
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:619:5
|
2022-09-14 17:19:40 +02:00
|
|
|
|
|
|
|
|
LL | #[suggestion(typeck::suggestion)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: `#[multipart_suggestion(...)]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:626:1
|
2022-09-14 17:19:40 +02:00
|
|
|
|
|
|
|
|
LL | #[multipart_suggestion(typeck::suggestion)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: consider creating a `Subdiagnostic` instead
|
|
|
|
|
|
|
|
error: `#[multipart_suggestion(...)]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:629:1
|
2022-09-14 17:19:40 +02:00
|
|
|
|
|
|
|
|
LL | #[multipart_suggestion()]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: consider creating a `Subdiagnostic` instead
|
|
|
|
|
|
|
|
error: `#[multipart_suggestion(...)]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:633:5
|
2022-09-14 17:19:40 +02:00
|
|
|
|
|
|
|
|
LL | #[multipart_suggestion(typeck::suggestion)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: consider creating a `Subdiagnostic` instead
|
|
|
|
|
|
|
|
error: `#[suggestion(...)]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:641:1
|
2022-09-14 17:19:40 +02:00
|
|
|
|
|
|
|
|
LL | #[suggestion(typeck::suggestion, code = "...")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: `#[label]` and `#[suggestion]` can only be applied to fields
|
|
|
|
|
|
|
|
error: `#[label]` is not a valid attribute
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:650:1
|
2022-09-14 17:19:40 +02:00
|
|
|
|
|
|
|
|
LL | #[label]
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: `#[label]` and `#[suggestion]` can only be applied to fields
|
|
|
|
|
2022-03-31 08:35:17 +01:00
|
|
|
error: cannot find attribute `nonsense` in this scope
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:55:3
|
2022-03-31 08:35:17 +01:00
|
|
|
|
|
2022-06-23 14:51:44 +01:00
|
|
|
LL | #[nonsense(typeck::ambiguous_lifetime_bound, code = "E0123")]
|
2022-03-31 08:35:17 +01:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: cannot find attribute `nonsense` in this scope
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:145:7
|
2022-03-31 08:35:17 +01:00
|
|
|
|
|
|
|
|
LL | #[nonsense]
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
error: cannot find attribute `error` in this scope
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:565:3
|
2022-08-19 15:40:48 +02:00
|
|
|
|
|
|
|
|
LL | #[error(typeck::ambiguous_lifetime_bound, code = "E0123")]
|
|
|
|
| ^^^^^
|
|
|
|
|
2022-08-24 17:57:10 +02:00
|
|
|
error: cannot find attribute `warn_` in this scope
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:572:3
|
2022-08-19 15:40:48 +02:00
|
|
|
|
|
2022-08-24 17:57:10 +02:00
|
|
|
LL | #[warn_(typeck::ambiguous_lifetime_bound, code = "E0123")]
|
|
|
|
| ^^^^^ help: a built-in attribute with a similar name exists: `warn`
|
2022-08-19 15:40:48 +02:00
|
|
|
|
|
|
|
error: cannot find attribute `lint` in this scope
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:579:3
|
2022-08-19 15:40:48 +02:00
|
|
|
|
|
|
|
|
LL | #[lint(typeck::ambiguous_lifetime_bound, code = "E0123")]
|
|
|
|
| ^^^^ help: a built-in attribute with a similar name exists: `link`
|
|
|
|
|
|
|
|
error: cannot find attribute `lint` in this scope
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:586:3
|
2022-08-19 15:40:48 +02:00
|
|
|
|
|
|
|
|
LL | #[lint(typeck::ambiguous_lifetime_bound, code = "E0123")]
|
|
|
|
| ^^^^ help: a built-in attribute with a similar name exists: `link`
|
|
|
|
|
2022-09-14 17:19:40 +02:00
|
|
|
error: cannot find attribute `multipart_suggestion` in this scope
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:626:3
|
2022-09-14 17:19:40 +02:00
|
|
|
|
|
|
|
|
LL | #[multipart_suggestion(typeck::suggestion)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: cannot find attribute `multipart_suggestion` in this scope
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:629:3
|
2022-09-14 17:19:40 +02:00
|
|
|
|
|
|
|
|
LL | #[multipart_suggestion()]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: cannot find attribute `multipart_suggestion` in this scope
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:633:7
|
2022-09-14 17:19:40 +02:00
|
|
|
|
|
|
|
|
LL | #[multipart_suggestion(typeck::suggestion)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2022-06-23 14:51:44 +01:00
|
|
|
error[E0425]: cannot find value `nonsense` in module `rustc_errors::fluent`
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:68:8
|
2022-06-23 14:51:44 +01:00
|
|
|
|
|
2022-08-19 15:40:48 +02:00
|
|
|
LL | #[diag(nonsense, code = "E0123")]
|
|
|
|
| ^^^^^^^^ not found in `rustc_errors::fluent`
|
2022-06-23 14:51:44 +01:00
|
|
|
|
2022-05-07 07:26:03 +01:00
|
|
|
error[E0277]: the trait bound `Hello: IntoDiagnosticArg` is not satisfied
|
2022-09-23 12:49:02 +01:00
|
|
|
--> $DIR/diagnostic-derive.rs:338:10
|
2022-03-31 09:02:31 +01:00
|
|
|
|
|
2022-09-18 11:46:56 -04:00
|
|
|
LL | #[derive(Diagnostic)]
|
2022-09-15 00:01:44 -04:00
|
|
|
| ^^^^^^^^^^ the trait `IntoDiagnosticArg` is not implemented for `Hello`
|
2022-05-07 07:26:03 +01:00
|
|
|
|
|
2022-06-29 09:21:44 +01:00
|
|
|
= help: normalized in stderr
|
2022-05-07 07:26:03 +01:00
|
|
|
note: required by a bound in `DiagnosticBuilder::<'a, G>::set_arg`
|
2022-08-31 14:46:51 +00:00
|
|
|
--> $COMPILER_DIR/rustc_errors/src/diagnostic_builder.rs:LL:CC
|
2022-05-07 07:26:03 +01:00
|
|
|
|
|
|
|
|
LL | arg: impl IntoDiagnosticArg,
|
|
|
|
| ^^^^^^^^^^^^^^^^^ required by this bound in `DiagnosticBuilder::<'a, G>::set_arg`
|
2022-09-18 11:46:56 -04:00
|
|
|
= note: this error originates in the derive macro `Diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2022-03-31 09:02:31 +01:00
|
|
|
|
2022-09-23 12:49:02 +01:00
|
|
|
error: aborting due to 74 previous errors
|
2020-08-27 20:00:21 +10:00
|
|
|
|
2022-06-23 14:51:44 +01:00
|
|
|
Some errors have detailed explanations: E0277, E0425.
|
|
|
|
For more information about an error, try `rustc --explain E0277`.
|