mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Builtin derives are hygienic
This commit is contained in:
parent
af40101841
commit
7dd9f20ce3
8 changed files with 112 additions and 159 deletions
|
@ -25,6 +25,7 @@
|
|||
//! derive:
|
||||
//! discriminant:
|
||||
//! drop:
|
||||
//! env: option
|
||||
//! eq: sized
|
||||
//! error: fmt
|
||||
//! fmt: result, transmute, coerce_unsized
|
||||
|
@ -1450,6 +1451,15 @@ mod macros {
|
|||
#[macro_export]
|
||||
macro_rules! concat {}
|
||||
// endregion:concat
|
||||
|
||||
// region:env
|
||||
#[rustc_builtin_macro]
|
||||
#[macro_export]
|
||||
macro_rules! env {}
|
||||
#[rustc_builtin_macro]
|
||||
#[macro_export]
|
||||
macro_rules! option_env {}
|
||||
// endregion:env
|
||||
}
|
||||
|
||||
// region:non_zero
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue