Skip to content

Extract rustc_ast_passes, move gating, & refactor linting #67806

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

Merged
merged 18 commits into from
Jan 11, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
pacify tidy by nixing added docs :(
  • Loading branch information
Centril committed Jan 11, 2020
commit d0d1c60f1e3eb8f8a871dbe7517461fc828ad22f
12 changes: 0 additions & 12 deletions src/librustc_session/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,18 +74,6 @@ pub enum GateStrength {

/// Construct a diagnostic for a language feature error due to the given `span`.
/// The `feature`'s `Symbol` is the one you used in `active.rs` and `rustc_span::symbols`.
///
/// Example usage:
///
/// ```ignore
/// feature_err(
/// parse_sess,
/// sym::stmt_expr_attributes,
/// attr.span,
/// "attributes on expressions are unstable",
/// )
/// .emit();
/// ```
pub fn feature_err<'a>(
sess: &'a ParseSess,
feature: Symbol,
Expand Down