Skip to content

Commit 2cac9a5

Browse files
committed
Auto merge of #17520 - Veykril:slim-proc-macro-api, r=Veykril
internal: Cleanup proc-macro-srv some more
2 parents 64f7945 + fefcb46 commit 2cac9a5

File tree

53 files changed

+351
-348
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+351
-348
lines changed

src/tools/rust-analyzer/Cargo.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,6 @@ dependencies = [
13371337
"stdx",
13381338
"text-size",
13391339
"tracing",
1340-
"triomphe",
13411340
"tt",
13421341
]
13431342

src/tools/rust-analyzer/crates/base-db/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
//! base_db defines basic database traits. The concrete DB is defined by ide.
22
3-
#![warn(rust_2018_idioms, unused_lifetimes)]
4-
53
mod change;
64
mod input;
75

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
//! cfg defines conditional compiling options, `cfg` attribute parser and evaluator
22
3-
#![warn(rust_2018_idioms, unused_lifetimes)]
4-
53
mod cfg_expr;
64
mod dnf;
75
#[cfg(test)]

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
// addition to `cargo check`. Either split it into 3 crates (one for test, one for check
77
// and one common utilities) or change its name and docs to reflect the current state.
88

9-
#![warn(rust_2018_idioms, unused_lifetimes)]
10-
119
use std::{fmt, io, process::Command, time::Duration};
1210

1311
use crossbeam_channel::{never, select, unbounded, Receiver, Sender};

src/tools/rust-analyzer/crates/hir-def/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
//! Note that `hir_def` is a work in progress, so not all of the above is
88
//! actually true.
99
10-
#![warn(rust_2018_idioms, unused_lifetimes)]
1110
#![cfg_attr(feature = "in-rust-tree", feature(rustc_private))]
1211

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

src/tools/rust-analyzer/crates/hir-expand/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
//! tree originates not from the text of some `FileId`, but from some macro
55
//! expansion.
66
#![cfg_attr(feature = "in-rust-tree", feature(rustc_private))]
7-
#![warn(rust_2018_idioms, unused_lifetimes)]
87

98
pub mod attrs;
109
pub mod builtin_attr_macro;

src/tools/rust-analyzer/crates/hir-ty/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! The type system. We currently use this to infer types for completion, hover
22
//! information and various assists.
3-
#![warn(rust_2018_idioms, unused_lifetimes)]
3+
44
#![cfg_attr(feature = "in-rust-tree", feature(rustc_private))]
55

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

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
//! from the ide with completions, hovers, etc. It is a (soft, internal) boundary:
1818
//! <https://www.tedinski.com/2018/02/06/system-boundaries.html>.
1919
20-
#![warn(rust_2018_idioms, unused_lifetimes)]
2120
#![cfg_attr(feature = "in-rust-tree", feature(rustc_private))]
2221
#![recursion_limit = "512"]
2322

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@
5858
//! See also this post:
5959
//! <https://rust-analyzer.github.io/blog/2020/09/28/how-to-make-a-light-bulb.html>
6060
61-
#![warn(rust_2018_idioms, unused_lifetimes)]
62-
6361
mod assist_config;
6462
mod assist_context;
6563
#[cfg(test)]

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
//! `completions` crate provides utilities for generating completions of user input.
22
3-
#![warn(rust_2018_idioms, unused_lifetimes)]
4-
53
mod completions;
64
mod config;
75
mod context;

0 commit comments

Comments
 (0)