]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0116.stderr
Merge commit '266e96785ab71834b917bf474f130a6d8fdecd4b' into sync_cg_clif-2022-10-23
[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`.