]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0390.stderr
Rollup merge of #59056 - scottmcm:even-fewer-lifetimes, r=sfackler
[rust.git] / src / test / ui / error-codes / E0390.stderr
1 error[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    |
4 LL | impl *mut Foo {}
5    | ^^^^^^^^^^^^^^^^
6    |
7 help: consider using a trait to implement these methods
8   --> $DIR/E0390.rs:5:1
9    |
10 LL | impl *mut Foo {}
11    | ^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0390`.