Commit b6cfe71
committed
compiler: fix some clippy needless_pass_by_ref_mut
warning: this argument is a mutable reference, but not used mutably
--> compiler\rustc_session\src\config.rs:2111:20
|
2111 | unstable_opts: &mut UnstableOptions,
| ^^^^^^^^^^^^^^^^^^^^ help: consider changing to: `&UnstableOptions`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_ref_mut1 parent bf47641 commit b6cfe71
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2108 | 2108 | | |
2109 | 2109 | | |
2110 | 2110 | | |
2111 | | - | |
| 2111 | + | |
2112 | 2112 | | |
2113 | 2113 | | |
2114 | 2114 | | |
| |||
2732 | 2732 | | |
2733 | 2733 | | |
2734 | 2734 | | |
| 2735 | + | |
| 2736 | + | |
2735 | 2737 | | |
2736 | 2738 | | |
2737 | 2739 | | |
| |||
2781 | 2783 | | |
2782 | 2784 | | |
2783 | 2785 | | |
2784 | | - | |
| 2786 | + | |
2785 | 2787 | | |
2786 | 2788 | | |
2787 | 2789 | | |
| |||
0 commit comments