From d0d1c60f1e3eb8f8a871dbe7517461fc828ad22f Mon Sep 17 00:00:00 2001 From: Mazdak Farrokhzad Date: Sun, 5 Jan 2020 13:30:12 +0100 Subject: [PATCH] pacify tidy by nixing added docs :( --- src/librustc_session/parse.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/librustc_session/parse.rs b/src/librustc_session/parse.rs index 0e342939ff1..946e77d3559 100644 --- a/src/librustc_session/parse.rs +++ b/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,