]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0152.stderr
Rollup merge of #97915 - tbu-:pr_os_string_fmt_write, r=joshtriplett
[rust.git] / src / test / ui / error-codes / E0152.stderr
1 error[E0152]: found duplicate lang item `owned_box`
2   --> $DIR/E0152.rs:5:1
3    |
4 LL | struct Foo<T>(T);
5    | ^^^^^^^^^^^^^
6    |
7    = note: the lang item is first defined in crate `alloc` (which `std` depends on)
8    = note: first definition in `alloc` loaded from SYSROOT/liballoc-*.rlib
9    = note: second definition in the local crate (`E0152`)
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0152`.