mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Update builtin attribute list
This commit is contained in:
parent
48f8799bf1
commit
f9a9e40c0a
4 changed files with 115 additions and 62 deletions
|
@ -29,6 +29,7 @@
|
|||
//! future: pin
|
||||
//! generator: pin
|
||||
//! hash:
|
||||
//! include:
|
||||
//! index: sized
|
||||
//! infallible:
|
||||
//! iterator: option
|
||||
|
@ -1274,6 +1275,14 @@ mod macros {
|
|||
}
|
||||
}
|
||||
// endregion:derive
|
||||
|
||||
// region:include
|
||||
#[rustc_builtin_macro]
|
||||
#[macro_export]
|
||||
macro_rules! include {
|
||||
($file:expr $(,)?) => {{ /* compiler built-in */ }};
|
||||
}
|
||||
// endregion:include
|
||||
}
|
||||
|
||||
// region:non_zero
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue