]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0116.stderr
Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup
[rust.git] / src / test / ui / error-codes / E0116.stderr
1 error[E0116]: cannot define inherent `impl` for a type outside of the crate where the type is defined
2   --> $DIR/E0116.rs:1:1
3    |
4 LL | impl Vec<u8> {}
5    | ^^^^^^^^^^^^^^^ impl for type defined outside of crate.
6    |
7    = note: define and implement a trait or new type instead
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0116`.