@@ -5,7 +5,8 @@ use std::str;
55
66use crate :: prelude:: * ;
77use crate :: utils:: tools;
8- use cargo:: core:: compiler:: RustDocFingerprint ;
8+
9+ use cargo:: core:: compiler:: RustdocFingerprint ;
910use cargo_test_support:: registry:: Package ;
1011use cargo_test_support:: str;
1112use cargo_test_support:: { basic_lib_manifest, basic_manifest, git, project} ;
@@ -2495,7 +2496,7 @@ LLVM version: 9.0
24952496
24962497 dummy_project. cargo ( "doc" ) . run ( ) ;
24972498
2498- let fingerprint: RustDocFingerprint =
2499+ let fingerprint: RustdocFingerprint =
24992500 serde_json:: from_str ( & dummy_project. read_file ( "target/.rustdoc_fingerprint.json" ) )
25002501 . expect ( "JSON Serde fail" ) ;
25012502
@@ -2534,7 +2535,7 @@ LLVM version: 9.0
25342535
25352536 assert ! ( !dummy_project. build_dir( ) . join( "doc/bogus_file" ) . exists( ) ) ;
25362537
2537- let fingerprint: RustDocFingerprint =
2538+ let fingerprint: RustdocFingerprint =
25382539 serde_json:: from_str ( & dummy_project. read_file ( "target/.rustdoc_fingerprint.json" ) )
25392540 . expect ( "JSON Serde fail" ) ;
25402541
@@ -2582,11 +2583,11 @@ LLVM version: 9.0
25822583
25832584 let target_fingerprint_path = p. build_dir ( ) . join ( host) . join ( ".rustdoc_fingerprint.json" ) ;
25842585
2585- let host_fingerprint: RustDocFingerprint =
2586+ let host_fingerprint: RustdocFingerprint =
25862587 serde_json:: from_str ( & fs:: read_to_string ( & host_fingerprint_path) . unwrap ( ) )
25872588 . expect ( "JSON Serde fail" ) ;
25882589
2589- let target_fingerprint: RustDocFingerprint =
2590+ let target_fingerprint: RustdocFingerprint =
25902591 serde_json:: from_str ( & fs:: read_to_string ( & target_fingerprint_path) . unwrap ( ) )
25912592 . expect ( "JSON Serde fail" ) ;
25922593
@@ -2630,7 +2631,7 @@ LLVM version: 9.0
26302631
26312632 // target doc dir got cleaned
26322633 assert ! ( !p. build_dir( ) . join( host) . join( "doc/bogus_file" ) . exists( ) ) ;
2633- let fingerprint: RustDocFingerprint =
2634+ let fingerprint: RustdocFingerprint =
26342635 serde_json:: from_str ( & fs:: read_to_string ( & target_fingerprint_path) . unwrap ( ) ) . unwrap ( ) ;
26352636 assert_eq ! ( & fingerprint. rustc_vv, & current_rustc_version) ;
26362637}
0 commit comments