Skip to content

Commit e08c279

Browse files
committedFeb 29, 2020
Rename syntax to rustc_ast in source code
1 parent 6054a30 commit e08c279

File tree

291 files changed

+650
-637
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

291 files changed

+650
-637
lines changed
 

‎src/doc/unstable-book/src/language-features/plugin.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ that warns about any item named `lintme`.
4242
#![feature(plugin_registrar)]
4343
#![feature(box_syntax, rustc_private)]
4444
45-
extern crate syntax;
45+
extern crate rustc_ast;
4646
4747
// Load rustc as a plugin to get macros
4848
#[macro_use]
@@ -52,7 +52,7 @@ extern crate rustc_driver;
5252
use rustc::lint::{EarlyContext, LintContext, LintPass, EarlyLintPass,
5353
EarlyLintPassObject, LintArray};
5454
use rustc_driver::plugin::Registry;
55-
use syntax::ast;
55+
use rustc_ast::ast;
5656
5757
declare_lint!(TEST_LINT, Warn, "Warn about items named 'lintme'");
5858

‎src/librustc/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ rustc_data_structures = { path = "../librustc_data_structures" }
2828
rustc_errors = { path = "../librustc_errors" }
2929
rustc_index = { path = "../librustc_index" }
3030
rustc_serialize = { path = "../libserialize", package = "serialize" }
31-
syntax = { path = "../librustc_ast", package = "rustc_ast" }
31+
rustc_ast = { path = "../librustc_ast" }
3232
rustc_span = { path = "../librustc_span" }
3333
backtrace = "0.3.40"
3434
parking_lot = "0.9"

0 commit comments

Comments
 (0)
Please sign in to comment.