Skip to content

Commit 0638b37

Browse files
Move validate_attr to rustc_attr_parsing
1 parent e5e79f8 commit 0638b37

File tree

6 files changed

+3
-3
lines changed

6 files changed

+3
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3504,6 +3504,7 @@ dependencies = [
35043504
"rustc_hir",
35053505
"rustc_lexer",
35063506
"rustc_macros",
3507+
"rustc_parse",
35073508
"rustc_session",
35083509
"rustc_span",
35093510
"thin-vec",
@@ -4374,7 +4375,6 @@ dependencies = [
43744375
"rustc-literal-escaper",
43754376
"rustc_ast",
43764377
"rustc_ast_pretty",
4377-
"rustc_attr_parsing",
43784378
"rustc_data_structures",
43794379
"rustc_errors",
43804380
"rustc_feature",

compiler/rustc_attr_parsing/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ rustc_fluent_macro = { path = "../rustc_fluent_macro" }
1515
rustc_hir = { path = "../rustc_hir" }
1616
rustc_lexer = { path = "../rustc_lexer" }
1717
rustc_macros = { path = "../rustc_macros" }
18+
rustc_parse = { path = "../rustc_parse" }
1819
rustc_session = { path = "../rustc_session" }
1920
rustc_span = { path = "../rustc_span" }
2021
thin-vec = "0.2.12"

compiler/rustc_attr_parsing/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ pub(crate) mod context;
8989
mod lints;
9090
pub mod parser;
9191
mod session_diagnostics;
92+
pub mod validate_attr;
9293

9394
pub use attributes::cfg::{CFG_TEMPLATE, EvalConfigResult, eval_config_entry, parse_cfg_attr};
9495
pub use attributes::cfg_old::*;

compiler/rustc_parse/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ bitflags = "2.4.1"
99
rustc-literal-escaper = "0.0.5"
1010
rustc_ast = { path = "../rustc_ast" }
1111
rustc_ast_pretty = { path = "../rustc_ast_pretty" }
12-
rustc_attr_parsing = { path = "../rustc_attr_parsing" }
1312
rustc_data_structures = { path = "../rustc_data_structures" }
1413
rustc_errors = { path = "../rustc_errors" }
1514
rustc_feature = { path = "../rustc_feature" }

compiler/rustc_parse/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ pub const MACRO_ARGUMENTS: Option<&str> = Some("macro arguments");
3131
pub mod parser;
3232
use parser::Parser;
3333
pub mod lexer;
34-
pub mod validate_attr;
3534

3635
mod errors;
3736

0 commit comments

Comments
 (0)