]> git.proxmox.com Git - rustc.git/blob - src/test/ui/error-codes/E0152.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.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`.