rust/crates/hir/src
bors ba15f75c39 Auto merge of #13225 - lowr:fix/hir-proj-normalization, r=Veykril
fixup: remove unnecessary `Option`

Fixup for #13223, two things:

- `normalize_projection_query()` (and consequently `HirDatabase::normalize_projection()`) never returns `None` (well, it used to when I first wrote it...), so just return `Ty` instead of `Option<Ty>`
- When chalk cannot normalize projection uniquely, `normalize_trait_assoc_type()` used to return `None` before #13223, but not anymore because of the first point. I restored the behavior so its callers work as before.
2022-09-13 14:52:58 +00:00
..
semantics feat: Downmap tokens inside derive helpers 2022-07-26 09:26:47 +02:00
attrs.rs
db.rs
diagnostics.rs Diagnose incorrect continue expressions 2022-09-01 14:41:38 +02:00
display.rs Run cargo fmt 2022-07-20 15:06:15 +02:00
from_id.rs fix clippy::useless_conversion 2022-03-12 16:50:49 +01:00
has_source.rs fix(ide-db): correct single-file module rename 2022-05-28 15:07:22 +03:00
lib.rs Auto merge of #13225 - lowr:fix/hir-proj-normalization, r=Veykril 2022-09-13 14:52:58 +00:00
semantics.rs Fix visibilities 2022-08-05 14:28:36 +02:00
source_analyzer.rs Remove hir::Expr::MacroStmts 2022-08-31 16:58:11 +02:00
symbols.rs Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00