mirror of
https://github.com/Steffo99/micronfig.git
synced 2024-11-26 01:54:18 +00:00
Test what happens when mixing implicit and explicit types
This commit is contained in:
parent
5371080327
commit
ee70746f8c
2 changed files with 11 additions and 1 deletions
9
micronfig_macros/tests/sources/string_multi_mixed.rs
Normal file
9
micronfig_macros/tests/sources/string_multi_mixed.rs
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
micronfig::config! {
|
||||||
|
GARAS,
|
||||||
|
AUTO: String,
|
||||||
|
BUS,
|
||||||
|
}
|
||||||
|
|
||||||
|
fn main() {
|
||||||
|
println!("{:?} {:?} {:?}", GARAS(), AUTO(), BUS())
|
||||||
|
}
|
|
@ -21,3 +21,4 @@ pass!(string_single_explicit);
|
||||||
pass!(string_single_implicit);
|
pass!(string_single_implicit);
|
||||||
pass!(string_multi_explicit);
|
pass!(string_multi_explicit);
|
||||||
pass!(string_multi_implicit);
|
pass!(string_multi_implicit);
|
||||||
|
pass!(string_multi_mixed);
|
||||||
|
|
Loading…
Reference in a new issue