about summary refs log tree commit diff
path: root/src/tools/error_index_generator
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-01-01 19:40:49 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2020-01-02 19:31:38 +0100
commitb1aad76586a9816ae577f5338982c4cbcee9a6a5 (patch)
treef7d0d3f7ff03c84fabc7839db13fcce341b67e45 /src/tools/error_index_generator
parent4ff12ce4c14d348dfe53d1f74ab53c878f4fb4f8 (diff)
downloadrust-b1aad76586a9816ae577f5338982c4cbcee9a6a5.tar.gz
rust-b1aad76586a9816ae577f5338982c4cbcee9a6a5.zip
Normalize `syntax::edition` imports.
Diffstat (limited to 'src/tools/error_index_generator')
-rw-r--r--src/tools/error_index_generator/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/error_index_generator/main.rs b/src/tools/error_index_generator/main.rs
index c1777f7ea03..313a303edb2 100644
--- a/src/tools/error_index_generator/main.rs
+++ b/src/tools/error_index_generator/main.rs
@@ -2,6 +2,7 @@
 #![deny(warnings)]
 
 extern crate env_logger;
+extern crate rustc_span;
 extern crate syntax;
 
 use std::cell::RefCell;
@@ -13,7 +14,7 @@ use std::io::Write;
 use std::path::Path;
 use std::path::PathBuf;
 
-use syntax::edition::DEFAULT_EDITION;
+use rustc_span::edition::DEFAULT_EDITION;
 
 use rustdoc::html::markdown::{ErrorCodes, IdMap, Markdown, Playground};