fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
453 B13 linesraw
1error[E0152]: found duplicate lang item `owned_box`
2  --> $DIR/E0152.rs:5:1
3   |
4LL | 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
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0152`.