fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
694 B18 linesraw
1error[E0393]: the type parameter `Rhs` must be explicitly specified
2  --> $DIR/issue-21950.rs:5:18
3   |
4LL |             &dyn Add;
5   |                  ^^^ missing reference to `Rhs`
6   |
7   = note: because of the default `Self` reference, type parameters must be specified on object types
8
9error[E0191]: the value of the associated type `Output` (from the trait `std::ops::Add`) must be specified
10  --> $DIR/issue-21950.rs:5:14
11   |
12LL |             &dyn Add;
13   |              ^^^^^^^ associated type `Output` must be specified
14
15error: aborting due to 2 previous errors
16
17Some errors have detailed explanations: E0191, E0393.
18For more information about an error, try `rustc --explain E0191`.