rust/tests/ui/reachable
2024-10-05 19:10:47 -04:00
..
auxiliary
expr_add.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_add.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
expr_again.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_again.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
expr_andand.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
expr_array.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_array.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_assign.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_assign.stderr Evaluating place expr that is never read from does not diverge 2024-10-05 18:36:47 -04:00
expr_block.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_block.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_call.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_call.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_cast.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_cast.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_if.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_if.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_loop.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_loop.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_match.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_match.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_method.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_method.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_oror.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
expr_repeat.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_repeat.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
expr_return_in_macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_return_in_macro.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
expr_return.rs Adjust UI tests for unit_bindings 2023-06-12 20:24:48 +08:00
expr_return.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
expr_struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_struct.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_tup.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_tup.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_type.stderr Make type_ascribe! not a built-in 2024-03-20 22:28:56 -04:00
expr_unary.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_unary.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_while.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr_while.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
foreign-priv.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-948.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-11225-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-11225-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-11225-3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
reachable-unnameable-type-alias.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
README.md Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unreachable-arm.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unreachable-arm.stderr Reword the "unreachable pattern" explanations 2024-08-19 21:39:57 +02:00
unreachable-code-ret.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unreachable-code-ret.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unreachable-code.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unreachable-code.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unreachable-in-call.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unreachable-in-call.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unreachable-loop-patterns.rs Revert warning empty patterns as unreachable 2024-09-11 18:36:45 +02:00
unreachable-loop-patterns.stderr Revert warning empty patterns as unreachable 2024-09-11 18:36:45 +02:00
unreachable-try-pattern.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unreachable-try-pattern.stderr Add a machine-applicable suggestion to "unreachable pattern" 2024-09-13 21:01:29 +02:00
unreachable-variant.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unreachable-variant.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unwarned-match-on-never.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unwarned-match-on-never.stderr Move /src/test to /tests 2023-01-11 09:32:08 +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.