We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6735a6 commit b361864Copy full SHA for b361864
src/test/ui/error-codes/E0121.stderr
@@ -11,7 +11,10 @@ error[E0121]: the type placeholder `_` is not allowed within types on item signa
11
--> $DIR/E0121.rs:3:13
12
|
13
LL | static BAR: _ = "test";
14
- | ^ not allowed in type signatures
+ | ^
15
+ | |
16
+ | not allowed in type signatures
17
+ | help: replace `_` with the correct return type: `&'static str`
18
19
error: aborting due to 2 previous errors
20
0 commit comments