diff options
| author | bors <bors@rust-lang.org> | 2025-08-22 10:27:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-08-22 10:27:12 +0000 |
| commit | f5703d5dd3eec176f86a6e9bf7e668b48b84eabb (patch) | |
| tree | 3ed1c84b426859a59f2012bb765f4412c7eafe19 /compiler/rustc_interface/src/util.rs | |
| parent | 831e291d3be4cacc4fe178424c4d6baa264d8b5a (diff) | |
| parent | ec5b2cce8e0e409e7c4bbcec332fba7c70c142ec (diff) | |
| download | rust-f5703d5dd3eec176f86a6e9bf7e668b48b84eabb.tar.gz rust-f5703d5dd3eec176f86a6e9bf7e668b48b84eabb.zip | |
Auto merge of #144689 - JonathanBrouwer:share_parse_path, r=jdonszelmann
Rewrite the new attribute argument parser Fixes https://github.com/rust-lang/rust/issues/143940 This rewrites the parser, should improve performance and maintainability. This can be reviewed commit by commit
Diffstat (limited to 'compiler/rustc_interface/src/util.rs')
| -rw-r--r-- | compiler/rustc_interface/src/util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/util.rs b/compiler/rustc_interface/src/util.rs index 0ca4fcc66ca..49ac3b7a10d 100644 --- a/compiler/rustc_interface/src/util.rs +++ b/compiler/rustc_interface/src/util.rs @@ -5,12 +5,12 @@ use std::sync::{Arc, OnceLock}; use std::{env, thread}; use rustc_ast as ast; +use rustc_attr_parsing::validate_attr; use rustc_codegen_ssa::traits::CodegenBackend; use rustc_data_structures::jobserver::Proxy; use rustc_data_structures::sync; use rustc_metadata::{DylibError, load_symbol_from_dylib}; use rustc_middle::ty::CurrentGcx; -use rustc_parse::validate_attr; use rustc_session::config::{Cfg, OutFileName, OutputFilenames, OutputTypes, Sysroot, host_tuple}; use rustc_session::lint::{self, BuiltinLintDiag, LintBuffer}; use rustc_session::output::{CRATE_TYPES, categorize_crate_type}; |
