Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 283f21b

Browse files
remove dead code
1 parent 3d3b917 commit 283f21b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

‎src/tools/compiletest/src/common.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ use std::sync::OnceLock;
66
use build_helper::git::GitConfig;
77
use camino::{Utf8Path, Utf8PathBuf};
88
use semver::Version;
9-
use serde::de::{Deserialize, Deserializer, Error as _};
109

1110
use crate::executor::{ColorConfig, OutputFormat};
1211
use crate::fatal;
@@ -1172,11 +1171,6 @@ fn rustc_output(config: &Config, args: &[&str], envs: HashMap<String, String>) -
11721171
String::from_utf8(output.stdout).unwrap()
11731172
}
11741173

1175-
fn serde_parse_u32<'de, D: Deserializer<'de>>(deserializer: D) -> Result<u32, D::Error> {
1176-
let string = String::deserialize(deserializer)?;
1177-
string.parse().map_err(D::Error::custom)
1178-
}
1179-
11801174
#[derive(Debug, Clone)]
11811175
pub struct TestPaths {
11821176
pub file: Utf8PathBuf, // e.g., compile-test/foo/bar/baz.rs

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /