fork/rust

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

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

1.44.0
503 B14 linesraw
1error[E0038]: the trait `issue_3907::Foo` cannot be made into an object
2  --> $DIR/issue-3907-2.rs:11:12
3   |
4LL | fn bar(_x: Foo) {}
5   |            ^^^ the trait `issue_3907::Foo` cannot be made into an object
6   | 
7  ::: $DIR/auxiliary/issue-3907.rs:2:8
8   |
9LL |     fn bar();
10   |        --- the trait cannot be made into an object because associated function `bar` has no `self` parameter
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0038`.