rust/compiler/rustc_mir_transform/src/coverage
Matthias Krüger 09489b9137
Rollup merge of #111121 - Zalathar:ra-false-positive, r=jackh726
Work around `rust-analyzer` false-positive type errors

rust-analyzer incorrectly reports two type errors in `debug.rs`:

> expected &dyn Display, found &i32
> expected &dyn Display, found &i32

This is due to a known bug in r-a: (https://github.com/rust-lang/rust-analyzer/issues/11847).

In these particular cases, changing `&0` to `&0i32` seems to be enough to avoid the bug.
2023-05-24 21:36:56 +02:00
..
test_macros Remove from compiler/ crates 2022-09-29 16:49:04 +09:00
counters.rs Consistently use dominates instead of is_dominated_by 2023-01-21 12:15:02 +01:00
debug.rs Rollup merge of #111121 - Zalathar:ra-false-positive, r=jackh726 2023-05-24 21:36:56 +02:00
graph.rs Merge DominatorTree and Dominators. 2023-05-17 10:37:29 +00:00
mod.rs Auto merge of #97368 - tmandry:coverage-underflow, r=jyn514 2023-04-26 12:03:13 +00:00
query.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
spans.rs Auto merge of #111673 - cjgillot:dominator-preprocess, r=cjgillot,tmiasko 2023-05-24 16:18:21 +00:00
tests.rs Drive-by cleanup: debug::term_type => TerminatorKind::name 2023-05-17 11:27:37 +00:00