about summary refs log tree commit diff
path: root/src/test/ui/recursion
AgeCommit message (Collapse)AuthorLines
2020-04-08Small tweaks to required bound spanEsteban Küber-2/+2
2020-04-08Use `PredicateObligation`s instead of `Predicate`sEsteban Küber-2/+2
Keep more information about trait binding failures.
2020-04-02tests: remove ignore directives from tests that mention core/alloc/std spans.Eduard-Mihai Burtescu-6/+1
2020-03-27non-exhastive diagnostic: add note re. scrutinee typeMazdak Farrokhzad-0/+1
2020-03-23Ignore tests on some platforms due to #53081Aaron Hill-1/+6
2020-03-22Store idents for `DefPathData` into crate metadataAaron Hill-0/+5
Previously, we threw away the `Span` associated with a definition's identifier when we encoded crate metadata, causing us to lose location and hygiene information. We now store the identifier's `Span` in the crate metadata. When we decode items from the metadata, we combine the name and span back into an `Ident`. This improves the output of several tests, which previously had messages suppressed due to dummy spans. This is a prerequisite for #68686, since throwing away a `Span` means that we lose hygiene information.
2020-02-12Auto merge of #68679 - matthewjasper:needs-type-op, r=varkorbors-1/+2
Improve `ty.needs_drop` * Handle cycles in `needs_drop` correctly * Normalize types when computing `needs_drop` * Move queries from rustc to rustc_ty * Avoid query in simple cases reopens #65918
2020-02-11Specify overflow checks behaviour in testMatthew Jasper-1/+2
2020-02-01Update existing tests for or-patternsMatthew Jasper-10/+2
2020-01-19fix real_drop_in_place in commentsRalf Jung-1/+1
2020-01-18adjust ui testsRalf Jung-1/+1
2019-12-30Handle recursive instantiation of drop shimsMatthew Jasper-0/+47
2019-12-21rework run-fail and support check,build-failMazdak Farrokhzad-1/+3
2019-10-09Suggest `if let` on `let` refutable bindingEsteban Küber-0/+7
2019-09-06Fixed grammar/style in error messages and reblessed tests.Alexander Regueiro-3/+3
2019-08-31Use span label instead of note for cause in E0631Esteban Küber-10/+6
2019-08-10diagnostics: Describe crate root modules in `DefKind::Mod` as "crate"Vadim Petrochenkov-2/+2
2019-08-05Make use of possibly uninitialized data a hard errorTyler Mandry-25/+3
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-07-07Raise the default recursion limit to 128Simonas Kazlauskas-1/+1
2019-05-21Add FAQ for NLL migrationJethro Beekman-0/+1
2019-05-12Change compare mode to use -Zborrowck=mirMatthew Jasper-0/+16
2019-04-23Auto merge of #60125 - estebank:continue-evaluating, r=oli-obkbors-1/+14
Don't stop evaluating due to errors before borrow checking r? @oli-obk Fix #60005. Follow up to #59903. Blocked on #53708, fixing the ICE in `src/test/ui/consts/match_ice.rs`.
2019-04-22Never stop due to errors before borrow checkingEsteban Küber-1/+14
2019-04-22Remove double trailing newlinesvarkor-1/+0
2019-03-11Update testsVadim Petrochenkov-2/+2
2018-12-25Remove licensesMark Rousskov-81/+11
2018-12-24make non_camel_case_types an early lintAndy Russell-5/+5
2018-10-25Deduplicate all the ~~things~~ errorsOliver Schneider-0/+5
2018-10-25Report const eval error inside the queryOliver Schneider-0/+5
2018-09-30Deduplicate errors in the obligation forest.Diogo Sousa-8/+28
Fixes #40827.
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+212