Skip to main content

check_conflicts

Function check_conflicts 

Source
pub async fn check_conflicts(
    ctx: &RefactoringContext,
    def_file: &Path,
    def_content: &str,
    new_name: &str,
    importers: &[ImportRef],
) -> Vec<String>
Expand description

Check for naming conflicts that a rename would introduce.

Returns a list of conflict descriptions (empty = no conflicts).