mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +00:00
14d0db0759
In #6901 some special case handling for proc-macros was introduced to prevent panicing as they have no AST. Now the new HasSource::source method is used that returns an option. Generally this was a pretty trivial change, the only thing of much interest is that `hir::MacroDef` now implements `TryToNav` not `ToNav` as this allows us to handle `HasSource::source` now returning an option. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |