]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0390.stderr
Rollup merge of #47846 - roblabla:bugfix-ocaml, r=kennytm
[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:15:1
3    |
4 15 | impl *mut Foo {} //~ ERROR E0390
5    | ^^^^^^^^^^^^^^^^
6    |
7 help: consider using a trait to implement these methods
8   --> $DIR/E0390.rs:15:1
9    |
10 15 | impl *mut Foo {} //~ ERROR E0390
11    | ^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14