Move definition of Edition from libsyntax to libsyntax_pos
This commit is contained in:
@@ -22,7 +22,6 @@
|
|||||||
#![feature(unicode_internals)]
|
#![feature(unicode_internals)]
|
||||||
#![feature(rustc_diagnostic_macros)]
|
#![feature(rustc_diagnostic_macros)]
|
||||||
#![feature(slice_sort_by_cached_key)]
|
#![feature(slice_sort_by_cached_key)]
|
||||||
#![feature(non_exhaustive)]
|
|
||||||
#![feature(const_atomic_usize_new)]
|
#![feature(const_atomic_usize_new)]
|
||||||
#![feature(rustc_attrs)]
|
#![feature(rustc_attrs)]
|
||||||
#![feature(str_escape)]
|
#![feature(str_escape)]
|
||||||
@@ -142,7 +141,6 @@ pub mod codemap;
|
|||||||
#[macro_use]
|
#[macro_use]
|
||||||
pub mod config;
|
pub mod config;
|
||||||
pub mod entry;
|
pub mod entry;
|
||||||
pub mod edition;
|
|
||||||
pub mod feature_gate;
|
pub mod feature_gate;
|
||||||
pub mod fold;
|
pub mod fold;
|
||||||
pub mod parse;
|
pub mod parse;
|
||||||
@@ -150,6 +148,7 @@ pub mod ptr;
|
|||||||
pub mod show_span;
|
pub mod show_span;
|
||||||
pub mod std_inject;
|
pub mod std_inject;
|
||||||
pub mod str;
|
pub mod str;
|
||||||
|
pub use syntax_pos::edition;
|
||||||
pub use syntax_pos::symbol;
|
pub use syntax_pos::symbol;
|
||||||
pub mod test;
|
pub mod test;
|
||||||
pub mod tokenstream;
|
pub mod tokenstream;
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#![feature(const_fn)]
|
#![feature(const_fn)]
|
||||||
#![feature(custom_attribute)]
|
#![feature(custom_attribute)]
|
||||||
|
#![feature(non_exhaustive)]
|
||||||
#![feature(optin_builtin_traits)]
|
#![feature(optin_builtin_traits)]
|
||||||
#![allow(unused_attributes)]
|
#![allow(unused_attributes)]
|
||||||
#![feature(specialization)]
|
#![feature(specialization)]
|
||||||
@@ -48,6 +49,7 @@ extern crate serialize as rustc_serialize; // used by deriving
|
|||||||
|
|
||||||
extern crate unicode_width;
|
extern crate unicode_width;
|
||||||
|
|
||||||
|
pub mod edition;
|
||||||
pub mod hygiene;
|
pub mod hygiene;
|
||||||
pub use hygiene::{Mark, SyntaxContext, ExpnInfo, ExpnFormat, NameAndSpan, CompilerDesugaringKind};
|
pub use hygiene::{Mark, SyntaxContext, ExpnInfo, ExpnFormat, NameAndSpan, CompilerDesugaringKind};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user