fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
411 B14 linesraw
1error: functions used as benches must have signature `fn(&mut Bencher) -> impl Termination`
2  --> $DIR/issue-12997-1.rs:8:1
3   |
4LL | fn foo() { }
5   | ^^^^^^^^^^^^
6
7error: functions used as benches must have signature `fn(&mut Bencher) -> impl Termination`
8  --> $DIR/issue-12997-1.rs:11:1
9   |
10LL | fn bar(x: isize, y: isize) { }
11   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13error: aborting due to 2 previous errors
14