-
Notifications
You must be signed in to change notification settings - Fork 1.8k
internal: Sync from rust #15899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
internal: Sync from rust #15899
Changes from all commits
bcfc997
d204713
6eaf3f8
d1d111d
b6951de
d45ff24
610eafe
6b53c09
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,10 @@ | |
//! Based on cli flags, either spawns an LSP server, or runs a batch analysis | ||
|
||
#![warn(rust_2018_idioms, unused_lifetimes, semicolon_in_expressions_from_macros)] | ||
#![cfg_attr(feature = "in-rust-tree", feature(rustc_private))] | ||
#[cfg(feature = "in-rust-tree")] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This either expands to: #[allow(unused_extern_crates)]
extern crate rustc_driver; or to nothing, right? At least it still works without the feature enabled. I should know, but.. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes, the |
||
#[allow(unused_extern_crates)] | ||
extern crate rustc_driver; | ||
|
||
mod logger; | ||
mod rustc_wrapper; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Guess we can drop the recursion limit here, 128 is the default.