@@ -898,16 +898,16 @@ fn profile_hint_mostly_unused_warn_without_gate() {
898898 )
899899 . file ( "src/main.rs" , "fn main() {}" )
900900 . build ( ) ;
901- p. cargo ( "build -v" )
901+ p. cargo ( "check -v" )
902902 . with_stderr_data ( str![ [ r#"
903903[UPDATING] `dummy-registry` index
904904[LOCKING] 1 package to latest compatible version
905905[DOWNLOADING] crates ...
906906[DOWNLOADED] bar v1.0.0 (registry `dummy-registry`)
907907[WARNING] ignoring 'hint-mostly-unused' profile option, pass `-Zprofile-hint-mostly-unused` to enable it
908- [COMPILING ] bar v1.0.0
908+ [CHECKING ] bar v1.0.0
909909[RUNNING] `rustc --crate-name bar [..]`
910- [COMPILING ] foo v0.0.1 ([ROOT]/foo)
910+ [CHECKING ] foo v0.0.1 ([ROOT]/foo)
911911[RUNNING] `rustc --crate-name foo [..]`
912912[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
913913
@@ -937,16 +937,16 @@ fn profile_hint_mostly_unused_nightly() {
937937 )
938938 . file ( "src/main.rs" , "fn main() {}" )
939939 . build ( ) ;
940- p. cargo ( "build -Zprofile-hint-mostly-unused -v" )
940+ p. cargo ( "check -Zprofile-hint-mostly-unused -v" )
941941 . masquerade_as_nightly_cargo ( & [ "profile-hint-mostly-unused" ] )
942942 . with_stderr_data ( str![ [ r#"
943943[UPDATING] `dummy-registry` index
944944[LOCKING] 1 package to latest compatible version
945945[DOWNLOADING] crates ...
946946[DOWNLOADED] bar v1.0.0 (registry `dummy-registry`)
947- [COMPILING ] bar v1.0.0
947+ [CHECKING ] bar v1.0.0
948948[RUNNING] `rustc --crate-name bar [..] -Zhint-mostly-unused [..]`
949- [COMPILING ] foo v0.0.1 ([ROOT]/foo)
949+ [CHECKING ] foo v0.0.1 ([ROOT]/foo)
950950[RUNNING] `rustc --crate-name foo [..]`
951951[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
952952
0 commit comments