Skip to content

Commit d0d1c60

Browse files
committed
pacify tidy by nixing added docs :(
1 parent b4809d0 commit d0d1c60

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/librustc_session/parse.rs

-12
Original file line numberDiff line numberDiff line change
@@ -74,18 +74,6 @@ pub enum GateStrength {
7474

7575
/// Construct a diagnostic for a language feature error due to the given `span`.
7676
/// The `feature`'s `Symbol` is the one you used in `active.rs` and `rustc_span::symbols`.
77-
///
78-
/// Example usage:
79-
///
80-
/// ```ignore
81-
/// feature_err(
82-
/// parse_sess,
83-
/// sym::stmt_expr_attributes,
84-
/// attr.span,
85-
/// "attributes on expressions are unstable",
86-
/// )
87-
/// .emit();
88-
/// ```
8977
pub fn feature_err<'a>(
9078
sess: &'a ParseSess,
9179
feature: Symbol,

0 commit comments

Comments
 (0)