summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0390.stderr
blob: fda2c2e2fe01b51e907b72d7a2922bb65aeb4ffd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0390]: only a single inherent implementation marked with `#[lang = "mut_ptr"]` is allowed for the `*mut T` primitive
  --> $DIR/E0390.rs:15:1
   |
LL | impl *mut Foo {} //~ ERROR E0390
   | ^^^^^^^^^^^^^^^^
   |
help: consider using a trait to implement these methods
  --> $DIR/E0390.rs:15:1
   |
LL | impl *mut Foo {} //~ ERROR E0390
   | ^^^^^^^^^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0390`.