ci: test with 3.12 #551
ci.yml
on: pull_request
lint
3m 38s
typecheck
1m 57s
coverage
5m 45s
docs
2m 18s
Rustfmt
21s
Matrix: Rust unit tests
Matrix: test
Annotations
3 errors and 480 warnings
test (ubuntu-latest, 3.12)
The version '3.12' with architecture 'x64' was not found for Ubuntu 22.04.
The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
|
test (macos-latest, 3.12)
The version '3.12' with architecture 'x64' was not found for macOS 12.6.7.
The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
|
test (windows-latest, 3.12)
The version '3.12' with architecture 'x64' was not found for Windows 2022.
The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
|
Rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Rustfmt
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/
|
Rustfmt
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/
|
Rustfmt
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/
|
Rustfmt
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/
|
`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:29
|
22 | let first_arg = env::args().nth(1).unwrap_or_else(|| "".to_string());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `env::args().nth(1).unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_else_default
= note: `#[warn(clippy::unwrap_or_else_default)]` on by default
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
libcst/src/parser/grammar.rs#L1864
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> libcst/src/parser/grammar.rs:1864:25
|
1864 | 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/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/iter/traits/iterator.rs:522: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
|
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
|
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 this: `self.eof_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#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 this: `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 this: `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#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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `tok`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
|
all variants have the same postfix: `Assign`:
libcst/src/nodes/op.rs#L1051
warning: all variants have the same postfix: `Assign`
--> libcst/src/nodes/op.rs:1051:1
|
1051 | #[cst_node]
| ^^^^^^^^^^^
|
= help: remove the postfixes and use full paths to the variants instead of glob imports
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names
= note: `#[warn(clippy::enum_variant_names)]` on by default
= note: this warning originates in the attribute macro `cst_node` (in Nightly builds, run with -Z macro-backtrace for more info)
|
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 this: `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 this: `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#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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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#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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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#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 this: `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 this: `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 this: `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 this: `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#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 this: `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 this: `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 this: `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 this: `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#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 this: `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 this: `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#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 this: `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 this: `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#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 this: `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#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 this: `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 this: `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#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 this: `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 this: `self.tok`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
|
`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
|
`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
|
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 this: `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: '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, '_> {
|
|
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 this: `self.right_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#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 this: `self.await_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#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 this: `self.yield_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#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 this: `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 this: `self.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/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 this: `self.lambda_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#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 this: `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 this: `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 this: `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 this: `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#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 this: `self.star_tok`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
|
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>>,
|
|
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 this: `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 this: `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#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 this: `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 this: `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 this: `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 this: `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#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 this: `self.tok`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
|
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> {
|
|
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 this: `self.tok`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
|
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> {
|
|
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 this: `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 this: `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#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 this: `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#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 this: `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#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 this: `self.star_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#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 this: `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 this: `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 this: `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#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 this: `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#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 this: `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/statement.rs#L2358
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:2358:50
|
2358 | parse_simple_whitespace(config, &mut (*self.tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^ help: try this: `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#L2297
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:2297:18
|
2297 | &mut (*self.colon_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L2280
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:2280:50
|
2280 | parse_simple_whitespace(config, &mut (*self.with_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^^^ help: try this: `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#L2274
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:2274:22
|
2274 | &mut (*self.with_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^ help: try this: `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#L2088
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:2088:50
|
2088 | parse_simple_whitespace(config, &mut (*self.try_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^^ help: try this: `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#L2084
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:2084:18
|
2084 | &mut (*self.try_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^ help: try this: `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#L2028
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:2028:50
|
2028 | parse_simple_whitespace(config, &mut (*self.try_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^^ help: try this: `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#L2024
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:2024:18
|
2024 | &mut (*self.try_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^ help: try this: `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#L1896
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1896:22
|
1896 | &mut (*self.colon_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L1888
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1888:18
|
1888 | &mut (*self.except_tok).whitespace_after.borrow_mut(),
| ^^^^^^^^^^^^^^^^^^ help: try this: `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#L1883
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1883:18
|
1883 | &mut (*self.except_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^^ help: try this: `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#L1833
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1833:18
|
1833 | &mut (*self.colon_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L1828
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1828:18
|
1828 | &mut (*self.finally_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^^^ help: try this: `self.finally_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#L1772
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1772:18
|
1772 | &mut (*self.colon_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L1753
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1753:50
|
1753 | parse_simple_whitespace(config, &mut (*self.class_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L1742
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1742:18
|
1742 | &mut (*self.class_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L1657
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1657:18
|
1657 | &mut (*self.colon_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L1653
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1653:50
|
1653 | parse_simple_whitespace(config, &mut (*self.while_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L1649
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1649:18
|
1649 | &mut (*self.while_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L1591
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1591:18
|
1591 | &mut (*self.colon_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L1587
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1587:50
|
1587 | parse_simple_whitespace(config, &mut (*self.in_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^ help: try this: `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#L1585
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1585:50
|
1585 | parse_simple_whitespace(config, &mut (*self.in_tok).whitespace_before.borrow_mut())?;
| ^^^^^^^^^^^^^^ help: try this: `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#L1582
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1582:50
|
1582 | parse_simple_whitespace(config, &mut (*self.for_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^^ help: try this: `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#L1577
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1577:22
|
1577 | &mut (*self.for_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^ help: try this: `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#L1477
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1477:50
|
1477 | parse_simple_whitespace(config, &mut (*self.tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^ help: try this: `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#L1432
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1432:50
|
1432 | parse_simple_whitespace(config, &mut (*self.tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^ help: try this: `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#L1339
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1339:22
|
1339 | &mut (*self.raise_tok).whitespace_after.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `self.raise_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#L1299
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1299:18
|
1299 | &mut (*self.assert_tok).whitespace_after.borrow_mut(),
| ^^^^^^^^^^^^^^^^^^ help: try this: `self.assert_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#L1242
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1242:22
|
1242 | &mut (*self.return_tok).whitespace_after.borrow_mut(),
| ^^^^^^^^^^^^^^^^^^ help: try this: `self.return_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#L1146
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1146:18
|
1146 | &mut (*self.tok).whitespace_after.borrow_mut(),
| ^^^^^^^^^^^ help: try this: `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#L1142
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1142:18
|
1142 | &mut (*self.tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^ help: try this: `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#L1100
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1100:18
|
1100 | &mut (*self.colon_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L1095
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1095:18
|
1095 | &mut (*self.else_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^ help: try this: `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/statement.rs#L1040
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1040:18
|
1040 | &mut (*self.colon_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L1036
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1036:50
|
1036 | parse_simple_whitespace(config, &mut (*self.if_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^ help: try this: `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#L1032
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1032:18
|
1032 | &mut (*self.if_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^ help: try this: `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#L969
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:969:18
|
969 | &mut (*self.newline_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^^^ help: try this: `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#L965
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:965:50
|
965 | parse_simple_whitespace(config, &mut (*self.at_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^ help: try this: `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#L961
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:961:18
|
961 | &mut (*self.at_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^ help: try this: `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#L911
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:911:18
|
911 | &mut (*self.colon_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L906
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> libcst/src/nodes/statement.rs:906:68
|
906 | 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#L903
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:903:18
|
903 | &mut (*self.open_paren_tok).whitespace_after.borrow_mut(),
| ^^^^^^^^^^^^^^^^^^^^^^ help: try this: `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#L898
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:898:18
|
898 | &mut (*self.open_paren_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^^^^^^ help: try this: `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#L893
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:893:50
|
893 | parse_simple_whitespace(config, &mut (*self.def_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^^ help: try this: `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#L880
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:880:22
|
880 | &mut (*self.def_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^ help: try this: `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#L760
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:760:18
|
760 | &mut (*self.as_tok).whitespace_after.borrow_mut(),
| ^^^^^^^^^^^^^^ help: try this: `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#L756
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:756:18
|
756 | &mut (*self.as_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^ help: try this: `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#L632
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:632:22
|
632 | &mut (*self.import_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^^ help: try this: `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#L613
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:613:18
|
613 | &mut (*self.import_tok).whitespace_after.borrow_mut(),
| ^^^^^^^^^^^^^^^^^^ help: try this: `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#L607
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:607:50
|
607 | parse_simple_whitespace(config, &mut (*self.from_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^^^ help: try this: `self.from_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#L541
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:541:18
|
541 | &mut (*self.import_tok).whitespace_after.borrow_mut(),
| ^^^^^^^^^^^^^^^^^^ help: try this: `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#L491
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:491:50
|
491 | parse_simple_whitespace(config, &mut (*self.equal_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L488
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:488:18
|
488 | &mut (*self.equal_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#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 this: `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 this: `self.first_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#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 this: `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 this: `self.first_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#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 this: `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 this: `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: 'a:
libcst/src/tokenizer/whitespace_parser.rs#L323
warning: the following explicit lifetimes could be elided: 'a
--> libcst/src/tokenizer/whitespace_parser.rs:323:22
|
323 | fn advance_this_line<'a>(
| ^^
324 | config: &Config<'a>,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
323 ~ fn advance_this_line(
324 ~ config: &Config<'_>,
|
|
the following explicit lifetimes could be elided: 'a:
libcst/src/tokenizer/whitespace_parser.rs#L314
warning: the following explicit lifetimes could be elided: 'a
--> libcst/src/tokenizer/whitespace_parser.rs:314:25
|
314 | 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
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
314 - fn advance_to_next_line<'a>(config: &Config<'a>, state: &mut State) -> Result<()> {
314 + fn advance_to_next_line(config: &Config<'_>, state: &mut State) -> Result<()> {
|
|
binary comparison to literal `Option::None`:
libcst/src/tokenizer/core/mod.rs#L408
warning: binary comparison to literal `Option::None`
--> libcst/src/tokenizer/core/mod.rs:408:28
|
408 | 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
|
Rust unit tests (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Rust unit tests (ubuntu-latest)
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/
|
Rust unit tests (ubuntu-latest)
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/
|
Rust unit tests (ubuntu-latest)
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/
|
Rust unit tests (ubuntu-latest)
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/
|
`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:29
|
22 | let first_arg = env::args().nth(1).unwrap_or_else(|| "".to_string());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `env::args().nth(1).unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_else_default
= note: `#[warn(clippy::unwrap_or_else_default)]` on by default
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
libcst/src/parser/grammar.rs#L1864
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> libcst/src/parser/grammar.rs:1864:25
|
1864 | 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/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/iter/traits/iterator.rs:522: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
|
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
|
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 this: `self.eof_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#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 this: `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 this: `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#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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `tok`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
|
all variants have the same postfix: `Assign`:
libcst/src/nodes/op.rs#L1051
warning: all variants have the same postfix: `Assign`
--> libcst/src/nodes/op.rs:1051:1
|
1051 | #[cst_node]
| ^^^^^^^^^^^
|
= help: remove the postfixes and use full paths to the variants instead of glob imports
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names
= note: `#[warn(clippy::enum_variant_names)]` on by default
= note: this warning originates in the attribute macro `cst_node` (in Nightly builds, run with -Z macro-backtrace for more info)
|
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 this: `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 this: `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#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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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#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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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 this: `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#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 this: `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 this: `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 this: `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 this: `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#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 this: `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 this: `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 this: `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 this: `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#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 this: `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 this: `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#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 this: `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 this: `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#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 this: `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#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 this: `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 this: `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#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 this: `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 this: `self.tok`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
|
`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
|
`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
|
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 this: `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: '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, '_> {
|
|
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 this: `self.right_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#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 this: `self.await_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#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 this: `self.yield_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#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 this: `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 this: `self.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/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 this: `self.lambda_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#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 this: `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 this: `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 this: `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 this: `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#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 this: `self.star_tok`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
|
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>>,
|
|
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 this: `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 this: `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#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 this: `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 this: `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 this: `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 this: `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#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 this: `self.tok`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
|
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> {
|
|
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 this: `self.tok`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
|
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> {
|
|
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 this: `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 this: `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#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 this: `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#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 this: `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#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 this: `self.star_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#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 this: `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 this: `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 this: `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#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 this: `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#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 this: `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/statement.rs#L2358
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:2358:50
|
2358 | parse_simple_whitespace(config, &mut (*self.tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^ help: try this: `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#L2297
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:2297:18
|
2297 | &mut (*self.colon_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L2280
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:2280:50
|
2280 | parse_simple_whitespace(config, &mut (*self.with_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^^^ help: try this: `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#L2274
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:2274:22
|
2274 | &mut (*self.with_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^ help: try this: `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#L2088
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:2088:50
|
2088 | parse_simple_whitespace(config, &mut (*self.try_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^^ help: try this: `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#L2084
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:2084:18
|
2084 | &mut (*self.try_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^ help: try this: `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#L2028
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:2028:50
|
2028 | parse_simple_whitespace(config, &mut (*self.try_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^^ help: try this: `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#L2024
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:2024:18
|
2024 | &mut (*self.try_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^ help: try this: `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#L1896
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1896:22
|
1896 | &mut (*self.colon_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L1888
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1888:18
|
1888 | &mut (*self.except_tok).whitespace_after.borrow_mut(),
| ^^^^^^^^^^^^^^^^^^ help: try this: `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#L1883
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1883:18
|
1883 | &mut (*self.except_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^^ help: try this: `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#L1833
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1833:18
|
1833 | &mut (*self.colon_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L1828
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1828:18
|
1828 | &mut (*self.finally_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^^^ help: try this: `self.finally_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#L1772
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1772:18
|
1772 | &mut (*self.colon_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L1753
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1753:50
|
1753 | parse_simple_whitespace(config, &mut (*self.class_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L1742
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1742:18
|
1742 | &mut (*self.class_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L1657
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1657:18
|
1657 | &mut (*self.colon_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L1653
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1653:50
|
1653 | parse_simple_whitespace(config, &mut (*self.while_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L1649
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1649:18
|
1649 | &mut (*self.while_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L1591
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1591:18
|
1591 | &mut (*self.colon_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L1587
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1587:50
|
1587 | parse_simple_whitespace(config, &mut (*self.in_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^ help: try this: `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#L1585
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1585:50
|
1585 | parse_simple_whitespace(config, &mut (*self.in_tok).whitespace_before.borrow_mut())?;
| ^^^^^^^^^^^^^^ help: try this: `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#L1582
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1582:50
|
1582 | parse_simple_whitespace(config, &mut (*self.for_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^^ help: try this: `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#L1577
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1577:22
|
1577 | &mut (*self.for_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^ help: try this: `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#L1477
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1477:50
|
1477 | parse_simple_whitespace(config, &mut (*self.tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^ help: try this: `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#L1432
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1432:50
|
1432 | parse_simple_whitespace(config, &mut (*self.tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^ help: try this: `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#L1339
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1339:22
|
1339 | &mut (*self.raise_tok).whitespace_after.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `self.raise_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#L1299
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1299:18
|
1299 | &mut (*self.assert_tok).whitespace_after.borrow_mut(),
| ^^^^^^^^^^^^^^^^^^ help: try this: `self.assert_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#L1242
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1242:22
|
1242 | &mut (*self.return_tok).whitespace_after.borrow_mut(),
| ^^^^^^^^^^^^^^^^^^ help: try this: `self.return_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#L1146
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1146:18
|
1146 | &mut (*self.tok).whitespace_after.borrow_mut(),
| ^^^^^^^^^^^ help: try this: `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#L1142
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1142:18
|
1142 | &mut (*self.tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^ help: try this: `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#L1100
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1100:18
|
1100 | &mut (*self.colon_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L1095
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1095:18
|
1095 | &mut (*self.else_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^ help: try this: `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/statement.rs#L1040
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1040:18
|
1040 | &mut (*self.colon_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L1036
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1036:50
|
1036 | parse_simple_whitespace(config, &mut (*self.if_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^ help: try this: `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#L1032
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:1032:18
|
1032 | &mut (*self.if_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^ help: try this: `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#L969
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:969:18
|
969 | &mut (*self.newline_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^^^ help: try this: `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#L965
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:965:50
|
965 | parse_simple_whitespace(config, &mut (*self.at_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^ help: try this: `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#L961
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:961:18
|
961 | &mut (*self.at_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^ help: try this: `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#L911
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:911:18
|
911 | &mut (*self.colon_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L906
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> libcst/src/nodes/statement.rs:906:68
|
906 | 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#L903
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:903:18
|
903 | &mut (*self.open_paren_tok).whitespace_after.borrow_mut(),
| ^^^^^^^^^^^^^^^^^^^^^^ help: try this: `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#L898
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:898:18
|
898 | &mut (*self.open_paren_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^^^^^^ help: try this: `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#L893
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:893:50
|
893 | parse_simple_whitespace(config, &mut (*self.def_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^^ help: try this: `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#L880
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:880:22
|
880 | &mut (*self.def_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^ help: try this: `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#L760
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:760:18
|
760 | &mut (*self.as_tok).whitespace_after.borrow_mut(),
| ^^^^^^^^^^^^^^ help: try this: `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#L756
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:756:18
|
756 | &mut (*self.as_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^ help: try this: `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#L632
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:632:22
|
632 | &mut (*self.import_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^^ help: try this: `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#L613
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:613:18
|
613 | &mut (*self.import_tok).whitespace_after.borrow_mut(),
| ^^^^^^^^^^^^^^^^^^ help: try this: `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#L607
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:607:50
|
607 | parse_simple_whitespace(config, &mut (*self.from_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^^^ help: try this: `self.from_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#L541
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:541:18
|
541 | &mut (*self.import_tok).whitespace_after.borrow_mut(),
| ^^^^^^^^^^^^^^^^^^ help: try this: `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#L491
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:491:50
|
491 | parse_simple_whitespace(config, &mut (*self.equal_tok).whitespace_after.borrow_mut())?;
| ^^^^^^^^^^^^^^^^^ help: try this: `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#L488
warning: deref which would be done by auto-deref
--> libcst/src/nodes/statement.rs:488:18
|
488 | &mut (*self.equal_tok).whitespace_before.borrow_mut(),
| ^^^^^^^^^^^^^^^^^ help: try this: `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#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 this: `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 this: `self.first_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#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 this: `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 this: `self.first_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#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 this: `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 this: `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: 'a:
libcst/src/tokenizer/whitespace_parser.rs#L323
warning: the following explicit lifetimes could be elided: 'a
--> libcst/src/tokenizer/whitespace_parser.rs:323:22
|
323 | fn advance_this_line<'a>(
| ^^
324 | config: &Config<'a>,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
323 ~ fn advance_this_line(
324 ~ config: &Config<'_>,
|
|
the following explicit lifetimes could be elided: 'a:
libcst/src/tokenizer/whitespace_parser.rs#L314
warning: the following explicit lifetimes could be elided: 'a
--> libcst/src/tokenizer/whitespace_parser.rs:314:25
|
314 | 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
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
314 - fn advance_to_next_line<'a>(config: &Config<'a>, state: &mut State) -> Result<()> {
314 + fn advance_to_next_line(config: &Config<'_>, state: &mut State) -> Result<()> {
|
|
binary comparison to literal `Option::None`:
libcst/src/tokenizer/core/mod.rs#L408
warning: binary comparison to literal `Option::None`
--> libcst/src/tokenizer/core/mod.rs:408:28
|
408 | 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
|
Rust unit tests (macos-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Rust unit tests (macos-latest)
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/
|
Rust unit tests (macos-latest)
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/
|
Rust unit tests (macos-latest)
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/
|
Rust unit tests (macos-latest)
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/
|
Rust unit tests (windows-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Rust unit tests (windows-latest)
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/
|
Rust unit tests (windows-latest)
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/
|
Rust unit tests (windows-latest)
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/
|
Rust unit tests (windows-latest)
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 following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
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.9)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
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.8)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test (ubuntu-latest, 3.8)
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.8)
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.8)
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.8)
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 following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
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 (macos-latest, 3.9)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
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 (windows-latest, 3.9)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
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 (windows-latest, 3.10)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
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.8)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test (windows-latest, 3.8)
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.8)
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.8)
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.8)
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 following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
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 (macos-latest, 3.8)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test (macos-latest, 3.8)
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.8)
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.8)
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.8)
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 following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
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.11)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
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/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage
Expired
|
970 KB |
|
sphinx-docs
Expired
|
18.1 MB |
|