File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ pub enum CliError {
13
13
IoError ( io:: Error ) ,
14
14
RustfmtNotInstalled ,
15
15
WalkDirError ( walkdir:: Error ) ,
16
- RaSetupActive ,
16
+ IntellijSetupActive ,
17
17
}
18
18
19
19
impl From < io:: Error > for CliError {
@@ -48,7 +48,7 @@ pub fn run(check: bool, verbose: bool) {
48
48
. expect ( "Failed to read clippy Cargo.toml" )
49
49
. contains ( & "[target.'cfg(NOT_A_PLATFORM)'.dependencies]" )
50
50
{
51
- return Err ( CliError :: RaSetupActive ) ;
51
+ return Err ( CliError :: IntellijSetupActive ) ;
52
52
}
53
53
54
54
rustfmt_test ( context) ?;
@@ -93,11 +93,11 @@ pub fn run(check: bool, verbose: bool) {
93
93
CliError :: WalkDirError ( err) => {
94
94
eprintln ! ( "error: {}" , err) ;
95
95
} ,
96
- CliError :: RaSetupActive => {
96
+ CliError :: IntellijSetupActive => {
97
97
eprintln ! (
98
98
"error: a local rustc repo is enabled as path dependency via `cargo dev setup intellij`.
99
99
Not formatting because that would format the local repo as well!
100
- Please revert the changes to Cargo.tomls first ."
100
+ Please revert the changes to Cargo.tomls with `cargo dev remove intellij` ."
101
101
) ;
102
102
} ,
103
103
}
You can’t perform that action at this time.
0 commit comments