aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/tests/coercion.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-10-23 23:05:25 +0100
committerGitHub <[email protected]>2020-10-23 23:05:25 +0100
commitc483212f274e9a5e348451cd4bbd0487e172458b (patch)
treedcb279acf2cd6262ede408615a4b3f9bed8098fc /crates/hir_ty/src/tests/coercion.rs
parentea25ae614b21237c4a536304da875bdc29f0c65a (diff)
parent5350c15e27bfb85d2e7ae3eae0e624197f2b9a70 (diff)
Merge #6339
6339: Diagnose #[cfg]s in bodies r=matklad a=jonas-schievink This PR threads diagnostics through body lowering using the `BodySourceMap`, and emits `InactiveCode` diagnostics for expressions, statements, and match arms that are `#[cfg]`d out. Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/hir_ty/src/tests/coercion.rs')
0 files changed, 0 insertions, 0 deletions