Skip to content
Permalink
Browse files

pacify tidy by nixing added docs :(

  • Loading branch information
Centril committed Jan 5, 2020
1 parent b4809d0 commit d0d1c60f1e3eb8f8a871dbe7517461fc828ad22f
Showing with 0 additions and 12 deletions.
  1. +0 −12 src/librustc_session/parse.rs
@@ -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,

0 comments on commit d0d1c60

Please sign in to comment.
You can’t perform that action at this time.