You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
= note: this error originates in the macro `format` which comes from the expansion of the macro `outer` (in Nightly builds, run with -Z macro-backtrace for more info)
24
+
help: call `Into::into` on this expression to convert `String` into `Box<dyn std::error::Error>`
= note: this error originates in the macro `format` which comes from the expansion of the macro `entire_fn_outer` (in Nightly builds, run with -Z macro-backtrace for more info)
38
+
help: call `Into::into` on this expression to convert `String` into `Box<dyn std::error::Error>`
39
+
|
40
+
LL | Err(format!("error: {x}").into())
41
+
| +++++++
42
+
43
+
error: aborting due to 3 previous errors
44
+
45
+
For more information about this error, try `rustc --explain E0308`.
| | ^^^^^^^ expected `()`, found `Result<(), Error>`
33
+
LL | | }
34
+
| |_____- expected this to be `()`
35
+
|
36
+
= note: expected unit type `()`
37
+
found enum `Result<(), std::fmt::Error>`
38
+
= note: this error originates in the macro `writeln` which comes from the expansion of the macro `baz` (in Nightly builds, run with -Z macro-backtrace for more info)
39
+
help: consider using a semicolon here
40
+
|
41
+
LL | };
42
+
| +
43
+
help: you might have meant to return this value
44
+
|
45
+
LL | return baz!(w);
46
+
| ++++++ +
47
+
48
+
error: aborting due to 2 previous errors
49
+
50
+
For more information about this error, try `rustc --explain E0308`.
0 commit comments