mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 17:53:56 +00:00
10 lines
383 B
Plaintext
10 lines
383 B
Plaintext
error[E0121]: the placeholder `_` is not allowed within types on item signatures for associated constants
|
|
--> $DIR/infer-placeholder-in-non-suggestable-pos.rs:6:26
|
|
|
|
|
LL | const ASSOC: &dyn Fn(_) = 1i32;
|
|
| ^ not allowed in type signatures
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0121`.
|