@@ -898,16 +898,16 @@ fn profile_hint_mostly_unused_warn_without_gate() {
898
898
)
899
899
. file ( "src/main.rs" , "fn main() {}" )
900
900
. build ( ) ;
901
- p. cargo ( "build -v" )
901
+ p. cargo ( "check -v" )
902
902
. with_stderr_data ( str![ [ r#"
903
903
[UPDATING] `dummy-registry` index
904
904
[LOCKING] 1 package to latest compatible version
905
905
[DOWNLOADING] crates ...
906
906
[DOWNLOADED] bar v1.0.0 (registry `dummy-registry`)
907
907
[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
909
909
[RUNNING] `rustc --crate-name bar [..]`
910
- [COMPILING ] foo v0.0.1 ([ROOT]/foo)
910
+ [CHECKING ] foo v0.0.1 ([ROOT]/foo)
911
911
[RUNNING] `rustc --crate-name foo [..]`
912
912
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
913
913
@@ -937,16 +937,16 @@ fn profile_hint_mostly_unused_nightly() {
937
937
)
938
938
. file ( "src/main.rs" , "fn main() {}" )
939
939
. build ( ) ;
940
- p. cargo ( "build -Zprofile-hint-mostly-unused -v" )
940
+ p. cargo ( "check -Zprofile-hint-mostly-unused -v" )
941
941
. masquerade_as_nightly_cargo ( & [ "profile-hint-mostly-unused" ] )
942
942
. with_stderr_data ( str![ [ r#"
943
943
[UPDATING] `dummy-registry` index
944
944
[LOCKING] 1 package to latest compatible version
945
945
[DOWNLOADING] crates ...
946
946
[DOWNLOADED] bar v1.0.0 (registry `dummy-registry`)
947
- [COMPILING ] bar v1.0.0
947
+ [CHECKING ] bar v1.0.0
948
948
[RUNNING] `rustc --crate-name bar [..] -Zhint-mostly-unused [..]`
949
- [COMPILING ] foo v0.0.1 ([ROOT]/foo)
949
+ [CHECKING ] foo v0.0.1 ([ROOT]/foo)
950
950
[RUNNING] `rustc --crate-name foo [..]`
951
951
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
952
952
0 commit comments