Skip to content

Commit

Permalink
Move definition of Edition from libsyntax to libsyntax_pos
Browse files Browse the repository at this point in the history
  • Loading branch information
petrochenkov committed May 17, 2018
1 parent 90463a6 commit ee5b1e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/libsyntax/lib.rs
Expand Up @@ -22,7 +22,6 @@
#![feature(unicode_internals)]
#![feature(rustc_diagnostic_macros)]
#![feature(slice_sort_by_cached_key)]
#![feature(non_exhaustive)]
#![feature(const_atomic_usize_new)]
#![feature(rustc_attrs)]
#![feature(str_escape)]
Expand Down Expand Up @@ -142,14 +141,14 @@ pub mod codemap;
#[macro_use]
pub mod config;
pub mod entry;
pub mod edition;
pub mod feature_gate;
pub mod fold;
pub mod parse;
pub mod ptr;
pub mod show_span;
pub mod std_inject;
pub mod str;
pub use syntax_pos::edition;
pub use syntax_pos::symbol;
pub mod test;
pub mod tokenstream;
Expand Down
File renamed without changes.
2 changes: 2 additions & 0 deletions src/libsyntax_pos/lib.rs
Expand Up @@ -20,6 +20,7 @@

#![feature(const_fn)]
#![feature(custom_attribute)]
#![feature(non_exhaustive)]
#![feature(optin_builtin_traits)]
#![allow(unused_attributes)]
#![feature(specialization)]
Expand Down Expand Up @@ -48,6 +49,7 @@ extern crate serialize as rustc_serialize; // used by deriving

extern crate unicode_width;

pub mod edition;
pub mod hygiene;
pub use hygiene::{Mark, SyntaxContext, ExpnInfo, ExpnFormat, NameAndSpan, CompilerDesugaringKind};

Expand Down

0 comments on commit ee5b1e1

Please sign in to comment.