mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-25 09:27:43 +00:00
cargo fmt
This commit is contained in:
parent
87f837cec7
commit
7535bb4661
571 changed files with 2210 additions and 2458 deletions
|
|
@ -14,7 +14,9 @@ use main_loop::run;
|
|||
fn main() -> std::io::Result<()> {
|
||||
let v = std::env::var("RUST_ANALYZER_INTERNALS_DO_NOT_USE");
|
||||
if v.is_err() {
|
||||
eprintln!("This is an IDE implementation detail, you can use this tool by exporting RUST_ANALYZER_INTERNALS_DO_NOT_USE.");
|
||||
eprintln!(
|
||||
"This is an IDE implementation detail, you can use this tool by exporting RUST_ANALYZER_INTERNALS_DO_NOT_USE."
|
||||
);
|
||||
eprintln!(
|
||||
"Note that this tool's API is highly unstable and may break without prior notice"
|
||||
);
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ use std::io;
|
|||
use proc_macro_api::legacy_protocol::{
|
||||
json::{read_json, write_json},
|
||||
msg::{
|
||||
self, deserialize_span_data_index_map, serialize_span_data_index_map, ExpandMacroData,
|
||||
ExpnGlobals, Message, SpanMode, TokenId, CURRENT_API_VERSION,
|
||||
self, CURRENT_API_VERSION, ExpandMacroData, ExpnGlobals, Message, SpanMode, TokenId,
|
||||
deserialize_span_data_index_map, serialize_span_data_index_map,
|
||||
},
|
||||
};
|
||||
use proc_macro_srv::EnvSnapshot;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue