---
created: "2019-01-24T08:39:53.759318522+00:00"
creator: insta@0.5.2
expression: "&source_change"
source: crates/ra_ide_api/src/rename.rs
---
Some(
    SourceChange {
        label: "rename",
        source_file_edits: [
            SourceFileEdit {
                file_id: FileId(
                    2
                ),
                edit: TextEdit {
                    atoms: [
                        AtomTextEdit {
                            delete: [4; 7),
                            insert: "foo2"
                        }
                    ]
                }
            }
        ],
        file_system_edits: [
            MoveFile {
                src: FileId(
                    3
                ),
                dst_source_root: SourceRootId(
                    0
                ),
                dst_path: "bar/foo2.rs"
            }
        ],
        cursor_position: None
    }
)