rust-analyzer/crates/completion
Nick Spain 14d0db0759 HasSource::source_old -> HasSource::source for places where proc-macros were special cased
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.
2021-01-02 21:53:52 +11:00
..
src HasSource::source_old -> HasSource::source for places where proc-macros were special cased 2021-01-02 21:53:52 +11:00
Cargo.toml Update crates 2020-12-30 10:39:50 -05:00