error: Invalid argument: wrong = help: Valid arguments are: `args`, `config`, `setup`, teardown` --> tests/ui/test_library_benchmark_invalid_bench_arguments_when_config.rs:8:13 | 8 | #[bench::id(wrong = LibraryBenchmarkConfig::default())] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: unexpected end of input, expected an expression --> tests/ui/test_library_benchmark_invalid_bench_arguments_when_config.rs:12:22 | 12 | #[bench::id(config = )] | ^ error: Invalid argument: wrong = help: Valid arguments are: `args`, `file`, `config`, `setup`, `teardown` --> tests/ui/test_library_benchmark_invalid_bench_arguments_when_config.rs:16:18 | 16 | #[benches::wrong(wrong = LibraryBenchmarkConfig::default())] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: unexpected end of input, expected an expression --> tests/ui/test_library_benchmark_invalid_bench_arguments_when_config.rs:20:31 | 20 | #[benches::missing_expression(args = [], config = )] | ^^^^ error[E0277]: the trait bound `InternalLibraryBenchmarkConfig: From<&str>` is not satisfied --> tests/ui/test_library_benchmark_invalid_bench_arguments_when_config.rs:4:22 | 3 | #[library_benchmark] | -------------------- required by a bound introduced by this call 4 | #[bench::id(config = "some")] | ^^^^^^ the trait `From<&str>` is not implemented for `InternalLibraryBenchmarkConfig` | = help: the following other types implement trait `From`: > > > = note: required for `&str` to implement `Into`