Skip to content

Commit bb5b5c5

Browse files
committed
remove dead code
1 parent 3d3b917 commit bb5b5c5

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/tools/compiletest/src/common.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,11 +1172,6 @@ fn rustc_output(config: &Config, args: &[&str], envs: HashMap<String, String>) -
11721172
String::from_utf8(output.stdout).unwrap()
11731173
}
11741174

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-
11801175
#[derive(Debug, Clone)]
11811176
pub struct TestPaths {
11821177
pub file: Utf8PathBuf, // e.g., compile-test/foo/bar/baz.rs

0 commit comments

Comments
 (0)