summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0390.stderr
blob: 0e5a9ca762b768ff2bde803695dfcac6697a9108 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
error[E0390]: cannot define inherent `impl` for primitive types
  --> $DIR/E0390.rs:5:6
   |
LL | impl *mut Foo {}
   |      ^^^^^^^^
   |
   = help: consider using an extension trait instead

error[E0390]: cannot define inherent `impl` for primitive types
  --> $DIR/E0390.rs:7:6
   |
LL | impl fn(Foo) {}
   |      ^^^^^^^
   |
   = help: consider using an extension trait instead

error: aborting due to 2 previous errors

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