]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/crashes/ice-2774.stderr
Rollup merge of #78769 - est31:remove_lifetimes, r=KodrAus
[rust.git] / src / tools / clippy / tests / ui / crashes / ice-2774.stderr
1 error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration)
2   --> $DIR/ice-2774.rs:15:1
3    |
4 LL | pub fn add_barfoos_to_foos<'a>(bars: &HashSet<&'a Bar>) {
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `-D clippy::needless-lifetimes` implied by `-D warnings`
8
9 error: aborting due to previous error
10