_Originally posted by @matklad in https://github.com/rust-analyzer/rust-analyzer/pull/196_