mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
internal: Implement module_path
macro
This commit is contained in:
parent
9b7b93e031
commit
d44a3ab30c
20 changed files with 279 additions and 71 deletions
|
@ -41,6 +41,7 @@
|
|||
//! iterator: option
|
||||
//! iterators: iterator, fn
|
||||
//! manually_drop: drop
|
||||
//! module_path:
|
||||
//! non_null:
|
||||
//! non_zero:
|
||||
//! option: panic
|
||||
|
@ -1434,6 +1435,16 @@ mod panicking {
|
|||
|
||||
#[macro_use]
|
||||
mod macros {
|
||||
// region:module_path
|
||||
#[macro_export]
|
||||
#[rustc_builtin_macro]
|
||||
macro_rules! module_path {
|
||||
($($arg:tt)*) => {
|
||||
/* compiler built-in */
|
||||
};
|
||||
}
|
||||
// endregion:module_path
|
||||
|
||||
// region:panic
|
||||
#[macro_export]
|
||||
#[rustc_builtin_macro(core_panic)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue