rust/src/test/ui/reachable
2020-04-11 16:15:24 +02:00
..
auxiliary
expr_add.rs
expr_add.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
expr_again.rs
expr_again.stderr rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
expr_andand.rs
expr_array.rs
expr_array.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
expr_assign.rs
expr_assign.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
expr_block.rs
expr_block.stderr rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
expr_box.rs
expr_box.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
expr_call.rs
expr_call.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
expr_cast.rs
expr_cast.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
expr_if.rs
expr_if.stderr rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
expr_loop.rs
expr_loop.stderr rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
expr_match.rs
expr_match.stderr rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
expr_method.rs
expr_method.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
expr_oror.rs
expr_repeat.rs
expr_repeat.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
expr_return.rs
expr_return.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
expr_return_in_macro.rs
expr_return_in_macro.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
expr_struct.rs
expr_struct.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
expr_tup.rs
expr_tup.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
expr_type.rs
expr_type.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
expr_unary.rs
expr_unary.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
expr_while.rs
expr_while.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
README.md
unreachable-arm.rs
unreachable-arm.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
unreachable-code.rs
unreachable-code.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
unreachable-in-call.rs
unreachable-in-call.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
unreachable-loop-patterns.rs
unreachable-loop-patterns.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
unreachable-try-pattern.rs
unreachable-try-pattern.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
unreachable-variant.rs
unreachable-variant.stderr Normalize wording of privacy access labels 2020-03-22 15:36:54 -07:00
unwarned-match-on-never.rs
unwarned-match-on-never.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00

A variety of tests around reachability. These tests in general check two things:

  • that we get unreachable code warnings in reasonable locations;
  • that we permit coercions into ! from expressions which diverge, where an expression "diverges" if it must execute some subexpression of type !, or it has type ! itself.