fork/rust

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

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

master
696 B20 linesraw
1error[E0392]: parameter `'a` is never used
2  --> $DIR/issue-36299.rs:1:12
3   |
4LL | struct Foo<'a, A> {}
5   |            ^^ unused parameter
6   |
7   = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData`
8
9error[E0392]: parameter `A` is never used
10  --> $DIR/issue-36299.rs:1:16
11   |
12LL | struct Foo<'a, A> {}
13   |                ^ unused parameter
14   |
15   = help: consider removing `A`, referring to it in a field, or using a marker such as `PhantomData`
16   = help: if you intended `A` to be a const parameter, use `const A: usize` instead
17
18error: aborting due to 2 previous errors
19
20For more information about this error, try `rustc --explain E0392`.