Skip to content

rename: fix renaming toplevel names (#1260) #1066

rename: fix renaming toplevel names (#1260)

rename: fix renaming toplevel names (#1260) #1066

Triggered via push December 11, 2024 20:30
Status Success
Total duration 12m 17s
Artifacts 1

ci.yml

on: push
Matrix: Rust unit tests
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

799 warnings
Rustfmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
docs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
`to_string` applied to a type that implements `Display` in `print!` args: libcst/src/bin.rs#L29
warning: `to_string` applied to a type that implements `Display` in `print!` args --> libcst/src/bin.rs:29:35 | 29 | print!("{}", state.to_string()); | ^^^^^^^^^^^^ help: remove this | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args = note: `#[warn(clippy::to_string_in_format_args)]` on by default
use of `unwrap_or_else` to construct default value: libcst/src/bin.rs#L22
warning: use of `unwrap_or_else` to construct default value --> libcst/src/bin.rs:22:48 | 22 | let first_arg = env::args().nth(1).unwrap_or_else(|| "".to_string()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default = note: `#[warn(clippy::unwrap_or_default)]` on by default
manual implementation of `Option::map`: libcst/src/parser/grammar.rs#L3477
warning: manual implementation of `Option::map` --> libcst/src/parser/grammar.rs:3477:24 | 3477 | let lbracket_tok = if let Some(tp) = &type_parameters { | ________________________^ 3478 | | Some(tp.lbracket.tok) 3479 | | } else { 3480 | | None 3481 | | }; | |_____^ help: try: `type_parameters.as_ref().map(|tp| tp.lbracket.tok)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map = note: `#[warn(clippy::manual_map)]` on by default
unneeded `return` statement: libcst/src/parser/grammar.rs#L1907
warning: unneeded `return` statement --> libcst/src/parser/grammar.rs:1907:9 | 1907 | / return NameOrAttribute::A(Box::new(Attribute { 1908 | | attr: name, 1909 | | dot, 1910 | | lpar: Default::default(), 1911 | | rpar: Default::default(), 1912 | | value: Box::new(make_name_or_attr(first_tok, tail).into()), 1913 | | })); | |___________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `#[warn(clippy::needless_return)]` on by default help: remove `return` | 1907 ~ NameOrAttribute::A(Box::new(Attribute { 1908 + attr: name, 1909 + dot, 1910 + lpar: Default::default(), 1911 + rpar: Default::default(), 1912 + value: Box::new(make_name_or_attr(first_tok, tail).into()), 1913 ~ })) |
explicit call to `.into_iter()` in function argument accepting `IntoIterator`: libcst/src/parser/grammar.rs#L1898
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator` --> libcst/src/parser/grammar.rs:1898:25 | 1898 | a.into_iter().chain(b.into_iter()).collect() | ^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `b` | note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()` --> /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/iter/traits/iterator.rs:479:12 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion = note: `#[warn(clippy::useless_conversion)]` on by default
the following explicit lifetimes could be elided: 'a: libcst/src/parser/grammar.rs#L47
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/parser/grammar.rs:47:6 | 47 | impl<'a> Parse for TokVec<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 47 - impl<'a> Parse for TokVec<'a> { 47 + impl Parse for TokVec<'_> { |
this lifetime isn't used in the impl: libcst/src/parser/errors.rs#L81
warning: this lifetime isn't used in the impl --> libcst/src/parser/errors.rs:81:10 | 81 | impl<'a> PyErrArguments for Details { | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default
the following explicit lifetimes could be elided: 'a: libcst/src/parser/errors.rs#L43
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/parser/errors.rs:43:10 | 43 | impl<'a> From<ParserError<'a>> for PyErr { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 43 - impl<'a> From<ParserError<'a>> for PyErr { 43 + impl From<ParserError<'_>> for PyErr { |
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/traits.rs#L183
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/traits.rs:183:10 | 183 | impl<'a> TryIntoPy<PyObject> for &'a str { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 183 - impl<'a> TryIntoPy<PyObject> for &'a str { 183 + impl TryIntoPy<PyObject> for &str { |
`?Sized` bound is ignored because of a `Sized` requirement: libcst/src/nodes/traits.rs#L103
warning: `?Sized` bound is ignored because of a `Sized` requirement --> libcst/src/nodes/traits.rs:103:27 | 103 | impl<'a, T: Inflate<'a> + ?Sized> Inflate<'a> for Box<T> { | ^^^^^^ | note: `T` cannot be unsized because of the bound --> libcst/src/nodes/traits.rs:103:13 | 103 | impl<'a, T: Inflate<'a> + ?Sized> Inflate<'a> for Box<T> { | ^^^^^^^^^^^ = note: ...because `Inflate` has the bound `Sized` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_maybe_sized = note: `#[warn(clippy::needless_maybe_sized)]` on by default help: change the bounds that require `Sized`, or remove the `?Sized` bound | 103 - impl<'a, T: Inflate<'a> + ?Sized> Inflate<'a> for Box<T> { 103 + impl<'a, T: Inflate<'a>> Inflate<'a> for Box<T> { |
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/codegen.rs#L56
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/codegen.rs:56:6 | 56 | impl<'a> Default for CodegenState<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 56 - impl<'a> Default for CodegenState<'a> { 56 + impl Default for CodegenState<'_> { |
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/codegen.rs#L30
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/codegen.rs:30:6 | 30 | impl<'a> fmt::Display for CodegenState<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 30 - impl<'a> fmt::Display for CodegenState<'a> { 30 + impl fmt::Display for CodegenState<'_> { |
deref which would be done by auto-deref: libcst/src/nodes/module.rs#L63
warning: deref which would be done by auto-deref --> libcst/src/nodes/module.rs:63:18 | 63 | &mut (*self.eof_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^ help: try: `self.eof_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/module.rs#L54
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/module.rs:54:6 | 54 | impl<'r, 'a> Inflate<'a> for DeflatedModule<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 54 - impl<'r, 'a> Inflate<'a> for DeflatedModule<'r, 'a> { 54 + impl<'a> Inflate<'a> for DeflatedModule<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1415
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1415:18 | 1415 | &mut (*self.tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1411
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1411:18 | 1411 | &mut (*self.tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L1406
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:1406:6 | 1406 | impl<'r, 'a> Inflate<'a> for DeflatedBitOr<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1406 - impl<'r, 'a> Inflate<'a> for DeflatedBitOr<'r, 'a> { 1406 + impl<'a> Inflate<'a> for DeflatedBitOr<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1312
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1312:26 | 1312 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1308
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1308:26 | 1308 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1298
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1298:26 | 1298 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1294
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1294:26 | 1294 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1284
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1284:26 | 1284 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1280
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1280:26 | 1280 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1270
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1270:26 | 1270 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1266
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1266:26 | 1266 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1256
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1256:26 | 1256 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1252
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1252:26 | 1252 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1242
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1242:26 | 1242 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1238
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1238:26 | 1238 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1228
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1228:26 | 1228 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1224
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1224:26 | 1224 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1214
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1214:26 | 1214 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1210
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1210:26 | 1210 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1200
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1200:26 | 1200 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1196
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1196:26 | 1196 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1186
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1186:26 | 1186 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1182
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1182:26 | 1182 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1172
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1172:26 | 1172 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1168
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1168:26 | 1168 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1158
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1158:26 | 1158 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1154
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1154:26 | 1154 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1144
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1144:26 | 1144 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1140
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1140:26 | 1140 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L1133
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:1133:6 | 1133 | impl<'r, 'a> Inflate<'a> for DeflatedAugOp<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1133 - impl<'r, 'a> Inflate<'a> for DeflatedAugOp<'r, 'a> { 1133 + impl<'a> Inflate<'a> for DeflatedAugOp<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1034
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1034:18 | 1034 | &mut (*self.tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1030
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1030:18 | 1030 | &mut (*self.tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L1025
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:1025:6 | 1025 | impl<'r, 'a> Inflate<'a> for DeflatedColon<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1025 - impl<'r, 'a> Inflate<'a> for DeflatedColon<'r, 'a> { 1025 + impl<'a> Inflate<'a> for DeflatedColon<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1004
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1004:26 | 1004 | &mut (*in_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^ help: try: `in_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1000
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1000:26 | 1000 | &mut (*not_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^ help: try: `not_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L996
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:996:26 | 996 | &mut (*not_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^ help: try: `not_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L983
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:983:26 | 983 | &mut (*not_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^ help: try: `not_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L979
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:979:26 | 979 | &mut (*is_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^ help: try: `is_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L975
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:975:26 | 975 | &mut (*is_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^ help: try: `is_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L963
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:963:26 | 963 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L959
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:959:26 | 959 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L949
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:949:26 | 949 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L945
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:945:26 | 945 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L935
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:935:26 | 935 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L931
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:931:26 | 931 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L917
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:917:26 | 917 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L907
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:907:26 | 907 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L903
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:903:26 | 903 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L893
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:893:26 | 893 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L889
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:889:26 | 889 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L879
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:879:26 | 879 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L875
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:875:26 | 875 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L865
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:865:26 | 865 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L854
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:854:6 | 854 | impl<'r, 'a> Inflate<'a> for DeflatedCompOp<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 854 - impl<'r, 'a> Inflate<'a> for DeflatedCompOp<'r, 'a> { 854 + impl<'a> Inflate<'a> for DeflatedCompOp<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L697
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:697:26 | 697 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L693
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:693:26 | 693 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L683
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:683:26 | 683 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L679
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:679:26 | 679 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L669
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:669:26 | 669 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L665
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:665:26 | 665 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L655
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:655:26 | 655 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L651
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:651:26 | 651 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L641
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:641:26 | 641 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L637
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:637:26 | 637 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L627
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:627:26 | 627 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L623
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:623:26 | 623 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L613
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:613:26 | 613 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L609
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:609:26 | 609 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L599
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:599:26 | 599 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L595
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:595:26 | 595 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L585
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:585:26 | 585 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L581
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:581:26 | 581 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L571
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:571:26 | 571 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L567
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:567:26 | 567 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L557
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:557:26 | 557 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L553
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:553:26 | 553 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L543
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:543:26 | 543 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L539
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:539:26 | 539 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L529
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:529:26 | 529 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L525
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:525:26 | 525 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L518
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:518:6 | 518 | impl<'r, 'a> Inflate<'a> for DeflatedBinaryOp<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 518 - impl<'r, 'a> Inflate<'a> for DeflatedBinaryOp<'r, 'a> { 518 + impl<'a> Inflate<'a> for DeflatedBinaryOp<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L348
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:348:26 | 348 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L344
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:344:26 | 344 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L334
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:334:26 | 334 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L330
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:330:26 | 330 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L323
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:323:6 | 323 | impl<'r, 'a> Inflate<'a> for DeflatedBooleanOp<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 323 - impl<'r, 'a> Inflate<'a> for DeflatedBooleanOp<'r, 'a> { 323 + impl<'a> Inflate<'a> for DeflatedBooleanOp<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L279
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:279:26 | 279 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L272
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:272:26 | 272 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L265
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:265:26 | 265 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L258
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:258:26 | 258 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L251
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:251:6 | 251 | impl<'r, 'a> Inflate<'a> for DeflatedUnaryOp<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 251 - impl<'r, 'a> Inflate<'a> for DeflatedUnaryOp<'r, 'a> { 251 + impl<'a> Inflate<'a> for DeflatedUnaryOp<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L199
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:199:6 | 199 | impl<'r, 'a> Inflate<'a> for DeflatedImportStar<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 199 - impl<'r, 'a> Inflate<'a> for DeflatedImportStar<'r, 'a> { 199 + impl<'a> Inflate<'a> for DeflatedImportStar<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L180
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:180:55 | 180 | parse_parenthesizable_whitespace(config, &mut (*self.tok).whitespace_after.borrow_mut()) | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L176
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:176:55 | 176 | parse_parenthesizable_whitespace(config, &mut (*self.tok).whitespace_before.borrow_mut()) | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L174
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:174:6 | 174 | impl<'r, 'a> DeflatedDot<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 174 - impl<'r, 'a> DeflatedDot<'r, 'a> { 174 + impl<'a> DeflatedDot<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L162
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:162:6 | 162 | impl<'r, 'a> Inflate<'a> for DeflatedDot<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 162 - impl<'r, 'a> Inflate<'a> for DeflatedDot<'r, 'a> { 162 + impl<'a> Inflate<'a> for DeflatedDot<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L134
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:134:18 | 134 | &mut (*self.tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L130
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:130:18 | 130 | &mut (*self.tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L125
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:125:6 | 125 | impl<'r, 'a> Inflate<'a> for DeflatedAssignEqual<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 125 - impl<'r, 'a> Inflate<'a> for DeflatedAssignEqual<'r, 'a> { 125 + impl<'a> Inflate<'a> for DeflatedAssignEqual<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L96
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:96:18 | 96 | &mut (*self.tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L92
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:92:6 | 92 | impl<'r, 'a> DeflatedComma<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 92 - impl<'r, 'a> DeflatedComma<'r, 'a> { 92 + impl<'a> DeflatedComma<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L83
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:83:18 | 83 | &mut (*self.tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L79
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:79:18 | 79 | &mut (*self.tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L74
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:74:6 | 74 | impl<'r, 'a> Inflate<'a> for DeflatedComma<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 74 - impl<'r, 'a> Inflate<'a> for DeflatedComma<'r, 'a> { 74 + impl<'a> Inflate<'a> for DeflatedComma<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L46
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:46:50 | 46 | parse_simple_whitespace(config, &mut (*self.tok).whitespace_after.borrow_mut())?, | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L43
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:43:50 | 43 | parse_simple_whitespace(config, &mut (*self.tok).whitespace_before.borrow_mut())?, | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L39
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:39:6 | 39 | impl<'r, 'a> Inflate<'a> for DeflatedSemicolon<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 39 - impl<'r, 'a> Inflate<'a> for DeflatedSemicolon<'r, 'a> { 39 + impl<'a> Inflate<'a> for DeflatedSemicolon<'_, 'a> { |
`filter(..).map(..)` can be simplified as `filter_map(..)`: libcst/src/nodes/expression.rs#L2592
warning: `filter(..).map(..)` can be simplified as `filter_map(..)` --> libcst/src/nodes/expression.rs:2592:22 | 2592 | .filter(|x| x.is_some()) | ______________________^ 2593 | | .map(|x| x.as_ref().unwrap()) | |_________________________________________________^ help: try: `filter_map(|x| x.as_ref())` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_filter_map
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/expression.rs#L2562
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/expression.rs:2562:10 | 2562 | impl<'a> TryIntoPy<pyo3::PyObject> for DictElement<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2562 - impl<'a> TryIntoPy<pyo3::PyObject> for DictElement<'a> { 2562 + impl TryIntoPy<pyo3::PyObject> for DictElement<'_> { |
`filter(..).map(..)` can be simplified as `filter_map(..)`: libcst/src/nodes/expression.rs#L2547
warning: `filter(..).map(..)` can be simplified as `filter_map(..)` --> libcst/src/nodes/expression.rs:2547:22 | 2547 | .filter(|x| x.is_some()) | ______________________^ 2548 | | .map(|x| x.as_ref().unwrap()) | |_________________________________________________^ help: try: `filter_map(|x| x.as_ref())` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_filter_map = note: `#[warn(clippy::manual_filter_map)]` on by default
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/expression.rs#L2533
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/expression.rs:2533:10 | 2533 | impl<'a> TryIntoPy<pyo3::PyObject> for Element<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2533 - impl<'a> TryIntoPy<pyo3::PyObject> for Element<'a> { 2533 + impl TryIntoPy<pyo3::PyObject> for Element<'_> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L2498
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:2498:6 | 2498 | impl<'r, 'a> Inflate<'a> for DeflatedNamedExpr<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2498 - impl<'r, 'a> Inflate<'a> for DeflatedNamedExpr<'r, 'a> { 2498 + impl<'a> Inflate<'a> for DeflatedNamedExpr<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L2445
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:2445:6 | 2445 | impl<'r, 'a> Inflate<'a> for DeflatedFormattedString<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2445 - impl<'r, 'a> Inflate<'a> for DeflatedFormattedString<'r, 'a> { 2445 + impl<'a> Inflate<'a> for DeflatedFormattedString<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L2382
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:2382:18 | 2382 | &mut (*self.lbrace_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^^ help: try: `self.lbrace_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L2377
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:2377:6 | 2377 | impl<'r, 'a> Inflate<'a> for DeflatedFormattedStringExpression<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2377 - impl<'r, 'a> Inflate<'a> for DeflatedFormattedStringExpression<'r, 'a> { 2377 + impl<'a> Inflate<'a> for DeflatedFormattedStringExpression<'_, 'a> { |
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/expression.rs#L2355
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/expression.rs:2355:36 | 2355 | pub(crate) fn make_fstringtext<'r, 'a>(value: &'a str) -> DeflatedFormattedStringText<'r, 'a> { | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2355 - pub(crate) fn make_fstringtext<'r, 'a>(value: &'a str) -> DeflatedFormattedStringText<'r, 'a> { 2355 + pub(crate) fn make_fstringtext<'r>(value: &str) -> DeflatedFormattedStringText<'r, '_> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L2342
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:2342:6 | 2342 | impl<'r, 'a> Inflate<'a> for DeflatedFormattedStringText<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2342 - impl<'r, 'a> Inflate<'a> for DeflatedFormattedStringText<'r, 'a> { 2342 + impl<'a> Inflate<'a> for DeflatedFormattedStringText<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L2318
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:2318:6 | 2318 | impl<'r, 'a> Inflate<'a> for DeflatedSimpleString<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2318 - impl<'r, 'a> Inflate<'a> for DeflatedSimpleString<'r, 'a> { 2318 + impl<'a> Inflate<'a> for DeflatedSimpleString<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L2284
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:2284:18 | 2284 | &mut (*self.right_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.right_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L2277
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:2277:6 | 2277 | impl<'r, 'a> Inflate<'a> for DeflatedConcatenatedString<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2277 - impl<'r, 'a> Inflate<'a> for DeflatedConcatenatedString<'r, 'a> { 2277 + impl<'a> Inflate<'a> for DeflatedConcatenatedString<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L2224
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:2224:18 | 2224 | &mut (*self.await_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.await_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L2218
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:2218:6 | 2218 | impl<'r, 'a> Inflate<'a> for DeflatedAwait<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2218 - impl<'r, 'a> Inflate<'a> for DeflatedAwait<'r, 'a> { 2218 + impl<'a> Inflate<'a> for DeflatedAwait<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L2175
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:2175:22 | 2175 | &mut (*self.yield_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.yield_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L2168
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:2168:6 | 2168 | impl<'r, 'a> Inflate<'a> for DeflatedYield<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2168 - impl<'r, 'a> Inflate<'a> for DeflatedYield<'r, 'a> { 2168 + impl<'a> Inflate<'a> for DeflatedYield<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L2135
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:2135:6 | 2135 | impl<'r, 'a> Inflate<'a> for DeflatedYieldValue<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2135 - impl<'r, 'a> Inflate<'a> for DeflatedYieldValue<'r, 'a> { 2135 + impl<'a> Inflate<'a> for DeflatedYieldValue<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L2118
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:2118:18 | 2118 | &mut (*self.tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L2114
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:2114:18 | 2114 | &mut (*self.tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L2109
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:2109:6 | 2109 | impl<'r, 'a> Inflate<'a> for DeflatedFrom<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2109 - impl<'r, 'a> Inflate<'a> for DeflatedFrom<'r, 'a> { 2109 + impl<'a> Inflate<'a> for DeflatedFrom<'_, 'a> { |
this expression creates a reference which is immediately dereferenced by the compiler: libcst/src/nodes/expression.rs#L2055
warning: this expression creates a reference which is immediately dereferenced by the compiler --> libcst/src/nodes/expression.rs:2055:68 | 2055 | adjust_parameters_trailing_whitespace(config, &mut params, &self.colon.tok)?; | ^^^^^^^^^^^^^^^ help: change this to: `self.colon.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L2049
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:2049:22 | 2049 | &mut (*self.lambda_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^^ help: try: `self.lambda_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L2042
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:2042:6 | 2042 | impl<'r, 'a> Inflate<'a> for DeflatedLambda<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2042 - impl<'r, 'a> Inflate<'a> for DeflatedLambda<'r, 'a> { 2042 + impl<'a> Inflate<'a> for DeflatedLambda<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1996
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1996:18 | 1996 | &mut (*self.else_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^ help: try: `self.else_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1992
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1992:18 | 1992 | &mut (*self.else_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^ help: try: `self.else_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1987
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1987:18 | 1987 | &mut (*self.if_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^ help: try: `self.if_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1983
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1983:18 | 1983 | &mut (*self.if_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^ help: try: `self.if_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1976
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1976:6 | 1976 | impl<'r, 'a> Inflate<'a> for DeflatedIfExp<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1976 - impl<'r, 'a> Inflate<'a> for DeflatedIfExp<'r, 'a> { 1976 + impl<'a> Inflate<'a> for DeflatedIfExp<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1917
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1917:6 | 1917 | impl<'r, 'a> Inflate<'a> for DeflatedSubscript<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1917 - impl<'r, 'a> Inflate<'a> for DeflatedSubscript<'r, 'a> { 1917 + impl<'a> Inflate<'a> for DeflatedSubscript<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1888
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1888:6 | 1888 | impl<'r, 'a> Inflate<'a> for DeflatedSubscriptElement<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1888 - impl<'r, 'a> Inflate<'a> for DeflatedSubscriptElement<'r, 'a> { 1888 + impl<'a> Inflate<'a> for DeflatedSubscriptElement<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1844
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1844:6 | 1844 | impl<'r, 'a> Inflate<'a> for DeflatedSlice<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1844 - impl<'r, 'a> Inflate<'a> for DeflatedSlice<'r, 'a> { 1844 + impl<'a> Inflate<'a> for DeflatedSlice<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1800
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1800:6 | 1800 | impl<'r, 'a> Inflate<'a> for DeflatedIndex<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1800 - impl<'r, 'a> Inflate<'a> for DeflatedIndex<'r, 'a> { 1800 + impl<'a> Inflate<'a> for DeflatedIndex<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1758
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1758:18 | 1758 | &mut (*self.star_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^ help: try: `self.star_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1750
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1750:6 | 1750 | impl<'r, 'a> DeflatedStarredDictElement<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1750 - impl<'r, 'a> DeflatedStarredDictElement<'r, 'a> { 1750 + impl<'a> DeflatedStarredDictElement<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1645
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1645:6 | 1645 | impl<'r, 'a> DeflatedDictElement<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1645 - impl<'r, 'a> DeflatedDictElement<'r, 'a> { 1645 + impl<'a> DeflatedDictElement<'_, 'a> { |
large size difference between variants: libcst/src/nodes/expression.rs#L1633
warning: large size difference between variants --> libcst/src/nodes/expression.rs:1633:1 | 1633 | / pub enum DictElement<'a> { 1634 | |/ Simple { 1635 | || key: Expression<'a>, 1636 | || value: Expression<'a>, 1637 | || comma: Option<Comma<'a>>, ... || 1640 | || colon_tok: TokenRef<'a>, 1641 | || }, | ||_____- the largest variant contains at least 416 bytes 1642 | | Starred(StarredDictElement<'a>), | | ------------------------------- the second-largest variant contains at least 0 bytes 1643 | | } | |__^ the entire enum is at least 0 bytes | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant = note: `#[warn(clippy::large_enum_variant)]` on by default help: consider boxing the large fields to reduce the total size of the enum | 1637 ~ comma: Box<Option<Comma<'a>>>, 1638 | whitespace_before_colon: ParenthesizableWhitespace<'a>, 1639 ~ whitespace_after_colon: Box<ParenthesizableWhitespace<'a>>, |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1591
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1591:6 | 1591 | impl<'r, 'a> Inflate<'a> for DeflatedDict<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1591 - impl<'r, 'a> Inflate<'a> for DeflatedDict<'r, 'a> { 1591 + impl<'a> Inflate<'a> for DeflatedDict<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1541
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1541:6 | 1541 | impl<'r, 'a> Inflate<'a> for DeflatedSet<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1541 - impl<'r, 'a> Inflate<'a> for DeflatedSet<'r, 'a> { 1541 + impl<'a> Inflate<'a> for DeflatedSet<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1490
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1490:6 | 1490 | impl<'r, 'a> Inflate<'a> for DeflatedList<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1490 - impl<'r, 'a> Inflate<'a> for DeflatedList<'r, 'a> { 1490 + impl<'a> Inflate<'a> for DeflatedList<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1470
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1470:18 | 1470 | &mut (*self.if_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^ help: try: `self.if_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1466
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1466:18 | 1466 | &mut (*self.if_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^ help: try: `self.if_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1461
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1461:6 | 1461 | impl<'r, 'a> Inflate<'a> for DeflatedCompIf<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1461 - impl<'r, 'a> Inflate<'a> for DeflatedCompIf<'r, 'a> { 1461 + impl<'a> Inflate<'a> for DeflatedCompIf<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1406
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1406:18 | 1406 | &mut (*self.in_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^ help: try: `self.in_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1402
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1402:18 | 1402 | &mut (*self.in_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^ help: try: `self.in_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1397
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1397:18 | 1397 | &mut (*self.for_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^ help: try: `self.for_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1378
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1378:18 | 1378 | &mut (*self.for_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^ help: try: `self.for_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1373
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1373:6 | 1373 | impl<'r, 'a> Inflate<'a> for DeflatedCompFor<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1373 - impl<'r, 'a> Inflate<'a> for DeflatedCompFor<'r, 'a> { 1373 + impl<'a> Inflate<'a> for DeflatedCompFor<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1321
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1321:18 | 1321 | &mut (*self.tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1316
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1316:6 | 1316 | impl<'r, 'a> Inflate<'a> for DeflatedRightCurlyBrace<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1316 - impl<'r, 'a> Inflate<'a> for DeflatedRightCurlyBrace<'r, 'a> { 1316 + impl<'a> Inflate<'a> for DeflatedRightCurlyBrace<'_, 'a> { |
this `impl` can be derived: libcst/src/nodes/expression.rs#L1308
warning: this `impl` can be derived --> libcst/src/nodes/expression.rs:1308:1 | 1308 | / impl<'a> Default for RightCurlyBrace<'a> { 1309 | | fn default() -> Self { 1310 | | Self { 1311 | | whitespace_before: Default::default(), 1312 | | } 1313 | | } 1314 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls = help: remove the manual implementation... help: ...and instead derive it | 1303 + #[derive(Default)] 1304 | pub struct RightCurlyBrace<'a> { |
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/expression.rs#L1308
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/expression.rs:1308:6 | 1308 | impl<'a> Default for RightCurlyBrace<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1308 - impl<'a> Default for RightCurlyBrace<'a> { 1308 + impl Default for RightCurlyBrace<'_> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1289
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1289:18 | 1289 | &mut (*self.tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1284
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1284:6 | 1284 | impl<'r, 'a> Inflate<'a> for DeflatedLeftCurlyBrace<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1284 - impl<'r, 'a> Inflate<'a> for DeflatedLeftCurlyBrace<'r, 'a> { 1284 + impl<'a> Inflate<'a> for DeflatedLeftCurlyBrace<'_, 'a> { |
this `impl` can be derived: libcst/src/nodes/expression.rs#L1276
warning: this `impl` can be derived --> libcst/src/nodes/expression.rs:1276:1 | 1276 | / impl<'a> Default for LeftCurlyBrace<'a> { 1277 | | fn default() -> Self { 1278 | | Self { 1279 | | whitespace_after: Default::default(), 1280 | | } 1281 | | } 1282 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls = note: `#[warn(clippy::derivable_impls)]` on by default = help: remove the manual implementation... help: ...and instead derive it | 1271 + #[derive(Default)] 1272 | pub struct LeftCurlyBrace<'a> { |
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/expression.rs#L1276
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/expression.rs:1276:6 | 1276 | impl<'a> Default for LeftCurlyBrace<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1276 - impl<'a> Default for LeftCurlyBrace<'a> { 1276 + impl Default for LeftCurlyBrace<'_> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1235
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1235:18 | 1235 | &mut (*self.colon_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.colon_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1231
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1231:18 | 1231 | &mut (*self.colon_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.colon_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1223
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1223:6 | 1223 | impl<'r, 'a> Inflate<'a> for DeflatedDictComp<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1223 - impl<'r, 'a> Inflate<'a> for DeflatedDictComp<'r, 'a> { 1223 + impl<'a> Inflate<'a> for DeflatedDictComp<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1177
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1177:6 | 1177 | impl<'r, 'a> Inflate<'a> for DeflatedSetComp<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1177 - impl<'r, 'a> Inflate<'a> for DeflatedSetComp<'r, 'a> { 1177 + impl<'a> Inflate<'a> for DeflatedSetComp<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1161
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1161:18 | 1161 | &mut (*self.tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1156
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1156:6 | 1156 | impl<'r, 'a> Inflate<'a> for DeflatedRightSquareBracket<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1156 - impl<'r, 'a> Inflate<'a> for DeflatedRightSquareBracket<'r, 'a> { 1156 + impl<'a> Inflate<'a> for DeflatedRightSquareBracket<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1136
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1136:18 | 1136 | &mut (*self.tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1131
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1131:6 | 1131 | impl<'r, 'a> Inflate<'a> for DeflatedLeftSquareBracket<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1131 - impl<'r, 'a> Inflate<'a> for DeflatedLeftSquareBracket<'r, 'a> { 1131 + impl<'a> Inflate<'a> for DeflatedLeftSquareBracket<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1097
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1097:6 | 1097 | impl<'r, 'a> Inflate<'a> for DeflatedListComp<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1097 - impl<'r, 'a> Inflate<'a> for DeflatedListComp<'r, 'a> { 1097 + impl<'a> Inflate<'a> for DeflatedListComp<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1060
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1060:6 | 1060 | impl<'r, 'a> Inflate<'a> for DeflatedGeneratorExp<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1060 - impl<'r, 'a> Inflate<'a> for DeflatedGeneratorExp<'r, 'a> { 1060 + impl<'a> Inflate<'a> for DeflatedGeneratorExp<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1008
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1008:6 | 1008 | impl<'r, 'a> Inflate<'a> for DeflatedTuple<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1008 - impl<'r, 'a> Inflate<'a> for DeflatedTuple<'r, 'a> { 1008 + impl<'a> Inflate<'a> for DeflatedTuple<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L964
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:964:6 | 964 | impl<'r, 'a> DeflatedElement<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 964 - impl<'r, 'a> DeflatedElement<'r, 'a> { 964 + impl<'a> DeflatedElement<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L909
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:909:6 | 909 | impl<'r, 'a> Inflate<'a> for DeflatedStarredElement<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 909 - impl<'r, 'a> Inflate<'a> for DeflatedStarredElement<'r, 'a> { 909 + impl<'a> Inflate<'a> for DeflatedStarredElement<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L890
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:890:18 | 890 | &mut (*self.star_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^ help: try: `self.star_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L885
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:885:6 | 885 | impl<'r, 'a> DeflatedStarredElement<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 885 - impl<'r, 'a> DeflatedStarredElement<'r, 'a> { 885 + impl<'a> DeflatedStarredElement<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L862
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:862:6 | 862 | impl<'r, 'a> Inflate<'a> for DeflatedComparisonTarget<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 862 - impl<'r, 'a> Inflate<'a> for DeflatedComparisonTarget<'r, 'a> { 862 + impl<'a> Inflate<'a> for DeflatedComparisonTarget<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L806
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:806:6 | 806 | impl<'r, 'a> Inflate<'a> for DeflatedAttribute<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 806 - impl<'r, 'a> Inflate<'a> for DeflatedAttribute<'r, 'a> { 806 + impl<'a> Inflate<'a> for DeflatedAttribute<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L764
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:764:26 | 764 | &mut (*self.rpar_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^ help: try: `self.rpar_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L756
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:756:18 | 756 | &mut (*self.lpar_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^ help: try: `self.lpar_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L752
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:752:18 | 752 | &mut (*self.lpar_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^ help: try: `self.lpar_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L745
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:745:6 | 745 | impl<'r, 'a> Inflate<'a> for DeflatedCall<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 745 - impl<'r, 'a> Inflate<'a> for DeflatedCall<'r, 'a> { 745 + impl<'a> Inflate<'a> for DeflatedCall<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L714
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:714:6 | 714 | impl<'r, 'a> Inflate<'a> for DeflatedBooleanOperation<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 714 - impl<'r, 'a> Inflate<'a> for DeflatedBooleanOperation<'r, 'a> { 714 + impl<'a> Inflate<'a> for DeflatedBooleanOperation<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L677
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:677:6 | 677 | impl<'r, 'a> Inflate<'a> for DeflatedBinaryOperation<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 677 - impl<'r, 'a> Inflate<'a> for DeflatedBinaryOperation<'r, 'a> { 677 + impl<'a> Inflate<'a> for DeflatedBinaryOperation<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L642
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:642:6 | 642 | impl<'r, 'a> Inflate<'a> for DeflatedUnaryOperation<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 642 - impl<'r, 'a> Inflate<'a> for DeflatedUnaryOperation<'r, 'a> { 642 + impl<'a> Inflate<'a> for DeflatedUnaryOperation<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L609
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:609:6 | 609 | impl<'r, 'a> Inflate<'a> for DeflatedComparison<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 609 - impl<'r, 'a> Inflate<'a> for DeflatedComparison<'r, 'a> { 609 + impl<'a> Inflate<'a> for DeflatedComparison<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L578
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:578:6 | 578 | impl<'r, 'a> Inflate<'a> for DeflatedImaginary<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 578 - impl<'r, 'a> Inflate<'a> for DeflatedImaginary<'r, 'a> { 578 + impl<'a> Inflate<'a> for DeflatedImaginary<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L549
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:549:6 | 549 | impl<'r, 'a> Inflate<'a> for DeflatedFloat<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 549 - impl<'r, 'a> Inflate<'a> for DeflatedFloat<'r, 'a> { 549 + impl<'a> Inflate<'a> for DeflatedFloat<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L519
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:519:6 | 519 | impl<'r, 'a> Inflate<'a> for DeflatedInteger<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 519 - impl<'r, 'a> Inflate<'a> for DeflatedInteger<'r, 'a> { 519 + impl<'a> Inflate<'a> for DeflatedInteger<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L493
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:493:6 | 493 | impl<'r, 'a> Inflate<'a> for DeflatedEllipsis<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 493 - impl<'r, 'a> Inflate<'a> for DeflatedEllipsis<'r, 'a> { 493 + impl<'a> Inflate<'a> for DeflatedEllipsis<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L441
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:441:18 | 441 | &mut (*self.rpar_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^ help: try: `self.rpar_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L436
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:436:6 | 436 | impl<'r, 'a> Inflate<'a> for DeflatedRightParen<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 436 - impl<'r, 'a> Inflate<'a> for DeflatedRightParen<'r, 'a> { 436 + impl<'a> Inflate<'a> for DeflatedRightParen<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L414
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:414:18 | 414 | &mut (*self.lpar_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^ help: try: `self.lpar_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L409
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:409:6 | 409 | impl<'r, 'a> Inflate<'a> for DeflatedLeftParen<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 409 - impl<'r, 'a> Inflate<'a> for DeflatedLeftParen<'r, 'a> { 409 + impl<'a> Inflate<'a> for DeflatedLeftParen<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L334
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:334:6 | 334 | impl<'r, 'a> Inflate<'a> for DeflatedArg<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 334 - impl<'r, 'a> Inflate<'a> for DeflatedArg<'r, 'a> { 334 + impl<'a> Inflate<'a> for DeflatedArg<'_, 'a> { |
the following explicit lifetimes could be elided: 'r, 'a: libcst/src/nodes/expression.rs#L266
warning: the following explicit lifetimes could be elided: 'r, 'a --> libcst/src/nodes/expression.rs:266:6 | 266 | impl<'r, 'a> Default for DeflatedParam<'r, 'a> { | ^^ ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 266 - impl<'r, 'a> Default for DeflatedParam<'r, 'a> { 266 + impl Default for DeflatedParam<'_, '_> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L239
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:239:6 | 239 | impl<'r, 'a> Inflate<'a> for DeflatedParam<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 239 - impl<'r, 'a> Inflate<'a> for DeflatedParam<'r, 'a> { 239 + impl<'a> Inflate<'a> for DeflatedParam<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L201
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:201:6 | 201 | impl<'r, 'a> Inflate<'a> for DeflatedName<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 201 - impl<'r, 'a> Inflate<'a> for DeflatedName<'r, 'a> { 201 + impl<'a> Inflate<'a> for DeflatedName<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L186
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:186:6 | 186 | impl<'r, 'a> Inflate<'a> for DeflatedParamStar<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 186 - impl<'r, 'a> Inflate<'a> for DeflatedParamStar<'r, 'a> { 186 + impl<'a> Inflate<'a> for DeflatedParamStar<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L161
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:161:6 | 161 | impl<'r, 'a> Inflate<'a> for DeflatedParamSlash<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 161 - impl<'r, 'a> Inflate<'a> for DeflatedParamSlash<'r, 'a> { 161 + impl<'a> Inflate<'a> for DeflatedParamSlash<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L61
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:61:6 | 61 | impl<'r, 'a> Inflate<'a> for DeflatedParameters<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 61 - impl<'r, 'a> Inflate<'a> for DeflatedParameters<'r, 'a> { 61 + impl<'a> Inflate<'a> for DeflatedParameters<'_, 'a> { |
the following explicit lifetimes could be elided: 'r, 'a: libcst/src/nodes/expression.rs#L50
warning: the following explicit lifetimes could be elided: 'r, 'a --> libcst/src/nodes/expression.rs:50:6 | 50 | impl<'r, 'a> DeflatedParameters<'r, 'a> { | ^^ ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 50 - impl<'r, 'a> DeflatedParameters<'r, 'a> { 50 + impl DeflatedParameters<'_, '_> { |
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/expression.rs#L39
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/expression.rs:39:6 | 39 | impl<'a> Parameters<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 39 - impl<'a> Parameters<'a> { 39 + impl Parameters<'_> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3603
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3603:6 | 3603 | impl<'r, 'a> Inflate<'a> for DeflatedTypeAlias<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3603 - impl<'r, 'a> Inflate<'a> for DeflatedTypeAlias<'r, 'a> { 3603 + impl<'a> Inflate<'a> for DeflatedTypeAlias<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3551
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3551:6 | 3551 | impl<'r, 'a> Inflate<'a> for DeflatedTypeParameters<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3551 - impl<'r, 'a> Inflate<'a> for DeflatedTypeParameters<'r, 'a> { 3551 + impl<'a> Inflate<'a> for DeflatedTypeParameters<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3497
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3497:6 | 3497 | impl<'r, 'a> Inflate<'a> for DeflatedTypeParam<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3497 - impl<'r, 'a> Inflate<'a> for DeflatedTypeParam<'r, 'a> { 3497 + impl<'a> Inflate<'a> for DeflatedTypeParam<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3455
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3455:6 | 3455 | impl<'r, 'a> Inflate<'a> for DeflatedParamSpec<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3455 - impl<'r, 'a> Inflate<'a> for DeflatedParamSpec<'r, 'a> { 3455 + impl<'a> Inflate<'a> for DeflatedParamSpec<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3425
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3425:6 | 3425 | impl<'r, 'a> Inflate<'a> for DeflatedTypeVarTuple<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3425 - impl<'r, 'a> Inflate<'a> for DeflatedTypeVarTuple<'r, 'a> { 3425 + impl<'a> Inflate<'a> for DeflatedTypeVarTuple<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3398
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3398:6 | 3398 | impl<'r, 'a> Inflate<'a> for DeflatedTypeVar<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3398 - impl<'r, 'a> Inflate<'a> for DeflatedTypeVar<'r, 'a> { 3398 + impl<'a> Inflate<'a> for DeflatedTypeVar<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3367
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3367:6 | 3367 | impl<'r, 'a> Inflate<'a> for DeflatedMatchOr<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3367 - impl<'r, 'a> Inflate<'a> for DeflatedMatchOr<'r, 'a> { 3367 + impl<'a> Inflate<'a> for DeflatedMatchOr<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3340
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3340:6 | 3340 | impl<'r, 'a> Inflate<'a> for DeflatedMatchOrElement<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3340 - impl<'r, 'a> Inflate<'a> for DeflatedMatchOrElement<'r, 'a> { 3340 + impl<'a> Inflate<'a> for DeflatedMatchOrElement<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3291
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3291:6 | 3291 | impl<'r, 'a> Inflate<'a> for DeflatedMatchAs<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3291 - impl<'r, 'a> Inflate<'a> for DeflatedMatchAs<'r, 'a> { 3291 + impl<'a> Inflate<'a> for DeflatedMatchAs<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3220
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3220:6 | 3220 | impl<'r, 'a> DeflatedMatchKeywordElement<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3220 - impl<'r, 'a> DeflatedMatchKeywordElement<'r, 'a> { 3220 + impl<'a> DeflatedMatchKeywordElement<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3146
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3146:6 | 3146 | impl<'r, 'a> Inflate<'a> for DeflatedMatchClass<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3146 - impl<'r, 'a> Inflate<'a> for DeflatedMatchClass<'r, 'a> { 3146 + impl<'a> Inflate<'a> for DeflatedMatchClass<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3069
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3069:6 | 3069 | impl<'r, 'a> DeflatedMatchMappingElement<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3069 - impl<'r, 'a> DeflatedMatchMappingElement<'r, 'a> { 3069 + impl<'a> DeflatedMatchMappingElement<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3001
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3001:6 | 3001 | impl<'r, 'a> Inflate<'a> for DeflatedMatchMapping<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3001 - impl<'r, 'a> Inflate<'a> for DeflatedMatchMapping<'r, 'a> { 3001 + impl<'a> Inflate<'a> for DeflatedMatchMapping<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2938
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2938:6 | 2938 | impl<'r, 'a> DeflatedMatchStar<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2938 - impl<'r, 'a> DeflatedMatchStar<'r, 'a> { 2938 + impl<'a> DeflatedMatchStar<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2884
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2884:6 | 2884 | impl<'r, 'a> DeflatedMatchSequenceElement<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2884 - impl<'r, 'a> DeflatedMatchSequenceElement<'r, 'a> { 2884 + impl<'a> DeflatedMatchSequenceElement<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2838
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2838:6 | 2838 | impl<'r, 'a> DeflatedStarrableMatchSequenceElement<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2838 - impl<'r, 'a> DeflatedStarrableMatchSequenceElement<'r, 'a> { 2838 + impl<'a> DeflatedStarrableMatchSequenceElement<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2798
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2798:6 | 2798 | impl<'r, 'a> Inflate<'a> for DeflatedMatchTuple<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2798 - impl<'r, 'a> Inflate<'a> for DeflatedMatchTuple<'r, 'a> { 2798 + impl<'a> Inflate<'a> for DeflatedMatchTuple<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2750
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2750:6 | 2750 | impl<'r, 'a> Inflate<'a> for DeflatedMatchList<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2750 - impl<'r, 'a> Inflate<'a> for DeflatedMatchList<'r, 'a> { 2750 + impl<'a> Inflate<'a> for DeflatedMatchList<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2691
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2691:6 | 2691 | impl<'r, 'a> Inflate<'a> for DeflatedMatchSingleton<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2691 - impl<'r, 'a> Inflate<'a> for DeflatedMatchSingleton<'r, 'a> { 2691 + impl<'a> Inflate<'a> for DeflatedMatchSingleton<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2634
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2634:6 | 2634 | impl<'r, 'a> Inflate<'a> for DeflatedMatchValue<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2634 - impl<'r, 'a> Inflate<'a> for DeflatedMatchValue<'r, 'a> { 2634 + impl<'a> Inflate<'a> for DeflatedMatchValue<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2554
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2554:6 | 2554 | impl<'r, 'a> Inflate<'a> for DeflatedMatchCase<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2554 - impl<'r, 'a> Inflate<'a> for DeflatedMatchCase<'r, 'a> { 2554 + impl<'a> Inflate<'a> for DeflatedMatchCase<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2477
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2477:6 | 2477 | impl<'r, 'a> Inflate<'a> for DeflatedMatch<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2477 - impl<'r, 'a> Inflate<'a> for DeflatedMatch<'r, 'a> { 2477 + impl<'a> Inflate<'a> for DeflatedMatch<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L2403
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:2403:50 | 2403 | parse_simple_whitespace(config, &mut (*self.tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2399
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2399:6 | 2399 | impl<'r, 'a> Inflate<'a> for DeflatedDel<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2399 - impl<'r, 'a> Inflate<'a> for DeflatedDel<'r, 'a> { 2399 + impl<'a> Inflate<'a> for DeflatedDel<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L2342
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:2342:18 | 2342 | &mut (*self.colon_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.colon_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L2325
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:2325:50 | 2325 | parse_simple_whitespace(config, &mut (*self.with_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^^^ help: try: `self.with_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L2319
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:2319:22 | 2319 | &mut (*self.with_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^ help: try: `self.with_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2296
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2296:6 | 2296 | impl<'r, 'a> Inflate<'a> for DeflatedWith<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2296 - impl<'r, 'a> Inflate<'a> for DeflatedWith<'r, 'a> { 2296 + impl<'a> Inflate<'a> for DeflatedWith<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2198
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2198:6 | 2198 | impl<'r, 'a> DeflatedWithItem<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2198 - impl<'r, 'a> DeflatedWithItem<'r, 'a> { 2198 + impl<'a> DeflatedWithItem<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2157
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2157:6 | 2157 | impl<'r, 'a> Inflate<'a> for DeflatedAugAssign<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2157 - impl<'r, 'a> Inflate<'a> for DeflatedAugAssign<'r, 'a> { 2157 + impl<'a> Inflate<'a> for DeflatedAugAssign<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L2133
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:2133:50 | 2133 | parse_simple_whitespace(config, &mut (*self.try_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^^ help: try: `self.try_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L2129
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:2129:18 | 2129 | &mut (*self.try_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^ help: try: `self.try_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2124
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2124:6 | 2124 | impl<'r, 'a> Inflate<'a> for DeflatedTryStar<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2124 - impl<'r, 'a> Inflate<'a> for DeflatedTryStar<'r, 'a> { 2124 + impl<'a> Inflate<'a> for DeflatedTryStar<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L2073
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:2073:50 | 2073 | parse_simple_whitespace(config, &mut (*self.try_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^^ help: try: `self.try_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L2069
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:2069:18 | 2069 | &mut (*self.try_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^ help: try: `self.try_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2064
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2064:6 | 2064 | impl<'r, 'a> Inflate<'a> for DeflatedTry<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2064 - impl<'r, 'a> Inflate<'a> for DeflatedTry<'r, 'a> { 2064 + impl<'a> Inflate<'a> for DeflatedTry<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1995
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1995:6 | 1995 | impl<'r, 'a> Inflate<'a> for DeflatedExceptStarHandler<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1995 - impl<'r, 'a> Inflate<'a> for DeflatedExceptStarHandler<'r, 'a> { 1995 + impl<'a> Inflate<'a> for DeflatedExceptStarHandler<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1941
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1941:22 | 1941 | &mut (*self.colon_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.colon_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1933
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1933:18 | 1933 | &mut (*self.except_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^^ help: try: `self.except_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1928
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1928:18 | 1928 | &mut (*self.except_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^^ help: try: `self.except_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1923
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1923:6 | 1923 | impl<'r, 'a> Inflate<'a> for DeflatedExceptHandler<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1923 - impl<'r, 'a> Inflate<'a> for DeflatedExceptHandler<'r, 'a> { 1923 + impl<'a> Inflate<'a> for DeflatedExceptHandler<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1878
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1878:18 | 1878 | &mut (*self.colon_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.colon_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1873
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1873:18 | 1873 | &mut (*self.finally_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^^^ help: try: `self.finally_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1868
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1868:6 | 1868 | impl<'r, 'a> Inflate<'a> for DeflatedFinally<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1868 - impl<'r, 'a> Inflate<'a> for DeflatedFinally<'r, 'a> { 1868 + impl<'a> Inflate<'a> for DeflatedFinally<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1815
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1815:18 | 1815 | &mut (*self.colon_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.colon_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1788
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1788:50 | 1788 | parse_simple_whitespace(config, &mut (*self.class_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^^^^ help: try: `self.class_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1777
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1777:18 | 1777 | &mut (*self.class_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.class_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1772
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1772:6 | 1772 | impl<'r, 'a> Inflate<'a> for DeflatedClassDef<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1772 - impl<'r, 'a> Inflate<'a> for DeflatedClassDef<'r, 'a> { 1772 + impl<'a> Inflate<'a> for DeflatedClassDef<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1685
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1685:18 | 1685 | &mut (*self.colon_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.colon_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1681
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1681:50 | 1681 | parse_simple_whitespace(config, &mut (*self.while_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^^^^ help: try: `self.while_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1677
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1677:18 | 1677 | &mut (*self.while_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.while_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1672
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1672:6 | 1672 | impl<'r, 'a> Inflate<'a> for DeflatedWhile<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1672 - impl<'r, 'a> Inflate<'a> for DeflatedWhile<'r, 'a> { 1672 + impl<'a> Inflate<'a> for DeflatedWhile<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1619
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1619:18 | 1619 | &mut (*self.colon_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.colon_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1615
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1615:50 | 1615 | parse_simple_whitespace(config, &mut (*self.in_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^ help: try: `self.in_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1613
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1613:50 | 1613 | parse_simple_whitespace(config, &mut (*self.in_tok).whitespace_before.borrow_mut())?; | ^^^^^^^^^^^^^^ help: try: `self.in_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1610
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1610:50 | 1610 | parse_simple_whitespace(config, &mut (*self.for_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^^ help: try: `self.for_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1605
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1605:22 | 1605 | &mut (*self.for_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^ help: try: `self.for_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1583
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1583:6 | 1583 | impl<'r, 'a> Inflate<'a> for DeflatedFor<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1583 - impl<'r, 'a> Inflate<'a> for DeflatedFor<'r, 'a> { 1583 + impl<'a> Inflate<'a> for DeflatedFor<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1505
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1505:50 | 1505 | parse_simple_whitespace(config, &mut (*self.tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1501
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1501:6 | 1501 | impl<'r, 'a> Inflate<'a> for DeflatedNonlocal<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1501 - impl<'r, 'a> Inflate<'a> for DeflatedNonlocal<'r, 'a> { 1501 + impl<'a> Inflate<'a> for DeflatedNonlocal<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1460
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1460:50 | 1460 | parse_simple_whitespace(config, &mut (*self.tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1456
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1456:6 | 1456 | impl<'r, 'a> Inflate<'a> for DeflatedGlobal<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1456 - impl<'r, 'a> Inflate<'a> for DeflatedGlobal<'r, 'a> { 1456 + impl<'a> Inflate<'a> for DeflatedGlobal<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1427
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1427:6 | 1427 | impl<'r, 'a> Inflate<'a> for DeflatedNameItem<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1427 - impl<'r, 'a> Inflate<'a> for DeflatedNameItem<'r, 'a> { 1427 + impl<'a> Inflate<'a> for DeflatedNameItem<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1367
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1367:22 | 1367 | &mut (*self.raise_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.raise_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1361
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1361:6 | 1361 | impl<'r, 'a> Inflate<'a> for DeflatedRaise<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1361 - impl<'r, 'a> Inflate<'a> for DeflatedRaise<'r, 'a> { 1361 + impl<'a> Inflate<'a> for DeflatedRaise<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1327
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1327:18 | 1327 | &mut (*self.assert_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^^ help: try: `self.assert_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1322
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1322:6 | 1322 | impl<'r, 'a> Inflate<'a> for DeflatedAssert<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1322 - impl<'r, 'a> Inflate<'a> for DeflatedAssert<'r, 'a> { 1322 + impl<'a> Inflate<'a> for DeflatedAssert<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1270
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1270:22 | 1270 | &mut (*self.return_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^^ help: try: `self.return_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1264
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1264:6 | 1264 | impl<'r, 'a> Inflate<'a> for DeflatedReturn<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1264 - impl<'r, 'a> Inflate<'a> for DeflatedReturn<'r, 'a> { 1264 + impl<'a> Inflate<'a> for DeflatedReturn<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1213
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1213:6 | 1213 | impl<'r, 'a> Inflate<'a> for DeflatedAnnAssign<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1213 - impl<'r, 'a> Inflate<'a> for DeflatedAnnAssign<'r, 'a> { 1213 + impl<'a> Inflate<'a> for DeflatedAnnAssign<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1174
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1174:18 | 1174 | &mut (*self.tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1170
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1170:18 | 1170 | &mut (*self.tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1165
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1165:6 | 1165 | impl<'r, 'a> Inflate<'a> for DeflatedAnnotation<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1165 - impl<'r, 'a> Inflate<'a> for DeflatedAnnotation<'r, 'a> { 1165 + impl<'a> Inflate<'a> for DeflatedAnnotation<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1128
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1128:18 | 1128 | &mut (*self.colon_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.colon_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1123
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1123:18 | 1123 | &mut (*self.else_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^ help: try: `self.else_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1118
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1118:6 | 1118 | impl<'r, 'a> Inflate<'a> for DeflatedElse<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1118 - impl<'r, 'a> Inflate<'a> for DeflatedElse<'r, 'a> { 1118 + impl<'a> Inflate<'a> for DeflatedElse<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1068
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1068:18 | 1068 | &mut (*self.colon_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.colon_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1064
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1064:50 | 1064 | parse_simple_whitespace(config, &mut (*self.if_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^ help: try: `self.if_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1060
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1060:18 | 1060 | &mut (*self.if_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^ help: try: `self.if_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1055
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1055:6 | 1055 | impl<'r, 'a> Inflate<'a> for DeflatedIf<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1055 - impl<'r, 'a> Inflate<'a> for DeflatedIf<'r, 'a> { 1055 + impl<'a> Inflate<'a> for DeflatedIf<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L997
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:997:18 | 997 | &mut (*self.newline_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^^^ help: try: `self.newline_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L993
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:993:50 | 993 | parse_simple_whitespace(config, &mut (*self.at_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^ help: try: `self.at_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L989
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:989:18 | 989 | &mut (*self.at_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^ help: try: `self.at_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L984
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:984:6 | 984 | impl<'r, 'a> Inflate<'a> for DeflatedDecorator<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 984 - impl<'r, 'a> Inflate<'a> for DeflatedDecorator<'r, 'a> { 984 + impl<'a> Inflate<'a> for DeflatedDecorator<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L937
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:937:18 | 937 | &mut (*self.colon_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.colon_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
this expression creates a reference which is immediately dereferenced by the compiler: libcst/src/nodes/statement.rs#L932
warning: this expression creates a reference which is immediately dereferenced by the compiler --> libcst/src/nodes/statement.rs:932:68 | 932 | adjust_parameters_trailing_whitespace(config, &mut params, &self.close_paren_tok)?; | ^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.close_paren_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L929
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:929:18 | 929 | &mut (*self.open_paren_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.open_paren_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L903
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:903:50 | 903 | parse_simple_whitespace(config, &mut (*self.def_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^^ help: try: `self.def_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L890
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:890:22 | 890 | &mut (*self.def_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^ help: try: `self.def_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L866
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:866:6 | 866 | impl<'r, 'a> Inflate<'a> for DeflatedFunctionDef<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 866 - impl<'r, 'a> Inflate<'a> for DeflatedFunctionDef<'r, 'a> { 866 + impl<'a> Inflate<'a> for DeflatedFunctionDef<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L762
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:762:18 | 762 | &mut (*self.as_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^ help: try: `self.as_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L758
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:758:18 | 758 | &mut (*self.as_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^ help: try: `self.as_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L753
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:753:6 | 753 | impl<'r, 'a> Inflate<'a> for DeflatedAsName<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 753 - impl<'r, 'a> Inflate<'a> for DeflatedAsName<'r, 'a> { 753 + impl<'a> Inflate<'a> for DeflatedAsName<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L702
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:702:6 | 702 | impl<'r, 'a> Inflate<'a> for DeflatedImportAlias<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 702 - impl<'r, 'a> Inflate<'a> for DeflatedImportAlias<'r, 'a> { 702 + impl<'a> Inflate<'a> for DeflatedImportAlias<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L634
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:634:22 | 634 | &mut (*self.import_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^^ help: try: `self.import_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L615
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:615:18 | 615 | &mut (*self.import_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^^ help: try: `self.import_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L609
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:609:50 | 609 | parse_simple_whitespace(config, &mut (*self.from_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^^^ help: try: `self.from_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L605
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:605:6 | 605 | impl<'r, 'a> Inflate<'a> for DeflatedImportFrom<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 605 - impl<'r, 'a> Inflate<'a> for DeflatedImportFrom<'r, 'a> { 605 + impl<'a> Inflate<'a> for DeflatedImportFrom<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L543
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:543:18 | 543 | &mut (*self.import_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^^ help: try: `self.import_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L538
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:538:6 | 538 | impl<'r, 'a> Inflate<'a> for DeflatedImport<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 538 - impl<'r, 'a> Inflate<'a> for DeflatedImport<'r, 'a> { 538 + impl<'a> Inflate<'a> for DeflatedImport<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L493
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:493:50 | 493 | parse_simple_whitespace(config, &mut (*self.equal_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^^^^ help: try: `self.equal_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L490
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:490:18 | 490 | &mut (*self.equal_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.equal_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L484
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:484:6 | 484 | impl<'r, 'a> Inflate<'a> for DeflatedAssignTarget<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 484 - impl<'r, 'a> Inflate<'a> for DeflatedAssignTarget<'r, 'a> { 484 + impl<'a> Inflate<'a> for DeflatedAssignTarget<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L446
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:446:6 | 446 | impl<'r, 'a> Inflate<'a> for DeflatedAssign<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 446 - impl<'r, 'a> Inflate<'a> for DeflatedAssign<'r, 'a> { 446 + impl<'a> Inflate<'a> for DeflatedAssign<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L418
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:418:6 | 418 | impl<'r, 'a> Inflate<'a> for DeflatedExpr<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 418 - impl<'r, 'a> Inflate<'a> for DeflatedExpr<'r, 'a> { 418 + impl<'a> Inflate<'a> for DeflatedExpr<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L394
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:394:6 | 394 | impl<'r, 'a> Inflate<'a> for DeflatedContinue<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 394 - impl<'r, 'a> Inflate<'a> for DeflatedContinue<'r, 'a> { 394 + impl<'a> Inflate<'a> for DeflatedContinue<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L371
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:371:6 | 371 | impl<'r, 'a> Inflate<'a> for DeflatedBreak<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 371 - impl<'r, 'a> Inflate<'a> for DeflatedBreak<'r, 'a> { 371 + impl<'a> Inflate<'a> for DeflatedBreak<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L348
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:348:6 | 348 | impl<'r, 'a> Inflate<'a> for DeflatedPass<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 348 - impl<'r, 'a> Inflate<'a> for DeflatedPass<'r, 'a> { 348 + impl<'a> Inflate<'a> for DeflatedPass<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L279
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:279:18 | 279 | &mut (*self.newline_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^^^ help: try: `self.newline_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L273
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:273:18 | 273 | &mut (*self.first_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.first_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L268
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:268:6 | 268 | impl<'r, 'a> Inflate<'a> for DeflatedSimpleStatementLine<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 268 - impl<'r, 'a> Inflate<'a> for DeflatedSimpleStatementLine<'r, 'a> { 268 + impl<'a> Inflate<'a> for DeflatedSimpleStatementLine<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L209
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:209:18 | 209 | &mut (*self.newline_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^^^ help: try: `self.newline_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L204
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:204:18 | 204 | &mut (*self.first_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.first_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L199
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:199:6 | 199 | impl<'r, 'a> Inflate<'a> for DeflatedSimpleStatementSuite<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 199 - impl<'r, 'a> Inflate<'a> for DeflatedSimpleStatementSuite<'r, 'a> { 199 + impl<'a> Inflate<'a> for DeflatedSimpleStatementSuite<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L169
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:169:18 | 169 | &mut (*self.newline_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^^^ help: try: `self.newline_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L164
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:164:18 | 164 | &mut (*self.dedent_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^^ help: try: `self.dedent_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref = note: `#[warn(clippy::explicit_auto_deref)]` on by default
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L147
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:147:6 | 147 | impl<'r, 'a> Inflate<'a> for DeflatedIndentedBlock<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 147 - impl<'r, 'a> Inflate<'a> for DeflatedIndentedBlock<'r, 'a> { 147 + impl<'a> Inflate<'a> for DeflatedIndentedBlock<'_, 'a> { |
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/whitespace.rs#L171
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/whitespace.rs:171:6 | 171 | impl<'a> Default for ParenthesizableWhitespace<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 171 - impl<'a> Default for ParenthesizableWhitespace<'a> { 171 + impl Default for ParenthesizableWhitespace<'_> { |
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/whitespace.rs#L106
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/whitespace.rs:106:6 | 106 | impl<'a> Default for EmptyLine<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 106 - impl<'a> Default for EmptyLine<'a> { 106 + impl Default for EmptyLine<'_> { |
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/whitespace.rs#L25
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/whitespace.rs:25:6 | 25 | impl<'a> Default for Comment<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 25 - impl<'a> Default for Comment<'a> { 25 + impl Default for Comment<'_> { |
the following explicit lifetimes could be elided: 'a: libcst/src/tokenizer/whitespace_parser.rs#L353
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/tokenizer/whitespace_parser.rs:353:22 | 353 | fn advance_this_line<'a>( | ^^ 354 | config: &Config<'a>, | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 353 ~ fn advance_this_line( 354 ~ config: &Config<'_>, |
the following explicit lifetimes could be elided: 'a: libcst/src/tokenizer/whitespace_parser.rs#L344
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/tokenizer/whitespace_parser.rs:344:25 | 344 | fn advance_to_next_line<'a>(config: &Config<'a>, state: &mut State) -> Result<()> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 344 - fn advance_to_next_line<'a>(config: &Config<'a>, state: &mut State) -> Result<()> { 344 + fn advance_to_next_line(config: &Config<'_>, state: &mut State) -> Result<()> { |
the following explicit lifetimes could be elided: 'a: libcst/src/tokenizer/whitespace_parser.rs#L40
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/tokenizer/whitespace_parser.rs:40:6 | 40 | impl<'a> Default for State<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 40 - impl<'a> Default for State<'a> { 40 + impl Default for State<'_> { |
this manual char comparison can be written more succinctly: libcst/src/tokenizer/text_position/mod.rs#L98
warning: this manual char comparison can be written more succinctly --> libcst/src/tokenizer/text_position/mod.rs:98:57 | 98 | !rest_of_text[..match_len].contains(|x| x == '\r' || x == '\n'), | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using an array of `char`: `['\r', '\n']` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison = note: `#[warn(clippy::manual_pattern_char_comparison)]` on by default
the following explicit lifetimes could be elided: 't: libcst/src/tokenizer/text_position/char_width.rs#L88
warning: the following explicit lifetimes could be elided: 't --> libcst/src/tokenizer/text_position/char_width.rs:88:6 | 88 | impl<'t> Iterator for NewlineNormalizedCharWidths<'t> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 88 - impl<'t> Iterator for NewlineNormalizedCharWidths<'t> { 88 + impl Iterator for NewlineNormalizedCharWidths<'_> { |
the following explicit lifetimes could be elided: 'a: libcst/src/tokenizer/core/mod.rs#L1086
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/tokenizer/core/mod.rs:1086:6 | 1086 | impl<'a> Eq for Token<'a> {} | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1086 - impl<'a> Eq for Token<'a> {} 1086 + impl Eq for Token<'_> {} |
the following explicit lifetimes could be elided: 'a: libcst/src/tokenizer/core/mod.rs#L1080
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/tokenizer/core/mod.rs:1080:6 | 1080 | impl<'a> PartialEq for Token<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1080 - impl<'a> PartialEq for Token<'a> { 1080 + impl PartialEq for Token<'_> { |
the following explicit lifetimes could be elided: 'a: libcst/src/tokenizer/core/mod.rs#L1069
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/tokenizer/core/mod.rs:1069:6 | 1069 | impl<'a> Debug for Token<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 1069 - impl<'a> Debug for Token<'a> { 1069 + impl Debug for Token<'_> { |
binary comparison to literal `Option::None`: libcst/src/tokenizer/core/mod.rs#L409
warning: binary comparison to literal `Option::None` --> libcst/src/tokenizer/core/mod.rs:409:28 | 409 | if self.text_pos.peek() == None { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `Option::is_none()` instead: `self.text_pos.peek().is_none()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none = note: `#[warn(clippy::partialeq_to_none)]` on by default
struct `Details` is never constructed: libcst/src/parser/errors.rs#L36
warning: struct `Details` is never constructed --> libcst/src/parser/errors.rs:36:12 | 36 | struct Details { | ^^^^^^^
field `string_start` is never read: libcst/src/tokenizer/core/string_types.rs#L74
warning: field `string_start` is never read --> libcst/src/tokenizer/core/string_types.rs:74:9 | 70 | pub struct FStringNode { | ----------- field in this struct ... 74 | pub string_start: Option<TextPositionSnapshot>, | ^^^^^^^^^^^^ | = note: `FStringNode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
redundant field names in struct initialization: libcst/src/parser/grammar.rs#L3453
warning: redundant field names in struct initialization --> libcst/src/parser/grammar.rs:3453:9 | 3453 | default: default, | ^^^^^^^^^^^^^^^^ help: replace it with: `default` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: libcst/src/parser/grammar.rs#L3451
warning: redundant field names in struct initialization --> libcst/src/parser/grammar.rs:3451:9 | 3451 | equal: equal, | ^^^^^^^^^^^^ help: replace it with: `equal` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: libcst/src/parser/grammar.rs#L3430
warning: redundant field names in struct initialization --> libcst/src/parser/grammar.rs:3430:9 | 3430 | default: default, | ^^^^^^^^^^^^^^^^ help: replace it with: `default` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: libcst/src/parser/grammar.rs#L3429
warning: redundant field names in struct initialization --> libcst/src/parser/grammar.rs:3429:9 | 3429 | star: star, | ^^^^^^^^^^ help: replace it with: `star` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: libcst/src/parser/grammar.rs#L3428
warning: redundant field names in struct initialization --> libcst/src/parser/grammar.rs:3428:9 | 3428 | equal: equal, | ^^^^^^^^^^^^ help: replace it with: `equal` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: libcst/src/parser/grammar.rs#L3402
warning: redundant field names in struct initialization --> libcst/src/parser/grammar.rs:3402:9 | 3402 | default: default, | ^^^^^^^^^^^^^^^^ help: replace it with: `default` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: libcst/src/parser/grammar.rs#L3400
warning: redundant field names in struct initialization --> libcst/src/parser/grammar.rs:3400:9 | 3400 | equal: equal, | ^^^^^^^^^^^^ help: replace it with: `equal` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names = note: `#[warn(clippy::redundant_field_names)]` on by default
unused import: `DeflatedImportStar as ImportStar`: libcst/src/nodes/mod.rs#L89
warning: unused import: `DeflatedImportStar as ImportStar` --> libcst/src/nodes/mod.rs:89:9 | 89 | DeflatedImportStar as ImportStar, DeflatedSemicolon as Semicolon, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused imports: `DeflatedAsynchronous as Asynchronous` and `DeflatedFormattedStringText as FormattedStringText`: libcst/src/nodes/mod.rs#L55
warning: unused imports: `DeflatedAsynchronous as Asynchronous` and `DeflatedFormattedStringText as FormattedStringText` --> libcst/src/nodes/mod.rs:55:29 | 55 | DeflatedArg as Arg, DeflatedAsynchronous as Asynchronous, DeflatedAttribute as Attribute, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 66 | DeflatedFormattedStringText as FormattedStringText, DeflatedFrom as From, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
`to_string` applied to a type that implements `Display` in `print!` args: libcst/src/bin.rs#L29
warning: `to_string` applied to a type that implements `Display` in `print!` args --> libcst/src/bin.rs:29:35 | 29 | print!("{}", state.to_string()); | ^^^^^^^^^^^^ help: remove this | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args = note: `#[warn(clippy::to_string_in_format_args)]` on by default
use of `unwrap_or_else` to construct default value: libcst/src/bin.rs#L22
warning: use of `unwrap_or_else` to construct default value --> libcst/src/bin.rs:22:48 | 22 | let first_arg = env::args().nth(1).unwrap_or_else(|| "".to_string()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default = note: `#[warn(clippy::unwrap_or_default)]` on by default
manual implementation of `Option::map`: libcst/src/parser/grammar.rs#L3477
warning: manual implementation of `Option::map` --> libcst/src/parser/grammar.rs:3477:24 | 3477 | let lbracket_tok = if let Some(tp) = &type_parameters { | ________________________^ 3478 | | Some(tp.lbracket.tok) 3479 | | } else { 3480 | | None 3481 | | }; | |_____^ help: try: `type_parameters.as_ref().map(|tp| tp.lbracket.tok)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map = note: `#[warn(clippy::manual_map)]` on by default
unneeded `return` statement: libcst/src/parser/grammar.rs#L1907
warning: unneeded `return` statement --> libcst/src/parser/grammar.rs:1907:9 | 1907 | / return NameOrAttribute::A(Box::new(Attribute { 1908 | | attr: name, 1909 | | dot, 1910 | | lpar: Default::default(), 1911 | | rpar: Default::default(), 1912 | | value: Box::new(make_name_or_attr(first_tok, tail).into()), 1913 | | })); | |___________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `#[warn(clippy::needless_return)]` on by default help: remove `return` | 1907 ~ NameOrAttribute::A(Box::new(Attribute { 1908 + attr: name, 1909 + dot, 1910 + lpar: Default::default(), 1911 + rpar: Default::default(), 1912 + value: Box::new(make_name_or_attr(first_tok, tail).into()), 1913 ~ })) |
explicit call to `.into_iter()` in function argument accepting `IntoIterator`: libcst/src/parser/grammar.rs#L1898
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator` --> libcst/src/parser/grammar.rs:1898:25 | 1898 | a.into_iter().chain(b.into_iter()).collect() | ^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `b` | note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()` --> /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/iter/traits/iterator.rs:479:12 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion = note: `#[warn(clippy::useless_conversion)]` on by default
the following explicit lifetimes could be elided: 'a: libcst/src/parser/grammar.rs#L47
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/parser/grammar.rs:47:6 | 47 | impl<'a> Parse for TokVec<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 47 - impl<'a> Parse for TokVec<'a> { 47 + impl Parse for TokVec<'_> { |
this lifetime isn't used in the impl: libcst/src/parser/errors.rs#L81
warning: this lifetime isn't used in the impl --> libcst/src/parser/errors.rs:81:10 | 81 | impl<'a> PyErrArguments for Details { | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default
the following explicit lifetimes could be elided: 'a: libcst/src/parser/errors.rs#L43
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/parser/errors.rs:43:10 | 43 | impl<'a> From<ParserError<'a>> for PyErr { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 43 - impl<'a> From<ParserError<'a>> for PyErr { 43 + impl From<ParserError<'_>> for PyErr { |
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/traits.rs#L183
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/traits.rs:183:10 | 183 | impl<'a> TryIntoPy<PyObject> for &'a str { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 183 - impl<'a> TryIntoPy<PyObject> for &'a str { 183 + impl TryIntoPy<PyObject> for &str { |
`?Sized` bound is ignored because of a `Sized` requirement: libcst/src/nodes/traits.rs#L103
warning: `?Sized` bound is ignored because of a `Sized` requirement --> libcst/src/nodes/traits.rs:103:27 | 103 | impl<'a, T: Inflate<'a> + ?Sized> Inflate<'a> for Box<T> { | ^^^^^^ | note: `T` cannot be unsized because of the bound --> libcst/src/nodes/traits.rs:103:13 | 103 | impl<'a, T: Inflate<'a> + ?Sized> Inflate<'a> for Box<T> { | ^^^^^^^^^^^ = note: ...because `Inflate` has the bound `Sized` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_maybe_sized = note: `#[warn(clippy::needless_maybe_sized)]` on by default help: change the bounds that require `Sized`, or remove the `?Sized` bound | 103 - impl<'a, T: Inflate<'a> + ?Sized> Inflate<'a> for Box<T> { 103 + impl<'a, T: Inflate<'a>> Inflate<'a> for Box<T> { |
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/codegen.rs#L56
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/codegen.rs:56:6 | 56 | impl<'a> Default for CodegenState<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 56 - impl<'a> Default for CodegenState<'a> { 56 + impl Default for CodegenState<'_> { |
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/codegen.rs#L30
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/codegen.rs:30:6 | 30 | impl<'a> fmt::Display for CodegenState<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 30 - impl<'a> fmt::Display for CodegenState<'a> { 30 + impl fmt::Display for CodegenState<'_> { |
deref which would be done by auto-deref: libcst/src/nodes/module.rs#L63
warning: deref which would be done by auto-deref --> libcst/src/nodes/module.rs:63:18 | 63 | &mut (*self.eof_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^ help: try: `self.eof_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/module.rs#L54
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/module.rs:54:6 | 54 | impl<'r, 'a> Inflate<'a> for DeflatedModule<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 54 - impl<'r, 'a> Inflate<'a> for DeflatedModule<'r, 'a> { 54 + impl<'a> Inflate<'a> for DeflatedModule<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1415
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1415:18 | 1415 | &mut (*self.tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1411
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1411:18 | 1411 | &mut (*self.tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L1406
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:1406:6 | 1406 | impl<'r, 'a> Inflate<'a> for DeflatedBitOr<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1406 - impl<'r, 'a> Inflate<'a> for DeflatedBitOr<'r, 'a> { 1406 + impl<'a> Inflate<'a> for DeflatedBitOr<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1312
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1312:26 | 1312 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1308
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1308:26 | 1308 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1298
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1298:26 | 1298 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1294
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1294:26 | 1294 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1284
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1284:26 | 1284 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1280
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1280:26 | 1280 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1266
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1266:26 | 1266 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1256
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1256:26 | 1256 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1252
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1252:26 | 1252 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1242
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1242:26 | 1242 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1238
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1238:26 | 1238 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1228
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1228:26 | 1228 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1224
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1224:26 | 1224 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1214
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1214:26 | 1214 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1210
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1210:26 | 1210 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1200
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1200:26 | 1200 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1196
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1196:26 | 1196 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1186
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1186:26 | 1186 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1182
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1182:26 | 1182 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1172
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1172:26 | 1172 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1168
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1168:26 | 1168 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1158
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1158:26 | 1158 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1154
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1154:26 | 1154 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1144
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1144:26 | 1144 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1140
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1140:26 | 1140 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L1133
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:1133:6 | 1133 | impl<'r, 'a> Inflate<'a> for DeflatedAugOp<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1133 - impl<'r, 'a> Inflate<'a> for DeflatedAugOp<'r, 'a> { 1133 + impl<'a> Inflate<'a> for DeflatedAugOp<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1034
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1034:18 | 1034 | &mut (*self.tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1030
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1030:18 | 1030 | &mut (*self.tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L1025
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:1025:6 | 1025 | impl<'r, 'a> Inflate<'a> for DeflatedColon<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1025 - impl<'r, 'a> Inflate<'a> for DeflatedColon<'r, 'a> { 1025 + impl<'a> Inflate<'a> for DeflatedColon<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1004
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1004:26 | 1004 | &mut (*in_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^ help: try: `in_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L1000
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:1000:26 | 1000 | &mut (*not_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^ help: try: `not_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L996
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:996:26 | 996 | &mut (*not_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^ help: try: `not_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L983
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:983:26 | 983 | &mut (*not_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^ help: try: `not_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L979
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:979:26 | 979 | &mut (*is_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^ help: try: `is_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L975
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:975:26 | 975 | &mut (*is_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^ help: try: `is_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L963
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:963:26 | 963 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L959
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:959:26 | 959 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L949
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:949:26 | 949 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L945
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:945:26 | 945 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L935
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:935:26 | 935 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L931
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:931:26 | 931 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L921
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:921:26 | 921 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L917
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:917:26 | 917 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L907
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:907:26 | 907 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L903
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:903:26 | 903 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L893
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:893:26 | 893 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L889
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:889:26 | 889 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L879
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:879:26 | 879 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L875
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:875:26 | 875 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L865
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:865:26 | 865 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L861
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:861:26 | 861 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L854
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:854:6 | 854 | impl<'r, 'a> Inflate<'a> for DeflatedCompOp<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 854 - impl<'r, 'a> Inflate<'a> for DeflatedCompOp<'r, 'a> { 854 + impl<'a> Inflate<'a> for DeflatedCompOp<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L697
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:697:26 | 697 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L693
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:693:26 | 693 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L683
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:683:26 | 683 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L679
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:679:26 | 679 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L669
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:669:26 | 669 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L665
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:665:26 | 665 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L655
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:655:26 | 655 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L651
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:651:26 | 651 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L641
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:641:26 | 641 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L637
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:637:26 | 637 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L627
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:627:26 | 627 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L623
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:623:26 | 623 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L613
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:613:26 | 613 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L609
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:609:26 | 609 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L599
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:599:26 | 599 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L595
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:595:26 | 595 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L585
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:585:26 | 585 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L581
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:581:26 | 581 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L571
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:571:26 | 571 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L567
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:567:26 | 567 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L557
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:557:26 | 557 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L553
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:553:26 | 553 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L543
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:543:26 | 543 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L539
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:539:26 | 539 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L529
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:529:26 | 529 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L525
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:525:26 | 525 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L518
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:518:6 | 518 | impl<'r, 'a> Inflate<'a> for DeflatedBinaryOp<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 518 - impl<'r, 'a> Inflate<'a> for DeflatedBinaryOp<'r, 'a> { 518 + impl<'a> Inflate<'a> for DeflatedBinaryOp<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L348
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:348:26 | 348 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L344
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:344:26 | 344 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L334
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:334:26 | 334 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L330
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:330:26 | 330 | &mut (*tok).whitespace_before.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L323
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:323:6 | 323 | impl<'r, 'a> Inflate<'a> for DeflatedBooleanOp<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 323 - impl<'r, 'a> Inflate<'a> for DeflatedBooleanOp<'r, 'a> { 323 + impl<'a> Inflate<'a> for DeflatedBooleanOp<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L279
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:279:26 | 279 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L272
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:272:26 | 272 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L265
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:265:26 | 265 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L258
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:258:26 | 258 | &mut (*tok).whitespace_after.borrow_mut(), | ^^^^^^ help: try: `tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L251
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:251:6 | 251 | impl<'r, 'a> Inflate<'a> for DeflatedUnaryOp<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 251 - impl<'r, 'a> Inflate<'a> for DeflatedUnaryOp<'r, 'a> { 251 + impl<'a> Inflate<'a> for DeflatedUnaryOp<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L199
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:199:6 | 199 | impl<'r, 'a> Inflate<'a> for DeflatedImportStar<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 199 - impl<'r, 'a> Inflate<'a> for DeflatedImportStar<'r, 'a> { 199 + impl<'a> Inflate<'a> for DeflatedImportStar<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L180
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:180:55 | 180 | parse_parenthesizable_whitespace(config, &mut (*self.tok).whitespace_after.borrow_mut()) | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L176
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:176:55 | 176 | parse_parenthesizable_whitespace(config, &mut (*self.tok).whitespace_before.borrow_mut()) | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L174
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:174:6 | 174 | impl<'r, 'a> DeflatedDot<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 174 - impl<'r, 'a> DeflatedDot<'r, 'a> { 174 + impl<'a> DeflatedDot<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L162
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:162:6 | 162 | impl<'r, 'a> Inflate<'a> for DeflatedDot<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 162 - impl<'r, 'a> Inflate<'a> for DeflatedDot<'r, 'a> { 162 + impl<'a> Inflate<'a> for DeflatedDot<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L134
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:134:18 | 134 | &mut (*self.tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L130
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:130:18 | 130 | &mut (*self.tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L125
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:125:6 | 125 | impl<'r, 'a> Inflate<'a> for DeflatedAssignEqual<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 125 - impl<'r, 'a> Inflate<'a> for DeflatedAssignEqual<'r, 'a> { 125 + impl<'a> Inflate<'a> for DeflatedAssignEqual<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L96
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:96:18 | 96 | &mut (*self.tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L92
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:92:6 | 92 | impl<'r, 'a> DeflatedComma<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 92 - impl<'r, 'a> DeflatedComma<'r, 'a> { 92 + impl<'a> DeflatedComma<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L83
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:83:18 | 83 | &mut (*self.tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L79
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:79:18 | 79 | &mut (*self.tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L74
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:74:6 | 74 | impl<'r, 'a> Inflate<'a> for DeflatedComma<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 74 - impl<'r, 'a> Inflate<'a> for DeflatedComma<'r, 'a> { 74 + impl<'a> Inflate<'a> for DeflatedComma<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L46
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:46:50 | 46 | parse_simple_whitespace(config, &mut (*self.tok).whitespace_after.borrow_mut())?, | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/op.rs#L43
warning: deref which would be done by auto-deref --> libcst/src/nodes/op.rs:43:50 | 43 | parse_simple_whitespace(config, &mut (*self.tok).whitespace_before.borrow_mut())?, | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/op.rs#L39
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/op.rs:39:6 | 39 | impl<'r, 'a> Inflate<'a> for DeflatedSemicolon<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 39 - impl<'r, 'a> Inflate<'a> for DeflatedSemicolon<'r, 'a> { 39 + impl<'a> Inflate<'a> for DeflatedSemicolon<'_, 'a> { |
`filter(..).map(..)` can be simplified as `filter_map(..)`: libcst/src/nodes/expression.rs#L2592
warning: `filter(..).map(..)` can be simplified as `filter_map(..)` --> libcst/src/nodes/expression.rs:2592:22 | 2592 | .filter(|x| x.is_some()) | ______________________^ 2593 | | .map(|x| x.as_ref().unwrap()) | |_________________________________________________^ help: try: `filter_map(|x| x.as_ref())` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_filter_map
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/expression.rs#L2562
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/expression.rs:2562:10 | 2562 | impl<'a> TryIntoPy<pyo3::PyObject> for DictElement<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2562 - impl<'a> TryIntoPy<pyo3::PyObject> for DictElement<'a> { 2562 + impl TryIntoPy<pyo3::PyObject> for DictElement<'_> { |
`filter(..).map(..)` can be simplified as `filter_map(..)`: libcst/src/nodes/expression.rs#L2547
warning: `filter(..).map(..)` can be simplified as `filter_map(..)` --> libcst/src/nodes/expression.rs:2547:22 | 2547 | .filter(|x| x.is_some()) | ______________________^ 2548 | | .map(|x| x.as_ref().unwrap()) | |_________________________________________________^ help: try: `filter_map(|x| x.as_ref())` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_filter_map = note: `#[warn(clippy::manual_filter_map)]` on by default
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/expression.rs#L2533
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/expression.rs:2533:10 | 2533 | impl<'a> TryIntoPy<pyo3::PyObject> for Element<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2533 - impl<'a> TryIntoPy<pyo3::PyObject> for Element<'a> { 2533 + impl TryIntoPy<pyo3::PyObject> for Element<'_> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L2498
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:2498:6 | 2498 | impl<'r, 'a> Inflate<'a> for DeflatedNamedExpr<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2498 - impl<'r, 'a> Inflate<'a> for DeflatedNamedExpr<'r, 'a> { 2498 + impl<'a> Inflate<'a> for DeflatedNamedExpr<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L2445
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:2445:6 | 2445 | impl<'r, 'a> Inflate<'a> for DeflatedFormattedString<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2445 - impl<'r, 'a> Inflate<'a> for DeflatedFormattedString<'r, 'a> { 2445 + impl<'a> Inflate<'a> for DeflatedFormattedString<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L2382
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:2382:18 | 2382 | &mut (*self.lbrace_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^^ help: try: `self.lbrace_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L2377
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:2377:6 | 2377 | impl<'r, 'a> Inflate<'a> for DeflatedFormattedStringExpression<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2377 - impl<'r, 'a> Inflate<'a> for DeflatedFormattedStringExpression<'r, 'a> { 2377 + impl<'a> Inflate<'a> for DeflatedFormattedStringExpression<'_, 'a> { |
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/expression.rs#L2355
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/expression.rs:2355:36 | 2355 | pub(crate) fn make_fstringtext<'r, 'a>(value: &'a str) -> DeflatedFormattedStringText<'r, 'a> { | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2355 - pub(crate) fn make_fstringtext<'r, 'a>(value: &'a str) -> DeflatedFormattedStringText<'r, 'a> { 2355 + pub(crate) fn make_fstringtext<'r>(value: &str) -> DeflatedFormattedStringText<'r, '_> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L2342
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:2342:6 | 2342 | impl<'r, 'a> Inflate<'a> for DeflatedFormattedStringText<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2342 - impl<'r, 'a> Inflate<'a> for DeflatedFormattedStringText<'r, 'a> { 2342 + impl<'a> Inflate<'a> for DeflatedFormattedStringText<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L2318
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:2318:6 | 2318 | impl<'r, 'a> Inflate<'a> for DeflatedSimpleString<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2318 - impl<'r, 'a> Inflate<'a> for DeflatedSimpleString<'r, 'a> { 2318 + impl<'a> Inflate<'a> for DeflatedSimpleString<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L2284
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:2284:18 | 2284 | &mut (*self.right_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.right_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L2277
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:2277:6 | 2277 | impl<'r, 'a> Inflate<'a> for DeflatedConcatenatedString<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2277 - impl<'r, 'a> Inflate<'a> for DeflatedConcatenatedString<'r, 'a> { 2277 + impl<'a> Inflate<'a> for DeflatedConcatenatedString<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L2224
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:2224:18 | 2224 | &mut (*self.await_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.await_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L2218
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:2218:6 | 2218 | impl<'r, 'a> Inflate<'a> for DeflatedAwait<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2218 - impl<'r, 'a> Inflate<'a> for DeflatedAwait<'r, 'a> { 2218 + impl<'a> Inflate<'a> for DeflatedAwait<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L2175
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:2175:22 | 2175 | &mut (*self.yield_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.yield_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L2168
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:2168:6 | 2168 | impl<'r, 'a> Inflate<'a> for DeflatedYield<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2168 - impl<'r, 'a> Inflate<'a> for DeflatedYield<'r, 'a> { 2168 + impl<'a> Inflate<'a> for DeflatedYield<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L2135
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:2135:6 | 2135 | impl<'r, 'a> Inflate<'a> for DeflatedYieldValue<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2135 - impl<'r, 'a> Inflate<'a> for DeflatedYieldValue<'r, 'a> { 2135 + impl<'a> Inflate<'a> for DeflatedYieldValue<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L2118
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:2118:18 | 2118 | &mut (*self.tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L2114
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:2114:18 | 2114 | &mut (*self.tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L2109
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:2109:6 | 2109 | impl<'r, 'a> Inflate<'a> for DeflatedFrom<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2109 - impl<'r, 'a> Inflate<'a> for DeflatedFrom<'r, 'a> { 2109 + impl<'a> Inflate<'a> for DeflatedFrom<'_, 'a> { |
this expression creates a reference which is immediately dereferenced by the compiler: libcst/src/nodes/expression.rs#L2055
warning: this expression creates a reference which is immediately dereferenced by the compiler --> libcst/src/nodes/expression.rs:2055:68 | 2055 | adjust_parameters_trailing_whitespace(config, &mut params, &self.colon.tok)?; | ^^^^^^^^^^^^^^^ help: change this to: `self.colon.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L2049
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:2049:22 | 2049 | &mut (*self.lambda_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^^ help: try: `self.lambda_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L2042
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:2042:6 | 2042 | impl<'r, 'a> Inflate<'a> for DeflatedLambda<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2042 - impl<'r, 'a> Inflate<'a> for DeflatedLambda<'r, 'a> { 2042 + impl<'a> Inflate<'a> for DeflatedLambda<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1996
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1996:18 | 1996 | &mut (*self.else_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^ help: try: `self.else_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1992
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1992:18 | 1992 | &mut (*self.else_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^ help: try: `self.else_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1987
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1987:18 | 1987 | &mut (*self.if_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^ help: try: `self.if_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1983
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1983:18 | 1983 | &mut (*self.if_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^ help: try: `self.if_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1976
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1976:6 | 1976 | impl<'r, 'a> Inflate<'a> for DeflatedIfExp<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1976 - impl<'r, 'a> Inflate<'a> for DeflatedIfExp<'r, 'a> { 1976 + impl<'a> Inflate<'a> for DeflatedIfExp<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1917
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1917:6 | 1917 | impl<'r, 'a> Inflate<'a> for DeflatedSubscript<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1917 - impl<'r, 'a> Inflate<'a> for DeflatedSubscript<'r, 'a> { 1917 + impl<'a> Inflate<'a> for DeflatedSubscript<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1888
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1888:6 | 1888 | impl<'r, 'a> Inflate<'a> for DeflatedSubscriptElement<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1888 - impl<'r, 'a> Inflate<'a> for DeflatedSubscriptElement<'r, 'a> { 1888 + impl<'a> Inflate<'a> for DeflatedSubscriptElement<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1844
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1844:6 | 1844 | impl<'r, 'a> Inflate<'a> for DeflatedSlice<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1844 - impl<'r, 'a> Inflate<'a> for DeflatedSlice<'r, 'a> { 1844 + impl<'a> Inflate<'a> for DeflatedSlice<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1800
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1800:6 | 1800 | impl<'r, 'a> Inflate<'a> for DeflatedIndex<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1800 - impl<'r, 'a> Inflate<'a> for DeflatedIndex<'r, 'a> { 1800 + impl<'a> Inflate<'a> for DeflatedIndex<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1758
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1758:18 | 1758 | &mut (*self.star_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^ help: try: `self.star_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1750
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1750:6 | 1750 | impl<'r, 'a> DeflatedStarredDictElement<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1750 - impl<'r, 'a> DeflatedStarredDictElement<'r, 'a> { 1750 + impl<'a> DeflatedStarredDictElement<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1645
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1645:6 | 1645 | impl<'r, 'a> DeflatedDictElement<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1645 - impl<'r, 'a> DeflatedDictElement<'r, 'a> { 1645 + impl<'a> DeflatedDictElement<'_, 'a> { |
large size difference between variants: libcst/src/nodes/expression.rs#L1633
warning: large size difference between variants --> libcst/src/nodes/expression.rs:1633:1 | 1633 | / pub enum DictElement<'a> { 1634 | |/ Simple { 1635 | || key: Expression<'a>, 1636 | || value: Expression<'a>, 1637 | || comma: Option<Comma<'a>>, ... || 1640 | || colon_tok: TokenRef<'a>, 1641 | || }, | ||_____- the largest variant contains at least 416 bytes 1642 | | Starred(StarredDictElement<'a>), | | ------------------------------- the second-largest variant contains at least 0 bytes 1643 | | } | |__^ the entire enum is at least 0 bytes | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant = note: `#[warn(clippy::large_enum_variant)]` on by default help: consider boxing the large fields to reduce the total size of the enum | 1637 ~ comma: Box<Option<Comma<'a>>>, 1638 | whitespace_before_colon: ParenthesizableWhitespace<'a>, 1639 ~ whitespace_after_colon: Box<ParenthesizableWhitespace<'a>>, |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1591
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1591:6 | 1591 | impl<'r, 'a> Inflate<'a> for DeflatedDict<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1591 - impl<'r, 'a> Inflate<'a> for DeflatedDict<'r, 'a> { 1591 + impl<'a> Inflate<'a> for DeflatedDict<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1541
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1541:6 | 1541 | impl<'r, 'a> Inflate<'a> for DeflatedSet<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1541 - impl<'r, 'a> Inflate<'a> for DeflatedSet<'r, 'a> { 1541 + impl<'a> Inflate<'a> for DeflatedSet<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1490
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1490:6 | 1490 | impl<'r, 'a> Inflate<'a> for DeflatedList<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1490 - impl<'r, 'a> Inflate<'a> for DeflatedList<'r, 'a> { 1490 + impl<'a> Inflate<'a> for DeflatedList<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1470
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1470:18 | 1470 | &mut (*self.if_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^ help: try: `self.if_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1466
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1466:18 | 1466 | &mut (*self.if_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^ help: try: `self.if_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1461
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1461:6 | 1461 | impl<'r, 'a> Inflate<'a> for DeflatedCompIf<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1461 - impl<'r, 'a> Inflate<'a> for DeflatedCompIf<'r, 'a> { 1461 + impl<'a> Inflate<'a> for DeflatedCompIf<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1406
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1406:18 | 1406 | &mut (*self.in_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^ help: try: `self.in_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1402
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1402:18 | 1402 | &mut (*self.in_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^ help: try: `self.in_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1397
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1397:18 | 1397 | &mut (*self.for_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^ help: try: `self.for_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1378
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1378:18 | 1378 | &mut (*self.for_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^ help: try: `self.for_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1373
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1373:6 | 1373 | impl<'r, 'a> Inflate<'a> for DeflatedCompFor<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1373 - impl<'r, 'a> Inflate<'a> for DeflatedCompFor<'r, 'a> { 1373 + impl<'a> Inflate<'a> for DeflatedCompFor<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1321
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1321:18 | 1321 | &mut (*self.tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1316
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1316:6 | 1316 | impl<'r, 'a> Inflate<'a> for DeflatedRightCurlyBrace<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1316 - impl<'r, 'a> Inflate<'a> for DeflatedRightCurlyBrace<'r, 'a> { 1316 + impl<'a> Inflate<'a> for DeflatedRightCurlyBrace<'_, 'a> { |
this `impl` can be derived: libcst/src/nodes/expression.rs#L1308
warning: this `impl` can be derived --> libcst/src/nodes/expression.rs:1308:1 | 1308 | / impl<'a> Default for RightCurlyBrace<'a> { 1309 | | fn default() -> Self { 1310 | | Self { 1311 | | whitespace_before: Default::default(), 1312 | | } 1313 | | } 1314 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls = help: remove the manual implementation... help: ...and instead derive it | 1303 + #[derive(Default)] 1304 | pub struct RightCurlyBrace<'a> { |
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/expression.rs#L1308
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/expression.rs:1308:6 | 1308 | impl<'a> Default for RightCurlyBrace<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1308 - impl<'a> Default for RightCurlyBrace<'a> { 1308 + impl Default for RightCurlyBrace<'_> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1289
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1289:18 | 1289 | &mut (*self.tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1284
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1284:6 | 1284 | impl<'r, 'a> Inflate<'a> for DeflatedLeftCurlyBrace<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1284 - impl<'r, 'a> Inflate<'a> for DeflatedLeftCurlyBrace<'r, 'a> { 1284 + impl<'a> Inflate<'a> for DeflatedLeftCurlyBrace<'_, 'a> { |
this `impl` can be derived: libcst/src/nodes/expression.rs#L1276
warning: this `impl` can be derived --> libcst/src/nodes/expression.rs:1276:1 | 1276 | / impl<'a> Default for LeftCurlyBrace<'a> { 1277 | | fn default() -> Self { 1278 | | Self { 1279 | | whitespace_after: Default::default(), 1280 | | } 1281 | | } 1282 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls = note: `#[warn(clippy::derivable_impls)]` on by default = help: remove the manual implementation... help: ...and instead derive it | 1271 + #[derive(Default)] 1272 | pub struct LeftCurlyBrace<'a> { |
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/expression.rs#L1276
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/expression.rs:1276:6 | 1276 | impl<'a> Default for LeftCurlyBrace<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1276 - impl<'a> Default for LeftCurlyBrace<'a> { 1276 + impl Default for LeftCurlyBrace<'_> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1235
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1235:18 | 1235 | &mut (*self.colon_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.colon_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1231
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1231:18 | 1231 | &mut (*self.colon_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.colon_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1223
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1223:6 | 1223 | impl<'r, 'a> Inflate<'a> for DeflatedDictComp<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1223 - impl<'r, 'a> Inflate<'a> for DeflatedDictComp<'r, 'a> { 1223 + impl<'a> Inflate<'a> for DeflatedDictComp<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1177
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1177:6 | 1177 | impl<'r, 'a> Inflate<'a> for DeflatedSetComp<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1177 - impl<'r, 'a> Inflate<'a> for DeflatedSetComp<'r, 'a> { 1177 + impl<'a> Inflate<'a> for DeflatedSetComp<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1161
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1161:18 | 1161 | &mut (*self.tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1156
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1156:6 | 1156 | impl<'r, 'a> Inflate<'a> for DeflatedRightSquareBracket<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1156 - impl<'r, 'a> Inflate<'a> for DeflatedRightSquareBracket<'r, 'a> { 1156 + impl<'a> Inflate<'a> for DeflatedRightSquareBracket<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L1136
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:1136:18 | 1136 | &mut (*self.tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1131
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1131:6 | 1131 | impl<'r, 'a> Inflate<'a> for DeflatedLeftSquareBracket<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1131 - impl<'r, 'a> Inflate<'a> for DeflatedLeftSquareBracket<'r, 'a> { 1131 + impl<'a> Inflate<'a> for DeflatedLeftSquareBracket<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1097
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1097:6 | 1097 | impl<'r, 'a> Inflate<'a> for DeflatedListComp<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1097 - impl<'r, 'a> Inflate<'a> for DeflatedListComp<'r, 'a> { 1097 + impl<'a> Inflate<'a> for DeflatedListComp<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1060
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1060:6 | 1060 | impl<'r, 'a> Inflate<'a> for DeflatedGeneratorExp<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1060 - impl<'r, 'a> Inflate<'a> for DeflatedGeneratorExp<'r, 'a> { 1060 + impl<'a> Inflate<'a> for DeflatedGeneratorExp<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L1008
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:1008:6 | 1008 | impl<'r, 'a> Inflate<'a> for DeflatedTuple<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1008 - impl<'r, 'a> Inflate<'a> for DeflatedTuple<'r, 'a> { 1008 + impl<'a> Inflate<'a> for DeflatedTuple<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L964
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:964:6 | 964 | impl<'r, 'a> DeflatedElement<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 964 - impl<'r, 'a> DeflatedElement<'r, 'a> { 964 + impl<'a> DeflatedElement<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L909
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:909:6 | 909 | impl<'r, 'a> Inflate<'a> for DeflatedStarredElement<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 909 - impl<'r, 'a> Inflate<'a> for DeflatedStarredElement<'r, 'a> { 909 + impl<'a> Inflate<'a> for DeflatedStarredElement<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L890
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:890:18 | 890 | &mut (*self.star_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^ help: try: `self.star_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L885
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:885:6 | 885 | impl<'r, 'a> DeflatedStarredElement<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 885 - impl<'r, 'a> DeflatedStarredElement<'r, 'a> { 885 + impl<'a> DeflatedStarredElement<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L862
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:862:6 | 862 | impl<'r, 'a> Inflate<'a> for DeflatedComparisonTarget<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 862 - impl<'r, 'a> Inflate<'a> for DeflatedComparisonTarget<'r, 'a> { 862 + impl<'a> Inflate<'a> for DeflatedComparisonTarget<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L806
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:806:6 | 806 | impl<'r, 'a> Inflate<'a> for DeflatedAttribute<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 806 - impl<'r, 'a> Inflate<'a> for DeflatedAttribute<'r, 'a> { 806 + impl<'a> Inflate<'a> for DeflatedAttribute<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L764
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:764:26 | 764 | &mut (*self.rpar_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^ help: try: `self.rpar_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L756
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:756:18 | 756 | &mut (*self.lpar_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^ help: try: `self.lpar_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L752
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:752:18 | 752 | &mut (*self.lpar_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^ help: try: `self.lpar_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L745
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:745:6 | 745 | impl<'r, 'a> Inflate<'a> for DeflatedCall<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 745 - impl<'r, 'a> Inflate<'a> for DeflatedCall<'r, 'a> { 745 + impl<'a> Inflate<'a> for DeflatedCall<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L714
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:714:6 | 714 | impl<'r, 'a> Inflate<'a> for DeflatedBooleanOperation<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 714 - impl<'r, 'a> Inflate<'a> for DeflatedBooleanOperation<'r, 'a> { 714 + impl<'a> Inflate<'a> for DeflatedBooleanOperation<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L677
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:677:6 | 677 | impl<'r, 'a> Inflate<'a> for DeflatedBinaryOperation<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 677 - impl<'r, 'a> Inflate<'a> for DeflatedBinaryOperation<'r, 'a> { 677 + impl<'a> Inflate<'a> for DeflatedBinaryOperation<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L642
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:642:6 | 642 | impl<'r, 'a> Inflate<'a> for DeflatedUnaryOperation<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 642 - impl<'r, 'a> Inflate<'a> for DeflatedUnaryOperation<'r, 'a> { 642 + impl<'a> Inflate<'a> for DeflatedUnaryOperation<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L609
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:609:6 | 609 | impl<'r, 'a> Inflate<'a> for DeflatedComparison<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 609 - impl<'r, 'a> Inflate<'a> for DeflatedComparison<'r, 'a> { 609 + impl<'a> Inflate<'a> for DeflatedComparison<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L578
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:578:6 | 578 | impl<'r, 'a> Inflate<'a> for DeflatedImaginary<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 578 - impl<'r, 'a> Inflate<'a> for DeflatedImaginary<'r, 'a> { 578 + impl<'a> Inflate<'a> for DeflatedImaginary<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L549
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:549:6 | 549 | impl<'r, 'a> Inflate<'a> for DeflatedFloat<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 549 - impl<'r, 'a> Inflate<'a> for DeflatedFloat<'r, 'a> { 549 + impl<'a> Inflate<'a> for DeflatedFloat<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L519
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:519:6 | 519 | impl<'r, 'a> Inflate<'a> for DeflatedInteger<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 519 - impl<'r, 'a> Inflate<'a> for DeflatedInteger<'r, 'a> { 519 + impl<'a> Inflate<'a> for DeflatedInteger<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L493
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:493:6 | 493 | impl<'r, 'a> Inflate<'a> for DeflatedEllipsis<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 493 - impl<'r, 'a> Inflate<'a> for DeflatedEllipsis<'r, 'a> { 493 + impl<'a> Inflate<'a> for DeflatedEllipsis<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L441
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:441:18 | 441 | &mut (*self.rpar_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^ help: try: `self.rpar_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L436
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:436:6 | 436 | impl<'r, 'a> Inflate<'a> for DeflatedRightParen<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 436 - impl<'r, 'a> Inflate<'a> for DeflatedRightParen<'r, 'a> { 436 + impl<'a> Inflate<'a> for DeflatedRightParen<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/expression.rs#L414
warning: deref which would be done by auto-deref --> libcst/src/nodes/expression.rs:414:18 | 414 | &mut (*self.lpar_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^ help: try: `self.lpar_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L409
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:409:6 | 409 | impl<'r, 'a> Inflate<'a> for DeflatedLeftParen<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 409 - impl<'r, 'a> Inflate<'a> for DeflatedLeftParen<'r, 'a> { 409 + impl<'a> Inflate<'a> for DeflatedLeftParen<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L334
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:334:6 | 334 | impl<'r, 'a> Inflate<'a> for DeflatedArg<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 334 - impl<'r, 'a> Inflate<'a> for DeflatedArg<'r, 'a> { 334 + impl<'a> Inflate<'a> for DeflatedArg<'_, 'a> { |
the following explicit lifetimes could be elided: 'r, 'a: libcst/src/nodes/expression.rs#L266
warning: the following explicit lifetimes could be elided: 'r, 'a --> libcst/src/nodes/expression.rs:266:6 | 266 | impl<'r, 'a> Default for DeflatedParam<'r, 'a> { | ^^ ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 266 - impl<'r, 'a> Default for DeflatedParam<'r, 'a> { 266 + impl Default for DeflatedParam<'_, '_> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L239
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:239:6 | 239 | impl<'r, 'a> Inflate<'a> for DeflatedParam<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 239 - impl<'r, 'a> Inflate<'a> for DeflatedParam<'r, 'a> { 239 + impl<'a> Inflate<'a> for DeflatedParam<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L201
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:201:6 | 201 | impl<'r, 'a> Inflate<'a> for DeflatedName<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 201 - impl<'r, 'a> Inflate<'a> for DeflatedName<'r, 'a> { 201 + impl<'a> Inflate<'a> for DeflatedName<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L186
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:186:6 | 186 | impl<'r, 'a> Inflate<'a> for DeflatedParamStar<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 186 - impl<'r, 'a> Inflate<'a> for DeflatedParamStar<'r, 'a> { 186 + impl<'a> Inflate<'a> for DeflatedParamStar<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L161
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:161:6 | 161 | impl<'r, 'a> Inflate<'a> for DeflatedParamSlash<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 161 - impl<'r, 'a> Inflate<'a> for DeflatedParamSlash<'r, 'a> { 161 + impl<'a> Inflate<'a> for DeflatedParamSlash<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/expression.rs#L61
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/expression.rs:61:6 | 61 | impl<'r, 'a> Inflate<'a> for DeflatedParameters<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 61 - impl<'r, 'a> Inflate<'a> for DeflatedParameters<'r, 'a> { 61 + impl<'a> Inflate<'a> for DeflatedParameters<'_, 'a> { |
the following explicit lifetimes could be elided: 'r, 'a: libcst/src/nodes/expression.rs#L50
warning: the following explicit lifetimes could be elided: 'r, 'a --> libcst/src/nodes/expression.rs:50:6 | 50 | impl<'r, 'a> DeflatedParameters<'r, 'a> { | ^^ ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 50 - impl<'r, 'a> DeflatedParameters<'r, 'a> { 50 + impl DeflatedParameters<'_, '_> { |
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/expression.rs#L39
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/expression.rs:39:6 | 39 | impl<'a> Parameters<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 39 - impl<'a> Parameters<'a> { 39 + impl Parameters<'_> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3603
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3603:6 | 3603 | impl<'r, 'a> Inflate<'a> for DeflatedTypeAlias<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3603 - impl<'r, 'a> Inflate<'a> for DeflatedTypeAlias<'r, 'a> { 3603 + impl<'a> Inflate<'a> for DeflatedTypeAlias<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3551
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3551:6 | 3551 | impl<'r, 'a> Inflate<'a> for DeflatedTypeParameters<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3551 - impl<'r, 'a> Inflate<'a> for DeflatedTypeParameters<'r, 'a> { 3551 + impl<'a> Inflate<'a> for DeflatedTypeParameters<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3497
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3497:6 | 3497 | impl<'r, 'a> Inflate<'a> for DeflatedTypeParam<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3497 - impl<'r, 'a> Inflate<'a> for DeflatedTypeParam<'r, 'a> { 3497 + impl<'a> Inflate<'a> for DeflatedTypeParam<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3455
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3455:6 | 3455 | impl<'r, 'a> Inflate<'a> for DeflatedParamSpec<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3455 - impl<'r, 'a> Inflate<'a> for DeflatedParamSpec<'r, 'a> { 3455 + impl<'a> Inflate<'a> for DeflatedParamSpec<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3425
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3425:6 | 3425 | impl<'r, 'a> Inflate<'a> for DeflatedTypeVarTuple<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3425 - impl<'r, 'a> Inflate<'a> for DeflatedTypeVarTuple<'r, 'a> { 3425 + impl<'a> Inflate<'a> for DeflatedTypeVarTuple<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3398
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3398:6 | 3398 | impl<'r, 'a> Inflate<'a> for DeflatedTypeVar<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3398 - impl<'r, 'a> Inflate<'a> for DeflatedTypeVar<'r, 'a> { 3398 + impl<'a> Inflate<'a> for DeflatedTypeVar<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3367
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3367:6 | 3367 | impl<'r, 'a> Inflate<'a> for DeflatedMatchOr<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3367 - impl<'r, 'a> Inflate<'a> for DeflatedMatchOr<'r, 'a> { 3367 + impl<'a> Inflate<'a> for DeflatedMatchOr<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3340
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3340:6 | 3340 | impl<'r, 'a> Inflate<'a> for DeflatedMatchOrElement<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3340 - impl<'r, 'a> Inflate<'a> for DeflatedMatchOrElement<'r, 'a> { 3340 + impl<'a> Inflate<'a> for DeflatedMatchOrElement<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3291
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3291:6 | 3291 | impl<'r, 'a> Inflate<'a> for DeflatedMatchAs<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3291 - impl<'r, 'a> Inflate<'a> for DeflatedMatchAs<'r, 'a> { 3291 + impl<'a> Inflate<'a> for DeflatedMatchAs<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3220
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3220:6 | 3220 | impl<'r, 'a> DeflatedMatchKeywordElement<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3220 - impl<'r, 'a> DeflatedMatchKeywordElement<'r, 'a> { 3220 + impl<'a> DeflatedMatchKeywordElement<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3146
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3146:6 | 3146 | impl<'r, 'a> Inflate<'a> for DeflatedMatchClass<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3146 - impl<'r, 'a> Inflate<'a> for DeflatedMatchClass<'r, 'a> { 3146 + impl<'a> Inflate<'a> for DeflatedMatchClass<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3069
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3069:6 | 3069 | impl<'r, 'a> DeflatedMatchMappingElement<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3069 - impl<'r, 'a> DeflatedMatchMappingElement<'r, 'a> { 3069 + impl<'a> DeflatedMatchMappingElement<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L3001
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:3001:6 | 3001 | impl<'r, 'a> Inflate<'a> for DeflatedMatchMapping<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 3001 - impl<'r, 'a> Inflate<'a> for DeflatedMatchMapping<'r, 'a> { 3001 + impl<'a> Inflate<'a> for DeflatedMatchMapping<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2938
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2938:6 | 2938 | impl<'r, 'a> DeflatedMatchStar<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2938 - impl<'r, 'a> DeflatedMatchStar<'r, 'a> { 2938 + impl<'a> DeflatedMatchStar<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2884
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2884:6 | 2884 | impl<'r, 'a> DeflatedMatchSequenceElement<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2884 - impl<'r, 'a> DeflatedMatchSequenceElement<'r, 'a> { 2884 + impl<'a> DeflatedMatchSequenceElement<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2838
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2838:6 | 2838 | impl<'r, 'a> DeflatedStarrableMatchSequenceElement<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2838 - impl<'r, 'a> DeflatedStarrableMatchSequenceElement<'r, 'a> { 2838 + impl<'a> DeflatedStarrableMatchSequenceElement<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2798
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2798:6 | 2798 | impl<'r, 'a> Inflate<'a> for DeflatedMatchTuple<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2798 - impl<'r, 'a> Inflate<'a> for DeflatedMatchTuple<'r, 'a> { 2798 + impl<'a> Inflate<'a> for DeflatedMatchTuple<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2750
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2750:6 | 2750 | impl<'r, 'a> Inflate<'a> for DeflatedMatchList<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2750 - impl<'r, 'a> Inflate<'a> for DeflatedMatchList<'r, 'a> { 2750 + impl<'a> Inflate<'a> for DeflatedMatchList<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2691
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2691:6 | 2691 | impl<'r, 'a> Inflate<'a> for DeflatedMatchSingleton<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2691 - impl<'r, 'a> Inflate<'a> for DeflatedMatchSingleton<'r, 'a> { 2691 + impl<'a> Inflate<'a> for DeflatedMatchSingleton<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2634
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2634:6 | 2634 | impl<'r, 'a> Inflate<'a> for DeflatedMatchValue<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2634 - impl<'r, 'a> Inflate<'a> for DeflatedMatchValue<'r, 'a> { 2634 + impl<'a> Inflate<'a> for DeflatedMatchValue<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2554
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2554:6 | 2554 | impl<'r, 'a> Inflate<'a> for DeflatedMatchCase<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2554 - impl<'r, 'a> Inflate<'a> for DeflatedMatchCase<'r, 'a> { 2554 + impl<'a> Inflate<'a> for DeflatedMatchCase<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2477
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2477:6 | 2477 | impl<'r, 'a> Inflate<'a> for DeflatedMatch<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2477 - impl<'r, 'a> Inflate<'a> for DeflatedMatch<'r, 'a> { 2477 + impl<'a> Inflate<'a> for DeflatedMatch<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L2403
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:2403:50 | 2403 | parse_simple_whitespace(config, &mut (*self.tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2399
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2399:6 | 2399 | impl<'r, 'a> Inflate<'a> for DeflatedDel<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2399 - impl<'r, 'a> Inflate<'a> for DeflatedDel<'r, 'a> { 2399 + impl<'a> Inflate<'a> for DeflatedDel<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L2342
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:2342:18 | 2342 | &mut (*self.colon_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.colon_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L2325
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:2325:50 | 2325 | parse_simple_whitespace(config, &mut (*self.with_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^^^ help: try: `self.with_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L2319
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:2319:22 | 2319 | &mut (*self.with_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^ help: try: `self.with_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2296
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2296:6 | 2296 | impl<'r, 'a> Inflate<'a> for DeflatedWith<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2296 - impl<'r, 'a> Inflate<'a> for DeflatedWith<'r, 'a> { 2296 + impl<'a> Inflate<'a> for DeflatedWith<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2198
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2198:6 | 2198 | impl<'r, 'a> DeflatedWithItem<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2198 - impl<'r, 'a> DeflatedWithItem<'r, 'a> { 2198 + impl<'a> DeflatedWithItem<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2157
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2157:6 | 2157 | impl<'r, 'a> Inflate<'a> for DeflatedAugAssign<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2157 - impl<'r, 'a> Inflate<'a> for DeflatedAugAssign<'r, 'a> { 2157 + impl<'a> Inflate<'a> for DeflatedAugAssign<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L2133
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:2133:50 | 2133 | parse_simple_whitespace(config, &mut (*self.try_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^^ help: try: `self.try_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L2129
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:2129:18 | 2129 | &mut (*self.try_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^ help: try: `self.try_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2124
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2124:6 | 2124 | impl<'r, 'a> Inflate<'a> for DeflatedTryStar<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2124 - impl<'r, 'a> Inflate<'a> for DeflatedTryStar<'r, 'a> { 2124 + impl<'a> Inflate<'a> for DeflatedTryStar<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L2073
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:2073:50 | 2073 | parse_simple_whitespace(config, &mut (*self.try_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^^ help: try: `self.try_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L2069
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:2069:18 | 2069 | &mut (*self.try_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^ help: try: `self.try_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L2064
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:2064:6 | 2064 | impl<'r, 'a> Inflate<'a> for DeflatedTry<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 2064 - impl<'r, 'a> Inflate<'a> for DeflatedTry<'r, 'a> { 2064 + impl<'a> Inflate<'a> for DeflatedTry<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1995
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1995:6 | 1995 | impl<'r, 'a> Inflate<'a> for DeflatedExceptStarHandler<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1995 - impl<'r, 'a> Inflate<'a> for DeflatedExceptStarHandler<'r, 'a> { 1995 + impl<'a> Inflate<'a> for DeflatedExceptStarHandler<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1941
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1941:22 | 1941 | &mut (*self.colon_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.colon_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1933
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1933:18 | 1933 | &mut (*self.except_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^^ help: try: `self.except_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1928
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1928:18 | 1928 | &mut (*self.except_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^^ help: try: `self.except_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1923
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1923:6 | 1923 | impl<'r, 'a> Inflate<'a> for DeflatedExceptHandler<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1923 - impl<'r, 'a> Inflate<'a> for DeflatedExceptHandler<'r, 'a> { 1923 + impl<'a> Inflate<'a> for DeflatedExceptHandler<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1878
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1878:18 | 1878 | &mut (*self.colon_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.colon_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1873
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1873:18 | 1873 | &mut (*self.finally_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^^^ help: try: `self.finally_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1868
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1868:6 | 1868 | impl<'r, 'a> Inflate<'a> for DeflatedFinally<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1868 - impl<'r, 'a> Inflate<'a> for DeflatedFinally<'r, 'a> { 1868 + impl<'a> Inflate<'a> for DeflatedFinally<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1815
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1815:18 | 1815 | &mut (*self.colon_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.colon_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1788
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1788:50 | 1788 | parse_simple_whitespace(config, &mut (*self.class_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^^^^ help: try: `self.class_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1777
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1777:18 | 1777 | &mut (*self.class_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.class_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1772
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1772:6 | 1772 | impl<'r, 'a> Inflate<'a> for DeflatedClassDef<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1772 - impl<'r, 'a> Inflate<'a> for DeflatedClassDef<'r, 'a> { 1772 + impl<'a> Inflate<'a> for DeflatedClassDef<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1685
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1685:18 | 1685 | &mut (*self.colon_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.colon_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1681
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1681:50 | 1681 | parse_simple_whitespace(config, &mut (*self.while_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^^^^ help: try: `self.while_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1677
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1677:18 | 1677 | &mut (*self.while_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.while_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1672
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1672:6 | 1672 | impl<'r, 'a> Inflate<'a> for DeflatedWhile<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1672 - impl<'r, 'a> Inflate<'a> for DeflatedWhile<'r, 'a> { 1672 + impl<'a> Inflate<'a> for DeflatedWhile<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1619
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1619:18 | 1619 | &mut (*self.colon_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.colon_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1615
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1615:50 | 1615 | parse_simple_whitespace(config, &mut (*self.in_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^ help: try: `self.in_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1613
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1613:50 | 1613 | parse_simple_whitespace(config, &mut (*self.in_tok).whitespace_before.borrow_mut())?; | ^^^^^^^^^^^^^^ help: try: `self.in_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1610
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1610:50 | 1610 | parse_simple_whitespace(config, &mut (*self.for_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^^ help: try: `self.for_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1605
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1605:22 | 1605 | &mut (*self.for_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^ help: try: `self.for_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1583
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1583:6 | 1583 | impl<'r, 'a> Inflate<'a> for DeflatedFor<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1583 - impl<'r, 'a> Inflate<'a> for DeflatedFor<'r, 'a> { 1583 + impl<'a> Inflate<'a> for DeflatedFor<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1505
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1505:50 | 1505 | parse_simple_whitespace(config, &mut (*self.tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1501
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1501:6 | 1501 | impl<'r, 'a> Inflate<'a> for DeflatedNonlocal<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1501 - impl<'r, 'a> Inflate<'a> for DeflatedNonlocal<'r, 'a> { 1501 + impl<'a> Inflate<'a> for DeflatedNonlocal<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1460
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1460:50 | 1460 | parse_simple_whitespace(config, &mut (*self.tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1456
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1456:6 | 1456 | impl<'r, 'a> Inflate<'a> for DeflatedGlobal<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1456 - impl<'r, 'a> Inflate<'a> for DeflatedGlobal<'r, 'a> { 1456 + impl<'a> Inflate<'a> for DeflatedGlobal<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1427
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1427:6 | 1427 | impl<'r, 'a> Inflate<'a> for DeflatedNameItem<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1427 - impl<'r, 'a> Inflate<'a> for DeflatedNameItem<'r, 'a> { 1427 + impl<'a> Inflate<'a> for DeflatedNameItem<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1367
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1367:22 | 1367 | &mut (*self.raise_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.raise_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1361
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1361:6 | 1361 | impl<'r, 'a> Inflate<'a> for DeflatedRaise<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1361 - impl<'r, 'a> Inflate<'a> for DeflatedRaise<'r, 'a> { 1361 + impl<'a> Inflate<'a> for DeflatedRaise<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1327
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1327:18 | 1327 | &mut (*self.assert_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^^ help: try: `self.assert_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1322
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1322:6 | 1322 | impl<'r, 'a> Inflate<'a> for DeflatedAssert<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1322 - impl<'r, 'a> Inflate<'a> for DeflatedAssert<'r, 'a> { 1322 + impl<'a> Inflate<'a> for DeflatedAssert<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1270
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1270:22 | 1270 | &mut (*self.return_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^^ help: try: `self.return_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1264
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1264:6 | 1264 | impl<'r, 'a> Inflate<'a> for DeflatedReturn<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1264 - impl<'r, 'a> Inflate<'a> for DeflatedReturn<'r, 'a> { 1264 + impl<'a> Inflate<'a> for DeflatedReturn<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1213
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1213:6 | 1213 | impl<'r, 'a> Inflate<'a> for DeflatedAnnAssign<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1213 - impl<'r, 'a> Inflate<'a> for DeflatedAnnAssign<'r, 'a> { 1213 + impl<'a> Inflate<'a> for DeflatedAnnAssign<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1174
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1174:18 | 1174 | &mut (*self.tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1170
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1170:18 | 1170 | &mut (*self.tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^ help: try: `self.tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1165
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1165:6 | 1165 | impl<'r, 'a> Inflate<'a> for DeflatedAnnotation<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1165 - impl<'r, 'a> Inflate<'a> for DeflatedAnnotation<'r, 'a> { 1165 + impl<'a> Inflate<'a> for DeflatedAnnotation<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1128
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1128:18 | 1128 | &mut (*self.colon_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.colon_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1123
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1123:18 | 1123 | &mut (*self.else_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^ help: try: `self.else_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1118
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1118:6 | 1118 | impl<'r, 'a> Inflate<'a> for DeflatedElse<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1118 - impl<'r, 'a> Inflate<'a> for DeflatedElse<'r, 'a> { 1118 + impl<'a> Inflate<'a> for DeflatedElse<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1068
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1068:18 | 1068 | &mut (*self.colon_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.colon_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1064
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1064:50 | 1064 | parse_simple_whitespace(config, &mut (*self.if_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^ help: try: `self.if_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L1060
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:1060:18 | 1060 | &mut (*self.if_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^ help: try: `self.if_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L1055
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:1055:6 | 1055 | impl<'r, 'a> Inflate<'a> for DeflatedIf<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1055 - impl<'r, 'a> Inflate<'a> for DeflatedIf<'r, 'a> { 1055 + impl<'a> Inflate<'a> for DeflatedIf<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L997
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:997:18 | 997 | &mut (*self.newline_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^^^ help: try: `self.newline_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L993
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:993:50 | 993 | parse_simple_whitespace(config, &mut (*self.at_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^ help: try: `self.at_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L989
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:989:18 | 989 | &mut (*self.at_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^ help: try: `self.at_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L984
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:984:6 | 984 | impl<'r, 'a> Inflate<'a> for DeflatedDecorator<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 984 - impl<'r, 'a> Inflate<'a> for DeflatedDecorator<'r, 'a> { 984 + impl<'a> Inflate<'a> for DeflatedDecorator<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L937
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:937:18 | 937 | &mut (*self.colon_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.colon_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
this expression creates a reference which is immediately dereferenced by the compiler: libcst/src/nodes/statement.rs#L932
warning: this expression creates a reference which is immediately dereferenced by the compiler --> libcst/src/nodes/statement.rs:932:68 | 932 | adjust_parameters_trailing_whitespace(config, &mut params, &self.close_paren_tok)?; | ^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.close_paren_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L929
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:929:18 | 929 | &mut (*self.open_paren_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.open_paren_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L903
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:903:50 | 903 | parse_simple_whitespace(config, &mut (*self.def_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^^ help: try: `self.def_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L890
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:890:22 | 890 | &mut (*self.def_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^ help: try: `self.def_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L866
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:866:6 | 866 | impl<'r, 'a> Inflate<'a> for DeflatedFunctionDef<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 866 - impl<'r, 'a> Inflate<'a> for DeflatedFunctionDef<'r, 'a> { 866 + impl<'a> Inflate<'a> for DeflatedFunctionDef<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L762
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:762:18 | 762 | &mut (*self.as_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^ help: try: `self.as_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L758
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:758:18 | 758 | &mut (*self.as_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^ help: try: `self.as_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L753
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:753:6 | 753 | impl<'r, 'a> Inflate<'a> for DeflatedAsName<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 753 - impl<'r, 'a> Inflate<'a> for DeflatedAsName<'r, 'a> { 753 + impl<'a> Inflate<'a> for DeflatedAsName<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L702
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:702:6 | 702 | impl<'r, 'a> Inflate<'a> for DeflatedImportAlias<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 702 - impl<'r, 'a> Inflate<'a> for DeflatedImportAlias<'r, 'a> { 702 + impl<'a> Inflate<'a> for DeflatedImportAlias<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L634
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:634:22 | 634 | &mut (*self.import_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^^ help: try: `self.import_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L615
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:615:18 | 615 | &mut (*self.import_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^^ help: try: `self.import_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L609
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:609:50 | 609 | parse_simple_whitespace(config, &mut (*self.from_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^^^ help: try: `self.from_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L605
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:605:6 | 605 | impl<'r, 'a> Inflate<'a> for DeflatedImportFrom<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 605 - impl<'r, 'a> Inflate<'a> for DeflatedImportFrom<'r, 'a> { 605 + impl<'a> Inflate<'a> for DeflatedImportFrom<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L543
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:543:18 | 543 | &mut (*self.import_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^^ help: try: `self.import_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L538
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:538:6 | 538 | impl<'r, 'a> Inflate<'a> for DeflatedImport<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 538 - impl<'r, 'a> Inflate<'a> for DeflatedImport<'r, 'a> { 538 + impl<'a> Inflate<'a> for DeflatedImport<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L493
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:493:50 | 493 | parse_simple_whitespace(config, &mut (*self.equal_tok).whitespace_after.borrow_mut())?; | ^^^^^^^^^^^^^^^^^ help: try: `self.equal_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L490
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:490:18 | 490 | &mut (*self.equal_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.equal_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L484
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:484:6 | 484 | impl<'r, 'a> Inflate<'a> for DeflatedAssignTarget<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 484 - impl<'r, 'a> Inflate<'a> for DeflatedAssignTarget<'r, 'a> { 484 + impl<'a> Inflate<'a> for DeflatedAssignTarget<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L446
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:446:6 | 446 | impl<'r, 'a> Inflate<'a> for DeflatedAssign<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 446 - impl<'r, 'a> Inflate<'a> for DeflatedAssign<'r, 'a> { 446 + impl<'a> Inflate<'a> for DeflatedAssign<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L418
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:418:6 | 418 | impl<'r, 'a> Inflate<'a> for DeflatedExpr<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 418 - impl<'r, 'a> Inflate<'a> for DeflatedExpr<'r, 'a> { 418 + impl<'a> Inflate<'a> for DeflatedExpr<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L394
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:394:6 | 394 | impl<'r, 'a> Inflate<'a> for DeflatedContinue<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 394 - impl<'r, 'a> Inflate<'a> for DeflatedContinue<'r, 'a> { 394 + impl<'a> Inflate<'a> for DeflatedContinue<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L371
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:371:6 | 371 | impl<'r, 'a> Inflate<'a> for DeflatedBreak<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 371 - impl<'r, 'a> Inflate<'a> for DeflatedBreak<'r, 'a> { 371 + impl<'a> Inflate<'a> for DeflatedBreak<'_, 'a> { |
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L348
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:348:6 | 348 | impl<'r, 'a> Inflate<'a> for DeflatedPass<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 348 - impl<'r, 'a> Inflate<'a> for DeflatedPass<'r, 'a> { 348 + impl<'a> Inflate<'a> for DeflatedPass<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L279
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:279:18 | 279 | &mut (*self.newline_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^^^ help: try: `self.newline_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L273
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:273:18 | 273 | &mut (*self.first_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.first_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L268
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:268:6 | 268 | impl<'r, 'a> Inflate<'a> for DeflatedSimpleStatementLine<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 268 - impl<'r, 'a> Inflate<'a> for DeflatedSimpleStatementLine<'r, 'a> { 268 + impl<'a> Inflate<'a> for DeflatedSimpleStatementLine<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L209
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:209:18 | 209 | &mut (*self.newline_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^^^ help: try: `self.newline_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L204
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:204:18 | 204 | &mut (*self.first_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^ help: try: `self.first_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L199
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:199:6 | 199 | impl<'r, 'a> Inflate<'a> for DeflatedSimpleStatementSuite<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 199 - impl<'r, 'a> Inflate<'a> for DeflatedSimpleStatementSuite<'r, 'a> { 199 + impl<'a> Inflate<'a> for DeflatedSimpleStatementSuite<'_, 'a> { |
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L169
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:169:18 | 169 | &mut (*self.newline_tok).whitespace_before.borrow_mut(), | ^^^^^^^^^^^^^^^^^^^ help: try: `self.newline_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
deref which would be done by auto-deref: libcst/src/nodes/statement.rs#L164
warning: deref which would be done by auto-deref --> libcst/src/nodes/statement.rs:164:18 | 164 | &mut (*self.dedent_tok).whitespace_after.borrow_mut(), | ^^^^^^^^^^^^^^^^^^ help: try: `self.dedent_tok` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref = note: `#[warn(clippy::explicit_auto_deref)]` on by default
the following explicit lifetimes could be elided: 'r: libcst/src/nodes/statement.rs#L147
warning: the following explicit lifetimes could be elided: 'r --> libcst/src/nodes/statement.rs:147:6 | 147 | impl<'r, 'a> Inflate<'a> for DeflatedIndentedBlock<'r, 'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 147 - impl<'r, 'a> Inflate<'a> for DeflatedIndentedBlock<'r, 'a> { 147 + impl<'a> Inflate<'a> for DeflatedIndentedBlock<'_, 'a> { |
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/whitespace.rs#L171
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/whitespace.rs:171:6 | 171 | impl<'a> Default for ParenthesizableWhitespace<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 171 - impl<'a> Default for ParenthesizableWhitespace<'a> { 171 + impl Default for ParenthesizableWhitespace<'_> { |
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/whitespace.rs#L106
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/whitespace.rs:106:6 | 106 | impl<'a> Default for EmptyLine<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 106 - impl<'a> Default for EmptyLine<'a> { 106 + impl Default for EmptyLine<'_> { |
the following explicit lifetimes could be elided: 'a: libcst/src/nodes/whitespace.rs#L25
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/nodes/whitespace.rs:25:6 | 25 | impl<'a> Default for Comment<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 25 - impl<'a> Default for Comment<'a> { 25 + impl Default for Comment<'_> { |
the following explicit lifetimes could be elided: 'a: libcst/src/tokenizer/whitespace_parser.rs#L353
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/tokenizer/whitespace_parser.rs:353:22 | 353 | fn advance_this_line<'a>( | ^^ 354 | config: &Config<'a>, | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 353 ~ fn advance_this_line( 354 ~ config: &Config<'_>, |
the following explicit lifetimes could be elided: 'a: libcst/src/tokenizer/whitespace_parser.rs#L344
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/tokenizer/whitespace_parser.rs:344:25 | 344 | fn advance_to_next_line<'a>(config: &Config<'a>, state: &mut State) -> Result<()> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 344 - fn advance_to_next_line<'a>(config: &Config<'a>, state: &mut State) -> Result<()> { 344 + fn advance_to_next_line(config: &Config<'_>, state: &mut State) -> Result<()> { |
the following explicit lifetimes could be elided: 'a: libcst/src/tokenizer/whitespace_parser.rs#L40
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/tokenizer/whitespace_parser.rs:40:6 | 40 | impl<'a> Default for State<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 40 - impl<'a> Default for State<'a> { 40 + impl Default for State<'_> { |
this manual char comparison can be written more succinctly: libcst/src/tokenizer/text_position/mod.rs#L98
warning: this manual char comparison can be written more succinctly --> libcst/src/tokenizer/text_position/mod.rs:98:57 | 98 | !rest_of_text[..match_len].contains(|x| x == '\r' || x == '\n'), | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using an array of `char`: `['\r', '\n']` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison = note: `#[warn(clippy::manual_pattern_char_comparison)]` on by default
the following explicit lifetimes could be elided: 't: libcst/src/tokenizer/text_position/char_width.rs#L88
warning: the following explicit lifetimes could be elided: 't --> libcst/src/tokenizer/text_position/char_width.rs:88:6 | 88 | impl<'t> Iterator for NewlineNormalizedCharWidths<'t> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 88 - impl<'t> Iterator for NewlineNormalizedCharWidths<'t> { 88 + impl Iterator for NewlineNormalizedCharWidths<'_> { |
the following explicit lifetimes could be elided: 'a: libcst/src/tokenizer/core/mod.rs#L1086
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/tokenizer/core/mod.rs:1086:6 | 1086 | impl<'a> Eq for Token<'a> {} | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1086 - impl<'a> Eq for Token<'a> {} 1086 + impl Eq for Token<'_> {} |
the following explicit lifetimes could be elided: 'a: libcst/src/tokenizer/core/mod.rs#L1080
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/tokenizer/core/mod.rs:1080:6 | 1080 | impl<'a> PartialEq for Token<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 1080 - impl<'a> PartialEq for Token<'a> { 1080 + impl PartialEq for Token<'_> { |
the following explicit lifetimes could be elided: 'a: libcst/src/tokenizer/core/mod.rs#L1069
warning: the following explicit lifetimes could be elided: 'a --> libcst/src/tokenizer/core/mod.rs:1069:6 | 1069 | impl<'a> Debug for Token<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 1069 - impl<'a> Debug for Token<'a> { 1069 + impl Debug for Token<'_> { |
binary comparison to literal `Option::None`: libcst/src/tokenizer/core/mod.rs#L409
warning: binary comparison to literal `Option::None` --> libcst/src/tokenizer/core/mod.rs:409:28 | 409 | if self.text_pos.peek() == None { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `Option::is_none()` instead: `self.text_pos.peek().is_none()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none = note: `#[warn(clippy::partialeq_to_none)]` on by default
struct `Details` is never constructed: libcst/src/parser/errors.rs#L36
warning: struct `Details` is never constructed --> libcst/src/parser/errors.rs:36:12 | 36 | struct Details { | ^^^^^^^
field `string_start` is never read: libcst/src/tokenizer/core/string_types.rs#L74
warning: field `string_start` is never read --> libcst/src/tokenizer/core/string_types.rs:74:9 | 70 | pub struct FStringNode { | ----------- field in this struct ... 74 | pub string_start: Option<TextPositionSnapshot>, | ^^^^^^^^^^^^ | = note: `FStringNode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
redundant field names in struct initialization: libcst/src/parser/grammar.rs#L3453
warning: redundant field names in struct initialization --> libcst/src/parser/grammar.rs:3453:9 | 3453 | default: default, | ^^^^^^^^^^^^^^^^ help: replace it with: `default` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: libcst/src/parser/grammar.rs#L3451
warning: redundant field names in struct initialization --> libcst/src/parser/grammar.rs:3451:9 | 3451 | equal: equal, | ^^^^^^^^^^^^ help: replace it with: `equal` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: libcst/src/parser/grammar.rs#L3430
warning: redundant field names in struct initialization --> libcst/src/parser/grammar.rs:3430:9 | 3430 | default: default, | ^^^^^^^^^^^^^^^^ help: replace it with: `default` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: libcst/src/parser/grammar.rs#L3429
warning: redundant field names in struct initialization --> libcst/src/parser/grammar.rs:3429:9 | 3429 | star: star, | ^^^^^^^^^^ help: replace it with: `star` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: libcst/src/parser/grammar.rs#L3428
warning: redundant field names in struct initialization --> libcst/src/parser/grammar.rs:3428:9 | 3428 | equal: equal, | ^^^^^^^^^^^^ help: replace it with: `equal` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: libcst/src/parser/grammar.rs#L3402
warning: redundant field names in struct initialization --> libcst/src/parser/grammar.rs:3402:9 | 3402 | default: default, | ^^^^^^^^^^^^^^^^ help: replace it with: `default` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: libcst/src/parser/grammar.rs#L3400
warning: redundant field names in struct initialization --> libcst/src/parser/grammar.rs:3400:9 | 3400 | equal: equal, | ^^^^^^^^^^^^ help: replace it with: `equal` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names = note: `#[warn(clippy::redundant_field_names)]` on by default
unused import: `DeflatedImportStar as ImportStar`: libcst/src/nodes/mod.rs#L89
warning: unused import: `DeflatedImportStar as ImportStar` --> libcst/src/nodes/mod.rs:89:9 | 89 | DeflatedImportStar as ImportStar, DeflatedSemicolon as Semicolon, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused imports: `DeflatedAsynchronous as Asynchronous` and `DeflatedFormattedStringText as FormattedStringText`: libcst/src/nodes/mod.rs#L55
warning: unused imports: `DeflatedAsynchronous as Asynchronous` and `DeflatedFormattedStringText as FormattedStringText` --> libcst/src/nodes/mod.rs:55:29 | 55 | DeflatedArg as Arg, DeflatedAsynchronous as Asynchronous, DeflatedAttribute as Attribute, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 66 | DeflatedFormattedStringText as FormattedStringText, DeflatedFrom as From, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
Rust unit tests (macos-latest)
enum `Expr` is never used
Rust unit tests (macos-latest)
struct `Thin` is never constructed
Rust unit tests (macos-latest)
struct `Value` is never constructed
Rust unit tests (macos-latest)
struct `Empty` is never constructed
Rust unit tests (macos-latest)
enum `Smol` is never used
Rust unit tests (macos-latest): native/libcst_derive/tests/pass/simple.rs#L34
struct `Thin` is never constructed
Rust unit tests (macos-latest): native/libcst_derive/tests/pass/simple.rs#L39
struct `Value` is never constructed
Rust unit tests (macos-latest): native/libcst_derive/tests/pass/simple.rs#L44
struct `Empty` is never constructed
Rust unit tests (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (macos-latest, 3.11)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (macos-latest, 3.11)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (macos-latest, 3.11)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (macos-latest, 3.11)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (macos-latest, 3.10)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (macos-latest, 3.10)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (macos-latest, 3.10)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (macos-latest, 3.10)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (macos-latest, 3.9)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (macos-latest, 3.9)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (macos-latest, 3.9)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (macos-latest, 3.9)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (macos-latest, 3.13)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (macos-latest, 3.13)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (macos-latest, 3.13)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (macos-latest, 3.13)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (macos-latest, 3.12)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (macos-latest, 3.12)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (macos-latest, 3.12)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (macos-latest, 3.12)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (ubuntu-latest, 3.9)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (ubuntu-latest, 3.9)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (ubuntu-latest, 3.9)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (ubuntu-latest, 3.9)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (ubuntu-latest, 3.9)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (ubuntu-latest, 3.10)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (ubuntu-latest, 3.10)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (ubuntu-latest, 3.10)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (ubuntu-latest, 3.10)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (ubuntu-latest, 3.10)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (ubuntu-latest, 3.11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (ubuntu-latest, 3.11)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (ubuntu-latest, 3.11)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (ubuntu-latest, 3.11)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (ubuntu-latest, 3.11)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (windows-latest, 3.9)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (windows-latest, 3.9)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (windows-latest, 3.9)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (windows-latest, 3.9)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (ubuntu-latest, 3.12)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (ubuntu-latest, 3.12)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (ubuntu-latest, 3.12)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (ubuntu-latest, 3.12)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (ubuntu-latest, 3.12)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (ubuntu-latest, 3.13)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (ubuntu-latest, 3.13)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (ubuntu-latest, 3.13)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (ubuntu-latest, 3.13)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (ubuntu-latest, 3.13)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (windows-latest, 3.12)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (windows-latest, 3.12)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (windows-latest, 3.12)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (windows-latest, 3.12)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (windows-latest, 3.11)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (windows-latest, 3.11)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (windows-latest, 3.11)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (windows-latest, 3.11)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (windows-latest, 3.10)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (windows-latest, 3.10)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (windows-latest, 3.10)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (windows-latest, 3.10)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (windows-latest, 3.13)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (windows-latest, 3.13)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (windows-latest, 3.13)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (windows-latest, 3.13)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Artifacts

Produced during runtime
Name Size
sphinx-docs
8.87 MB