]> git.lizzy.rs Git - rust.git/commit
Merge #6124
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Tue, 6 Oct 2020 11:51:15 +0000 (11:51 +0000)
committerGitHub <noreply@github.com>
Tue, 6 Oct 2020 11:51:15 +0000 (11:51 +0000)
commit87cb840a4e140a49946235823384694da58c2a5a
tree4e6ce0749103bdf8e373b3d12472866bdc10d4c8
parentaf0e54a566ab8c8be9b39a628aaa4992f161695c
parent9d19e5b962f77259dd1334b9edb4da4de54f0987
Merge #6124

6124: Better normalized crate name usage r=jonas-schievink a=SomeoneToIgnore

Closes https://github.com/rust-analyzer/rust-analyzer/issues/5343
Closes https://github.com/rust-analyzer/rust-analyzer/issues/5932

Uses normalized name for code snippets (to be able to test the fix), hover messages and documentation rewrite links (are there any tests for those?).
Also renamed the field to better resemble the semantics.

Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
crates/hir/src/code_model.rs