diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-04-28 13:30:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-28 13:30:44 +0200 |
| commit | 1a766a87722d840d8354eaecf51b47260bc274fd (patch) | |
| tree | 7150f59d3a0319e532b98415e67e942775cd1b9a /src/tools | |
| parent | 0134651fb81314870903e21b1bcbdd993d75b61a (diff) | |
| parent | bffb7608ce727d61cb1d9d3bb58d5461375f59a5 (diff) | |
| download | rust-1a766a87722d840d8354eaecf51b47260bc274fd.tar.gz rust-1a766a87722d840d8354eaecf51b47260bc274fd.zip | |
Rollup merge of #140056 - yuk1ty:fix-static-mut-error-message, r=jieyouxu
Fix a wrong error message in 2024 edition Fixes https://github.com/rust-lang/rust/issues/139952
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/clippy/tests/ui/checked_unwrap/simple_conditionals.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/clippy/tests/ui/checked_unwrap/simple_conditionals.stderr b/src/tools/clippy/tests/ui/checked_unwrap/simple_conditionals.stderr index bdac1e42309..ad3c420270c 100644 --- a/src/tools/clippy/tests/ui/checked_unwrap/simple_conditionals.stderr +++ b/src/tools/clippy/tests/ui/checked_unwrap/simple_conditionals.stderr @@ -236,7 +236,7 @@ LL | if result.is_ok() { LL | result.as_mut().unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^ -error: creating a shared reference to mutable static is discouraged +error: creating a shared reference to mutable static --> tests/ui/checked_unwrap/simple_conditionals.rs:183:12 | LL | if X.is_some() { |
