fork/rust

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

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

1.44.0
439 B15 linesraw
1error[E0390]: only a single inherent implementation marked with `#[lang = "mut_ptr"]` is allowed for the `*mut T` primitive
2  --> $DIR/E0390.rs:5:1
3   |
4LL | impl *mut Foo {}
5   | ^^^^^^^^^^^^^^^^
6   |
7help: consider using a trait to implement these methods
8  --> $DIR/E0390.rs:5:1
9   |
10LL | impl *mut Foo {}
11   | ^^^^^^^^^^^^^^^^
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0390`.