File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -365,9 +365,12 @@ mod tests {
365365
366366 #[ test]
367367 fn test_enc_opt_parser ( ) {
368- //let pie = ParseIntError {kind: std::num::InvalidDigit} //is private
368+ // The following work-around will become obsolete with the upcoming
369+ // [Make `ParseIntError` and `IntErrorKind` fully public ·
370+ // Pull Request #55705](https://github.com/rust-lang/rust/pull/55705/files)
371+ // let pie = ParseIntError {kind: std::num::InvalidDigit} //is private
369372 let pie_invalid_digit = CliError :: Format ( u32:: from_str ( "x" ) . unwrap_err ( ) ) ;
370- //let pie = ParseIntError {kind: std::num::Overflow} //is private
373+ // let pie = ParseIntError {kind: std::num::Overflow} //is private
371374 let pie_overflow = CliError :: Format ( u8:: from_str ( "257" ) . unwrap_err ( ) ) ;
372375
373376 assert_eq ! (
You can’t perform that action at this time.
0 commit comments