about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-01-05 13:30:12 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2020-01-11 03:30:20 +0100
commitd0d1c60f1e3eb8f8a871dbe7517461fc828ad22f (patch)
tree3516612acb5a9c07626b5e85230b39218ccd5845
parentb4809d0818121480b96904fcb441cade7a735f18 (diff)
downloadrust-d0d1c60f1e3eb8f8a871dbe7517461fc828ad22f.tar.gz
rust-d0d1c60f1e3eb8f8a871dbe7517461fc828ad22f.zip
pacify tidy by nixing added docs :(
-rw-r--r--src/librustc_session/parse.rs12
1 files changed, 0 insertions, 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,