rust/crates/ide/src/display
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
..
navigation_target.rs HasSource::source_old -> HasSource::source for places where proc-macros were special cased 2021-01-02 21:53:52 +11:00
short_label.rs