rust/src/test/ui/empty
Tyler Mandry 9058bf2100 Make use of possibly uninitialized data a hard error
This is one of the behaviors we no longer allow in NLL. Since it can
lead to undefined behavior, I think it's definitely worth making it a
hard error without waiting to turn off migration mode (#58781).

Closes #60450.

My ulterior motive here is making it impossible to leave variables
partially initialized across a yield (see discussion at #63035), so
tests are included for that.
2019-08-05 14:57:12 -07:00
..
auxiliary Remove licenses 2018-12-25 21:08:33 -07:00
empty-comment.rs Remove licenses 2018-12-25 21:08:33 -07:00
empty-comment.stderr Update tests 2019-03-11 23:10:26 +03:00
empty-linkname.rs Remove licenses 2018-12-25 21:08:33 -07:00
empty-linkname.stderr normalize use of backticks in compiler messages for librustc_metadata 2019-07-19 22:24:56 +02:00
empty-macro-use.rs Remove licenses 2018-12-25 21:08:33 -07:00
empty-macro-use.stderr Remove licenses 2018-12-25 21:08:33 -07:00
empty-never-array.rs Make use of possibly uninitialized data a hard error 2019-08-05 14:57:12 -07:00
empty-never-array.stderr Make use of possibly uninitialized data a hard error 2019-08-05 14:57:12 -07:00
empty-struct-braces-expr.rs improve unknown enum variant errors 2019-04-09 14:19:20 -04:00
empty-struct-braces-expr.stderr hide --explain hint if error has no extended info 2019-04-18 13:29:28 -04:00
empty-struct-braces-pat-1.rs Remove licenses 2018-12-25 21:08:33 -07:00
empty-struct-braces-pat-1.stderr clarify resolve typo suggestion 2019-01-09 14:11:00 -05:00
empty-struct-braces-pat-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
empty-struct-braces-pat-2.stderr Update tests 2019-03-11 23:10:26 +03:00
empty-struct-braces-pat-3.rs Remove licenses 2018-12-25 21:08:33 -07:00
empty-struct-braces-pat-3.stderr clarify resolve typo suggestion 2019-01-09 14:11:00 -05:00
empty-struct-tuple-pat.rs Remove licenses 2018-12-25 21:08:33 -07:00
empty-struct-tuple-pat.stderr hide --explain hint if error has no extended info 2019-04-18 13:29:28 -04:00
empty-struct-unit-expr.rs Remove licenses 2018-12-25 21:08:33 -07:00
empty-struct-unit-expr.stderr Update tests 2019-03-11 23:10:26 +03:00
empty-struct-unit-pat.rs Remove licenses 2018-12-25 21:08:33 -07:00
empty-struct-unit-pat.stderr Update tests 2019-03-11 23:10:26 +03:00