mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Add extern source
This commit is contained in:
parent
5a292309c5
commit
6ea7c31915
8 changed files with 49 additions and 11 deletions
|
@ -217,6 +217,7 @@ impl Analysis {
|
|||
None,
|
||||
cfg_options,
|
||||
Env::default(),
|
||||
Default::default(),
|
||||
);
|
||||
change.add_file(source_root, file_id, "main.rs".into(), Arc::new(text));
|
||||
change.set_crate_graph(crate_graph);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue