diff options
| author | Bennet Bleßmann <bb-github@t-online.de> | 2024-07-04 21:23:55 +0200 |
|---|---|---|
| committer | Bennet Bleßmann <bb-github@t-online.de> | 2024-07-04 21:27:52 +0200 |
| commit | f99df29d9dcc1c313593967c8c390fae39d462d7 (patch) | |
| tree | f958eed6f56e3e24d9c613f2628eb7fa539ab43f | |
| parent | eb799cf634a811d1e0d719d30cba83d5611f87c8 (diff) | |
| download | rust-f99df29d9dcc1c313593967c8c390fae39d462d7.tar.gz rust-f99df29d9dcc1c313593967c8c390fae39d462d7.zip | |
fix tests after rebase
| -rw-r--r-- | src/tools/clippy/tests/ui/from_str_radix_10.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/clippy/tests/ui/from_str_radix_10.rs b/src/tools/clippy/tests/ui/from_str_radix_10.rs index 2d5b351f8da..0df6a0a202a 100644 --- a/src/tools/clippy/tests/ui/from_str_radix_10.rs +++ b/src/tools/clippy/tests/ui/from_str_radix_10.rs @@ -1,4 +1,3 @@ -#![feature(const_int_from_str)] #![warn(clippy::from_str_radix_10)] mod some_mod { @@ -61,7 +60,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> { Ok(()) } -fn issue_12732() { +// https://github.com/rust-lang/rust-clippy/issues/12731 +fn issue_12731() { const A: Result<u32, std::num::ParseIntError> = u32::from_str_radix("123", 10); const B: () = { let _ = u32::from_str_radix("123", 10); |
