Skip to content

Commit aebed0c

Browse files
committed
TMP: allow a lint in r-a
1 parent c374e4d commit aebed0c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • src/tools/rust-analyzer/crates/hir-ty/src

src/tools/rust-analyzer/crates/hir-ty/src/mir.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -875,6 +875,7 @@ pub enum CastKind {
875875
}
876876

877877
#[derive(Debug, PartialEq, Eq, Clone)]
878+
#[allow(unreachable_code)] // https://github.com/rust-lang/rust/issues/154900
878879
pub enum Rvalue {
879880
/// Yields the operand unchanged
880881
Use(Operand),

0 commit comments

Comments
 (0)