Skip to content

Commit f99df29

Browse files
committed
fix tests after rebase
1 parent eb799cf commit f99df29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/clippy/tests/ui/from_str_radix_10.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![feature(const_int_from_str)]
21
#![warn(clippy::from_str_radix_10)]
32

43
mod some_mod {
@@ -61,7 +60,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
6160
Ok(())
6261
}
6362

64-
fn issue_12732() {
63+
// https://github.com/rust-lang/rust-clippy/issues/12731
64+
fn issue_12731() {
6565
const A: Result<u32, std::num::ParseIntError> = u32::from_str_radix("123", 10);
6666
const B: () = {
6767
let _ = u32::from_str_radix("123", 10);

0 commit comments

Comments
 (0)