X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibrustc_feature%2Flib.rs;h=01546f78257746cbaaeb8f4eb443ca266d116880;hb=143059deafe1e5df3cbbaf4d47f5461af7bcf8c3;hp=b85feee040ceb87d8c4fd37789dd1bca4598c426;hpb=0eb19dcf8beef2010eb4f4a63be0de7871d2db84;p=rust.git diff --git a/src/librustc_feature/lib.rs b/src/librustc_feature/lib.rs index b85feee040c..01546f78257 100644 --- a/src/librustc_feature/lib.rs +++ b/src/librustc_feature/lib.rs @@ -1,7 +1,8 @@ //! # Feature gates //! //! This crate declares the set of past and present unstable features in the compiler. -//! Feature gate checking itself is done in `libsyntax/feature_gate/check.rs` at the moment. +//! Feature gate checking itself is done in `librustc_ast_passes/feature_gate.rs` +//! at the moment. //! //! Features are enabled in programs via the crate-level attributes of //! `#![feature(...)]` with a comma-separated list of features. @@ -15,9 +16,9 @@ mod builtin_attrs; mod removed; +use rustc_span::{edition::Edition, symbol::Symbol, Span}; use std::fmt; use std::num::NonZeroU32; -use syntax_pos::{edition::Edition, symbol::Symbol, Span}; #[derive(Clone, Copy)] pub enum State {