This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ impl Definition {
8181 // Can we not rename non-local items?
8282 // Then bail if non-local
8383 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 " )
8585 }
8686 }
8787
Original file line number Diff line number Diff line change @@ -2636,7 +2636,7 @@ pub struct S;
26362636//- /main.rs crate:main deps:lib new_source_root:local
26372637use lib::S$0;
26382638"# ,
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 " ,
26402640 false ,
26412641 ) ;
26422642
@@ -2663,7 +2663,7 @@ use core::hash::Hash;
26632663#[derive(H$0ash)]
26642664struct A;
26652665 "# ,
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 " ,
26672667 false ,
26682668 ) ;
26692669 }
You can’t perform that action at this time.
0 commit comments