about summary refs log tree commit diff
path: root/src/test/ui/consts/const_let_refutable.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-6/+0
2020-06-28Update testsDylan MacKenzie-1/+0
2020-02-01Update existing tests for or-patternsMatthew Jasper-4/+4
2019-09-06Fixed grammar/style in error messages and reblessed tests.Alexander Regueiro-2/+2
2019-08-05Make use of possibly uninitialized data a hard errorTyler Mandry-6/+2
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-04-22Never stop due to errors before borrow checkingEsteban Küber-1/+7
2019-01-09Fix irrefutable slice patterns in const fnOliver Scherer-0/+5