-
Notifications
You must be signed in to change notification settings - Fork 61
/
report.stderr
23 lines (21 loc) · 1 KB
/
report.stderr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
error: `#[snafu::report]` may only be used on functions
--> tests/ui/report.rs:4:1
|
4 | const NOT_HERE: u8 = 42;
| ^^^^^
error[E0277]: the trait bound `(): __InternalExtractErrorType` is not satisfied
--> tests/ui/report.rs:6:1
|
6 | #[snafu::report]
| ^^^^^^^^^^^^^^^^ the trait `__InternalExtractErrorType` is not implemented for `()`
|
= help: the trait `__InternalExtractErrorType` is implemented for `Result<T, E>`
= note: this error originates in the attribute macro `snafu::report` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `ExitCode: __InternalExtractErrorType` is not satisfied
--> tests/ui/report.rs:9:1
|
9 | #[snafu::report]
| ^^^^^^^^^^^^^^^^ the trait `__InternalExtractErrorType` is not implemented for `ExitCode`
|
= help: the trait `__InternalExtractErrorType` is implemented for `Result<T, E>`
= note: this error originates in the attribute macro `snafu::report` (in Nightly builds, run with -Z macro-backtrace for more info)