mirror of
https://github.com/Steffo99/micronfig.git
synced 2024-12-24 04:54:19 +00:00
17 lines
798 B
Text
17 lines
798 B
Text
error[E0277]: the trait bound `u64: From<String>` is not satisfied
|
|
--> tests/sources/wrong_conversion_trait_from.rs:1:1
|
|
|
|
|
1 | / micronfig::config! {
|
|
2 | | GARASAUTO: String -> u64,
|
|
3 | | }
|
|
| |_^ the trait `From<String>` is not implemented for `u64`, which is required by `String: Into<_>`
|
|
|
|
|
= help: the following other types implement trait `From<T>`:
|
|
`u64` implements `From<Char>`
|
|
`u64` implements `From<bool>`
|
|
`u64` implements `From<char>`
|
|
`u64` implements `From<u16>`
|
|
`u64` implements `From<u32>`
|
|
`u64` implements `From<u8>`
|
|
= note: required for `String` to implement `Into<u64>`
|
|
= note: this error originates in the macro `micronfig::config` (in Nightly builds, run with -Z macro-backtrace for more info)
|