fork/rust

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

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

master
486 B16 linesraw
1error[E0366]: `Drop` impls cannot be specialized
2  --> $DIR/issue-38868.rs:5:1
3   |
4LL | impl Drop for List<i32> {
5   | ^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: `i32` is not a generic parameter
8note: use the same sequence of generic lifetime, type and const parameters as the struct definition
9  --> $DIR/issue-38868.rs:1:1
10   |
11LL | pub struct List<T> {
12   | ^^^^^^^^^^^^^^^^^^
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0366`.