rust/tests/ui/return
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00
..
issue-64620.rs hir: Add Become expression kind 2023-06-26 08:56:32 +00:00
issue-64620.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-82612-return-mutable-reference.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-82612-return-mutable-reference.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-86188-return-not-in-fn-body.rs hir: Add Become expression kind 2023-06-26 08:56:32 +00:00
issue-86188-return-not-in-fn-body.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-from-diverging.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-from-diverging.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
return-impl-trait-bad.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-impl-trait-bad.stderr Tweak wording of type errors involving type params 2023-10-18 23:53:18 +00:00
return-impl-trait.fixed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-impl-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-impl-trait.stderr Tweak wording of type errors involving type params 2023-10-18 23:53:18 +00:00
return-match-array-const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-match-array-const.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-struct.rs Bugfix: 'can_have_side_effects()' would return 'false' for struct/enum/array/tuple literals unless *all* sub-expressions had side effects. This would easily allow side effects to slip through, and also wrongly label empty literals as having side effects. Add some tests for the last point 2023-08-10 02:26:11 +02:00
return-struct.stderr Point to where missing return type should go 2023-10-04 21:09:54 +00:00
return-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-type.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
return-unit-from-diverging.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-unit-from-diverging.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
tail-expr-as-potential-return.rs hir: Add Become expression kind 2023-06-26 08:56:32 +00:00
tail-expr-as-potential-return.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00