File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ impl Definition {
81
81
// Can we not rename non-local items?
82
82
// Then bail if non-local
83
83
if !rename_external && !krate. origin ( sema. db ) . is_local ( ) {
84
- bail ! ( "Cannot rename a non-local definition. Set `renameExternalItems` to `true` to allow renaming for this item. " )
84
+ bail ! ( "Cannot rename a non-local definition as the config for it is disabled " )
85
85
}
86
86
}
87
87
Original file line number Diff line number Diff line change @@ -2636,7 +2636,7 @@ pub struct S;
2636
2636
//- /main.rs crate:main deps:lib new_source_root:local
2637
2637
use lib::S$0;
2638
2638
"# ,
2639
- "error: Cannot rename a non-local definition. Set `renameExternalItems` to `true` to allow renaming for this item. " ,
2639
+ "error: Cannot rename a non-local definition as the config for it is disabled " ,
2640
2640
false ,
2641
2641
) ;
2642
2642
@@ -2663,7 +2663,7 @@ use core::hash::Hash;
2663
2663
#[derive(H$0ash)]
2664
2664
struct A;
2665
2665
"# ,
2666
- "error: Cannot rename a non-local definition. Set `renameExternalItems` to `true` to allow renaming for this item. " ,
2666
+ "error: Cannot rename a non-local definition as the config for it is disabled " ,
2667
2667
false ,
2668
2668
) ;
2669
2669
}
You can’t perform that action at this time.
0 commit comments