mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-03 05:13:35 +00:00
Remove support for register_attr
This was removed in rustc in 2022: https://github.com/rust-lang/rust/pull/101123 Closes #20525.
This commit is contained in:
parent
a91fb2b9a1
commit
bca5d59627
7 changed files with 14 additions and 62 deletions
|
|
@ -144,16 +144,13 @@ macro_rules! concat { () => {} }
|
|||
}
|
||||
|
||||
#[test]
|
||||
fn register_attr_and_tool() {
|
||||
cov_mark::check!(register_attr);
|
||||
fn register_tool() {
|
||||
cov_mark::check!(register_tool);
|
||||
check_diagnostics(
|
||||
r#"
|
||||
#![register_tool(tool)]
|
||||
#![register_attr(attr)]
|
||||
|
||||
#[tool::path]
|
||||
#[attr]
|
||||
struct S;
|
||||
"#,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue