blob: 8684457a978bd9a921193bfc4a792e22bc14ce0f [file] [edit]
error[E0107]: missing generics for enum `std::option::Option`
--> $DIR/const-ctor-with-error.rs:17:19
|
LL | pass_enum::<{ None }>();
| ^^^^ expected 1 generic argument
|
help: add missing generic argument
|
LL | pass_enum::<{ None<T> }>();
| +++
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0107`.