about summary refs log tree commit diff
path: root/src/test/ui/variance
AgeCommit message (Collapse)AuthorLines
2019-04-22update tests for migrate mode by defaultMatthew Jasper-36/+9
2019-04-19Rollup merge of #60052 - varkor:unused-parameter-diagnostic, r=estebankMazdak Farrokhzad-9/+9
Correct unused parameter diagnostic The message was incorrect for unused lifetime parameters. There's no need to be specific.
2019-04-18Update testsvarkor-9/+9
2019-04-18hide `--explain` hint if error has no extended infoAndy Russell-9/+0
2019-03-11Update NLL testsVadim Petrochenkov-3/+3
2019-03-11Update testsVadim Petrochenkov-76/+76
2018-12-25Remove licensesMark Rousskov-498/+196
2018-11-07Removed `#[rustc_error]` from tests that are all `// compile-pass`.Felix S. Klock II-21/+5
I also added `// skip-codegen` to each one, to address potential concerns that this change would otherwise slow down our test suite spending time generating code for files that are really just meant to be checks of compiler diagnostics. (However, I will say: My preference is to not use `// skip-codegen` if one can avoid it. We can use all the testing of how we drive LLVM that we can get...) (Updated post rebase.)
2018-11-07remove `#[rustc_error]` from ui/ tests that remain compile-fail tests.Felix S. Klock II-6/+6
2018-10-17Update output for borrowck=migrate compare mode.David Wood-397/+0
This commit updates the test output for the updated NLL compare mode that uses `-Z borrowck=migrate` rather than `-Z borrowck=mir`. The previous commit changes `compiletest` and this commit only updates `.nll.stderr` files.
2018-10-10Use the span of the user type for `AscribeUserType`Matthew Jasper-2/+2
Also change the order of the fake read for let and the AscribeUserType, so that we use the better span and message from the fake read in errors.
2018-09-27Enable NLL compare mode for more testsMatthew Jasper-75/+218
These tests were disabled due to NLL bugs that have since been fixed.
2018-09-19Update ui testsMatthew Jasper-6/+6
2018-09-01Update testsBasile Desloges-150/+0
2018-08-14Update former compile-fail testsMatthew Jasper-16/+16
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+2593