Skip to content

Commit 964d292

Browse files
author
The rustc-josh-sync Cronjob Bot
committed
Format code
1 parent 8ab823e commit 964d292

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

src/tools/rust-analyzer/crates/ide-completion/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
33
// It's useful to refer to code that is private in doc comments.
44
#![allow(rustdoc::private_intra_doc_links)]
5-
65
#![cfg_attr(feature = "in-rust-tree", feature(rustc_private))]
76

87
#[cfg(feature = "in-rust-tree")]

src/tools/rust-analyzer/crates/parser/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
#[cfg(not(feature = "in-rust-tree"))]
2525
extern crate ra_ap_rustc_lexer as rustc_lexer;
2626
#[cfg(feature = "in-rust-tree")]
27-
extern crate rustc_lexer;
28-
#[cfg(feature = "in-rust-tree")]
2927
extern crate rustc_driver as _;
28+
#[cfg(feature = "in-rust-tree")]
29+
extern crate rustc_lexer;
3030

3131
mod event;
3232
mod frontmatter;

src/tools/rust-analyzer/crates/proc-macro-api/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
feature(proc_macro_internals, proc_macro_diagnostic, proc_macro_span)
1212
)]
1313
#![allow(internal_features)]
14-
1514
#![cfg_attr(feature = "in-rust-tree", feature(rustc_private))]
1615

1716
#[cfg(feature = "in-rust-tree")]

src/tools/rust-analyzer/crates/project-model/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
1818
// It's useful to refer to code that is private in doc comments.
1919
#![allow(rustdoc::private_intra_doc_links)]
20-
2120
#![cfg_attr(feature = "in-rust-tree", feature(rustc_private))]
2221

2322
#[cfg(feature = "in-rust-tree")]

0 commit comments

Comments
 (0)