Remove mutability from the language #573
Annotations
21 errors and 18 warnings
the `Err`-variant returned from this function is very large:
ast/src/lib.rs#L538
error: the `Err`-variant returned from this function is very large
--> ast/src/lib.rs:538:10
|
538 | ) -> Result<Vec<T>, Error> {
| ^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 144 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
ast/src/lib.rs#L527
error: the `Err`-variant returned from this function is very large
--> ast/src/lib.rs:527:10
|
527 | ) -> Result<Option<T>, Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 144 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
ast/src/lib.rs#L519
error: the `Err`-variant returned from this function is very large
--> ast/src/lib.rs:519:43
|
519 | fn boxed(&mut self, ast: Box<Ast>) -> Result<Box<Ast>, Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 144 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
ast/src/lib.rs#L470
error: the `Err`-variant returned from this function is very large
--> ast/src/lib.rs:470:38
|
470 | fn visit(&mut self, ast: Ast) -> Result<Ast, Error> {
| ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 144 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
ast/src/lib.rs#L463
error: the `Err`-variant returned from this function is very large
--> ast/src/lib.rs:463:55
|
463 | fn visit_empty(&mut self, location: SpanTuple) -> Result<Ast, Error> {
| ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 144 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
ast/src/lib.rs#L456
error: the `Err`-variant returned from this function is very large
--> ast/src/lib.rs:456:72
|
456 | fn visit_constant(&mut self, location: SpanTuple, value: Value) -> Result<Ast, Error> {
| ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 144 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
ast/src/lib.rs#L447
error: the `Err`-variant returned from this function is very large
--> ast/src/lib.rs:447:10
|
447 | ) -> Result<Ast, Error> {
| ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 144 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
ast/src/lib.rs#L436
error: the `Err`-variant returned from this function is very large
--> ast/src/lib.rs:436:81
|
436 | fn visit_var_or_empty_type(&mut self, location: SpanTuple, name: Symbol) -> Result<Ast, Error> {
| ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 144 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
ast/src/lib.rs#L427
error: the `Err`-variant returned from this function is very large
--> ast/src/lib.rs:427:10
|
427 | ) -> Result<Ast, Error> {
| ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 144 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
ast/src/lib.rs#L413
error: the `Err`-variant returned from this function is very large
--> ast/src/lib.rs:413:10
|
413 | ) -> Result<Ast, Error> {
| ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 144 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
ast/src/lib.rs#L393
error: the `Err`-variant returned from this function is very large
--> ast/src/lib.rs:393:10
|
393 | ) -> Result<Ast, Error> {
| ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 144 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
ast/src/lib.rs#L378
error: the `Err`-variant returned from this function is very large
--> ast/src/lib.rs:378:10
|
378 | ) -> Result<Ast, Error> {
| ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 144 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
ast/src/lib.rs#L363
error: the `Err`-variant returned from this function is very large
--> ast/src/lib.rs:363:10
|
363 | ) -> Result<Ast, Error> {
| ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 144 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
ast/src/lib.rs#L343
error: the `Err`-variant returned from this function is very large
--> ast/src/lib.rs:343:10
|
343 | ) -> Result<Ast, Error> {
| ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 144 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
ast/src/lib.rs#L329
error: the `Err`-variant returned from this function is very large
--> ast/src/lib.rs:329:10
|
329 | ) -> Result<Ast, Error> {
| ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 144 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
ast/src/lib.rs#L316
error: the `Err`-variant returned from this function is very large
--> ast/src/lib.rs:316:10
|
316 | ) -> Result<Ast, Error> {
| ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 144 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
ast/src/lib.rs#L298
error: the `Err`-variant returned from this function is very large
--> ast/src/lib.rs:298:10
|
298 | ) -> Result<Ast, Error> {
| ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 144 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
ast/src/lib.rs#L282
error: the `Err`-variant returned from this function is very large
--> ast/src/lib.rs:282:10
|
282 | ) -> Result<Ast, Error> {
| ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 144 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
ast/src/lib.rs#L267
error: the `Err`-variant returned from this function is very large
--> ast/src/lib.rs:267:10
|
267 | ) -> Result<Ast, Error> {
| ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 144 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
ast/src/lib.rs#L247
error: the `Err`-variant returned from this function is very large
--> ast/src/lib.rs:247:10
|
247 | ) -> Result<Ast, Error> {
| ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 144 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
ast/src/lib.rs#L234
error: the `Err`-variant returned from this function is very large
--> ast/src/lib.rs:234:10
|
234 | ) -> Result<Ast, Error> {
| ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 144 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
= note: `-D clippy::result-large-err` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::result_large_err)]`
|
docker
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
docker
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/[email protected], docker/[email protected], docker/setup-buildx-action@v1, actions/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
docker
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/[email protected], docker/[email protected], docker/setup-buildx-action@v1, actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
docker
The `save-state` 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/
|
docker
The `save-state` 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/
|
docker
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/
|
docker
The `save-state` 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/
|
docker
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/
|
docker
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/
|
docker
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/
|
docker
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/
|
docker
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/
|
docker
The `save-state` 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/
|
docker
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/
|
docker
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/
|
docker
The `save-state` 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/
|
docker
The `save-state` 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/
|
docker
The `save-state` 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/
|