fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
414 B16 linesraw
1error: lifetime parameter `'f` only used once
2  --> $DIR/one-use-in-inherent-impl-header.rs:12:6
3   |
4LL | impl<'f> Foo<'f> {
5   |      ^^      -- ...is used only here
6   |      |
7   |      this lifetime...
8   |
9note: the lint level is defined here
10  --> $DIR/one-use-in-inherent-impl-header.rs:1:9
11   |
12LL | #![deny(single_use_lifetimes)]
13   |         ^^^^^^^^^^^^^^^^^^^^
14
15error: aborting due to previous error
16