Skip to content

Doc comments, moved TemplateExpansion #39

Doc comments, moved TemplateExpansion

Doc comments, moved TemplateExpansion #39

Triggered via push October 17, 2023 21:16
Status Success
Total duration 14m 19s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

miri.yml

on: push
Matrix: Test with Miri
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 15 warnings
returning the result of a `let` binding from a block: src/lazy/expanded/mod.rs#L324
error: returning the result of a `let` binding from a block --> src/lazy/expanded/mod.rs:324:9 | 315 | / let mut_value = unsafe { 316 | | // Cast the const pointer to a mut pointer 317 | | let mut_ptr = ptr as *mut T; 318 | | // Cast the mut pointer to a mut reference 319 | | &mut *mut_ptr 320 | | }; | |__________- unnecessary `let` binding ... 324 | mut_value | ^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return = note: `-D clippy::let-and-return` implied by `-D warnings` help: return the expression directly | 315 ~ 316 | // ^--- These operations only "exist" at compile time, and should boil away during rustc's 317 | // optimization passes. 318 | 319 ~ unsafe { 320 + // Cast the const pointer to a mut pointer 321 + let mut_ptr = ptr as *mut T; 322 + // Cast the mut pointer to a mut reference 323 + &mut *mut_ptr 324 + } as _ |
mutable borrow from immutable input(s): src/lazy/expanded/mod.rs#L293
error: mutable borrow from immutable input(s) --> src/lazy/expanded/mod.rs:293:40 | 293 | fn unsafe_get_mut<T>(value: &T) -> &mut T { | ^^^^^^ | note: immutable borrow here --> src/lazy/expanded/mod.rs:293:33 | 293 | fn unsafe_get_mut<T>(value: &T) -> &mut T { | ^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mut_from_ref = note: `#[deny(clippy::mut_from_ref)]` on by default
returning the result of a `let` binding from a block: src/lazy/expanded/mod.rs#L324
error: returning the result of a `let` binding from a block --> src/lazy/expanded/mod.rs:324:9 | 315 | / let mut_value = unsafe { 316 | | // Cast the const pointer to a mut pointer 317 | | let mut_ptr = ptr as *mut T; 318 | | // Cast the mut pointer to a mut reference 319 | | &mut *mut_ptr 320 | | }; | |__________- unnecessary `let` binding ... 324 | mut_value | ^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return = note: `-D clippy::let-and-return` implied by `-D warnings` help: return the expression directly | 315 ~ 316 | // ^--- These operations only "exist" at compile time, and should boil away during rustc's 317 | // optimization passes. 318 | 319 ~ unsafe { 320 + // Cast the const pointer to a mut pointer 321 + let mut_ptr = ptr as *mut T; 322 + // Cast the mut pointer to a mut reference 323 + &mut *mut_ptr 324 + } as _ |
mutable borrow from immutable input(s): src/lazy/expanded/mod.rs#L293
error: mutable borrow from immutable input(s) --> src/lazy/expanded/mod.rs:293:40 | 293 | fn unsafe_get_mut<T>(value: &T) -> &mut T { | ^^^^^^ | note: immutable borrow here --> src/lazy/expanded/mod.rs:293:33 | 293 | fn unsafe_get_mut<T>(value: &T) -> &mut T { | ^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mut_from_ref = note: `#[deny(clippy::mut_from_ref)]` on by default
Test with Miri (ubuntu-latest, experimental)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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 with Miri (ubuntu-latest, experimental)
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 with Miri (ubuntu-latest, experimental)
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 with Miri (ubuntu-latest, experimental)
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 with Miri (ubuntu-latest, experimental)
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 with Miri (macos-latest, experimental)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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 with Miri (macos-latest, experimental)
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 with Miri (macos-latest, experimental)
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 with Miri (macos-latest, experimental)
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 with Miri (macos-latest, experimental)
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 with Miri (windows-latest, experimental)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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 with Miri (windows-latest, experimental)
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 with Miri (windows-latest, experimental)
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 with Miri (windows-latest, experimental)
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 with Miri (windows-latest, experimental)
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/