rust/src/test/ui/reachable
2017-12-10 21:14:57 +00:00
..
expr_add.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_add.stderr Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_again.rs cherry-pick over the tests I wrote for the reachability code 2017-03-30 07:55:29 -04:00
expr_again.stderr mention nightly in -Z external-macro-backtrace note 2017-11-26 18:28:38 +00:00
expr_andand.rs Add must-compile-successfully comment to appropriate ui tests. 2017-12-10 21:14:57 +00:00
expr_andand.stderr cherry-pick over the tests I wrote for the reachability code 2017-03-30 07:55:29 -04:00
expr_array.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_array.stderr Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_assign.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_assign.stderr Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_block.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_block.stderr mention nightly in -Z external-macro-backtrace note 2017-11-26 18:28:38 +00:00
expr_box.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_box.stderr Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_call.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_call.stderr Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_cast.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_cast.stderr Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_if.rs cherry-pick over the tests I wrote for the reachability code 2017-03-30 07:55:29 -04:00
expr_if.stderr mention nightly in -Z external-macro-backtrace note 2017-11-26 18:28:38 +00:00
expr_loop.rs cherry-pick over the tests I wrote for the reachability code 2017-03-30 07:55:29 -04:00
expr_loop.stderr mention nightly in -Z external-macro-backtrace note 2017-11-26 18:28:38 +00:00
expr_match.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_match.stderr mention nightly in -Z external-macro-backtrace note 2017-11-26 18:28:38 +00:00
expr_method.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_method.stderr Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_oror.rs Add must-compile-successfully comment to appropriate ui tests. 2017-12-10 21:14:57 +00:00
expr_oror.stderr cherry-pick over the tests I wrote for the reachability code 2017-03-30 07:55:29 -04:00
expr_repeat.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_repeat.stderr Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_return.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_return.stderr Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_struct.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_struct.stderr Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_tup.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_tup.stderr Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_type.rs Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_type.stderr Merge cfail and ui tests into ui tests 2017-11-24 11:32:35 +01:00
expr_unary.rs make coercions to ! in unreachable code a hard error 2017-11-30 15:18:25 +02:00
expr_unary.stderr make coercions to ! in unreachable code a hard error 2017-11-30 15:18:25 +02:00
expr_while.rs cherry-pick over the tests I wrote for the reachability code 2017-03-30 07:55:29 -04:00
expr_while.stderr mention nightly in -Z external-macro-backtrace note 2017-11-26 18:28:38 +00:00
README.md cherry-pick over the tests I wrote for the reachability code 2017-03-30 07:55:29 -04: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.