Skip to content

Commit 0c25ab0

Browse files
authored
Rollup merge of rust-lang#68156 - JohnTitor:fix-path-in-doc, r=Dylan-DPC
Fix crate paths in comments Tiny follow-up of rust-lang#67806 and others r? @Centril
2 parents ce8f320 + 27b99d4 commit 0c25ab0

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/librustc_feature/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
//! # Feature gates
22
//!
33
//! This crate declares the set of past and present unstable features in the compiler.
4-
//! Feature gate checking itself is done in `libsyntax/feature_gate/check.rs` at the moment.
4+
//! Feature gate checking itself is done in `librustc_ast_passes/feature_gate.rs`
5+
//! at the moment.
56
//!
67
//! Features are enabled in programs via the crate-level attributes of
78
//! `#![feature(...)]` with a comma-separated list of features.

src/librustc_lint/builtin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1812,7 +1812,7 @@ declare_lint! {
18121812
}
18131813

18141814
declare_lint_pass!(
1815-
/// Check for used feature gates in `INCOMPLETE_FEATURES` in `feature_gate.rs`.
1815+
/// Check for used feature gates in `INCOMPLETE_FEATURES` in `librustc_feature/active.rs`.
18161816
IncompleteFeatures => [INCOMPLETE_FEATURES]
18171817
);
18181818

src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// the change when it happens.
1313
//
1414
// At the time of authoring, the attributes here are listed in the
15-
// order that they occur in libsyntax/feature_gate.rs.
15+
// order that they occur in `librustc_feature`.
1616
//
1717
// Any builtin attributes that:
1818
//

0 commit comments

Comments
 (0)