diff options
author | Florian Diebold <[email protected]> | 2020-12-13 12:01:55 +0000 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2020-12-13 12:04:50 +0000 |
commit | 7d7949b31527b30a712dd11a8c977644ae2b9e30 (patch) | |
tree | 2518eb7bb63741d9ea389c84298adfd1c8b430c7 /crates/hir_def/src/find_path.rs | |
parent | ca3a54f0a4b59fb2c4429096a1d5c1bc2b8e761e (diff) |
Change recommendation when source can't be loaded from sysroot
Since we just tried running `rustup component add`, it doesn't make sense to me
to recommend trying that again. If we're reaching this case, it's probably more
likely that rustc was installed via package manager, in which case the source
should be installed the same way (e.g. if you install the rust-src package on
Ubuntu it will install a symlink in the right place to make our sysroot
detection work).
Diffstat (limited to 'crates/hir_def/src/find_path.rs')
0 files changed, 0 insertions, 0 deletions