error: The binary_benchmark_groups argument needs at least one `name` of a `binary_benchmark_group!` --> tests/ui/test_main_invalid_binary_benchmark_groups.rs:27:5 | 27 | main!(binary_benchmark_groups = ); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the macro `main` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0433]: failed to resolve: use of undeclared crate or module `some_func` --> tests/ui/test_main_invalid_binary_benchmark_groups.rs:6:37 | 6 | main!(binary_benchmark_groups = some_func); | ^^^^^^^^^ use of undeclared crate or module `some_func` error[E0277]: the trait bound `InternalBinaryBenchmarkConfig: From<&str>` is not satisfied --> tests/ui/test_main_invalid_binary_benchmark_groups.rs:20:18 | 19 | / main!( 20 | | config = "some string"; | | ^^^^^^^^^^^^^ the trait `From<&str>` is not implemented for `InternalBinaryBenchmarkConfig` 21 | | binary_benchmark_groups = some 22 | | ); | |_____- required by a bound introduced by this call | = help: the following other types implement trait `From`: > > > = note: required for `&str` to implement `Into`