mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Some more minor cleanups
This commit is contained in:
parent
5edf7bddc6
commit
02a3a9438a
7 changed files with 65 additions and 21 deletions
|
@ -15,6 +15,7 @@
|
|||
//! cell: copy, drop
|
||||
//! clone: sized
|
||||
//! coerce_unsized: unsize
|
||||
//! concat:
|
||||
//! copy: clone
|
||||
//! default: sized
|
||||
//! deref_mut: deref
|
||||
|
@ -1353,7 +1354,7 @@ mod panicking {
|
|||
mod macros {
|
||||
// region:panic
|
||||
#[macro_export]
|
||||
#[rustc_builtin_macro(std_panic)]
|
||||
#[rustc_builtin_macro(core_panic)]
|
||||
macro_rules! panic {
|
||||
($($arg:tt)*) => {
|
||||
/* compiler built-in */
|
||||
|
@ -1406,6 +1407,12 @@ mod macros {
|
|||
($file:expr $(,)?) => {{ /* compiler built-in */ }};
|
||||
}
|
||||
// endregion:include
|
||||
|
||||
// region:concat
|
||||
#[rustc_builtin_macro]
|
||||
#[macro_export]
|
||||
macro_rules! concat {}
|
||||
// endregion:concat
|
||||
}
|
||||
|
||||
// region:non_zero
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue