about summary refs log tree commit diff
path: root/src/test/ui/issues
AgeCommit message (Collapse)AuthorLines
2019-10-04Auto merge of #63649 - tlively:emscripten-upstream-upgrade, r=alexcrichtonbors-5/+18
Upgrade Emscripten targets to use upstream LLVM backend - Refactors the Emscripten target spec to share code with other wasm targets. - Replaces the incorrect wasm32 C call ABI with the old asmjs version, which is correct for both wasm32 and JS. - Updates the varargs ABI used by Emscripten and deletes the old one. - Removes the obsolete wasm32-experimental-emscripten target. - Temporarily makes Emscripten targets use panic=abort by default because supporting unwinding will require an LLVM patch.
2019-10-04Add ignore-asmjs to new testThomas Lively-0/+1
2019-10-04Upgrade Emscripten targets to use upstream LLVM backendThomas Lively-5/+17
- Refactors the Emscripten target spec to share code with other wasm targets. - Replaces the incorrect wasm32 C call ABI with the old asmjs version, which is correct for both wasm32 and JS. - Updates the varargs ABI used by Emscripten and deletes the old one. - Removes the obsolete wasm32-experimental-emscripten target. - Temporarily makes Emscripten targets use panic=abort by default because supporting unwinding will require an LLVM patch.
2019-10-04Rollup merge of #64874 - matthewjasper:simplify-euv, r=eddybMazdak Farrokhzad-24/+18
Simplify ExprUseVisitor * Remove HIR const qualification * Remove parts of ExprUseVisitor that aren't being used r? @eddyb
2019-10-03Rollup merge of #65057 - mathstuf:fix-warning-typo, r=CentrilTyler Mandry-6/+6
typo: fix typo in E0392 See #64931. --- Cc: @Centril @estebank
2019-10-03Rollup merge of #64706 - nikomatsakis:issue-60218-test-case, r=centrilTyler Mandry-0/+34
add regression test for #60218 Fixes #60218
2019-10-03typo: fix typo in E0392Ben Boeckel-6/+6
See #64931.
2019-10-03add regression test for #60218Niko Matsakis-0/+34
2019-10-03Rollup merge of #64931 - estebank:missing-param-ref, r=matthewjasper,CentrilMazdak Farrokhzad-6/+6
Reword E0392 slightly Make it clearer that a type or lifetime argument not being used can be fixed by referencing it in a struct's fields, not just using `PhathomData`. CC #53589.
2019-10-02review commentEsteban Küber-6/+6
2019-10-02Do not ICE when dereferencing non-Copy raw pointerEsteban Küber-0/+34
2019-10-02Rollup merge of #64973 - ecstatic-morse:fix-debuginfo-test, r=alexcrichtonMazdak Farrokhzad-2/+2
Fix typo while setting `compile-flags` in test This test is meant to check for an ICE when generating debug info, but didn't actually pass `-g` due to the typo. I also removed the `FIXME`, since this needs to actually be built (not just checked) to trigger the ICE.
2019-10-01Rollup merge of #64649 - estebank:returnator, r=varkorTyler Mandry-0/+14
Avoid ICE on return outside of fn with literal array Do not ICE when encountering `enum E { A = return [0][0] }`. Fix #64638.
2019-10-01This needs to be build-pass since it involves debuginfoDylan MacKenzie-1/+1
2019-10-01Fix typo passing flags to rustcDylan MacKenzie-1/+1
2019-10-01Rollup merge of #64928 - JohnTitor:add-some-tests, r=CentrilMazdak Farrokhzad-0/+125
Add tests for some issues Closes #50571 Closes #58022 Closes #58344
2019-09-30Avoid ICE on return outside of fn with literal arrayEsteban Küber-0/+14
Do not ICE when encountering `enum E { A = return [0][0] }`.
2019-09-30Reword E0392 slightlyEsteban Küber-6/+6
Make it clearer that a type or lifetime argument not being used can be fixed by referencing it in a struct's fields, not just using `PhathomData`.
2019-10-01Add test for #58344Yuki Okushi-0/+69
2019-10-01Add test for #58022Yuki Okushi-0/+37
2019-10-01Add test for #50571Yuki Okushi-0/+19
2019-09-30Remove HIR based const qualificationMatthew Jasper-24/+18
2019-09-30Fixed stylistic convention for one diagnostic and blessed tests.Alexander Regueiro-1/+1
2019-09-30Fixed grammar in one diagnostic and blessed tests.Alexander Regueiro-3/+3
2019-09-29Rollup merge of #64691 - estebank:unexpected-variant, r=CentrilMazdak Farrokhzad-2/+14
Point at definition when misusing ADT When given `struct Foo(usize)` and using it as `Foo {}` or `Foo`, point at `Foo`'s definition in the error.
2019-09-28Rollup merge of #64852 - Baranowski:param_note_52082, r=estebankMazdak Farrokhzad-0/+3
Print ParamTy span when accessing a field (#52082)
2019-09-28Rollup merge of #64793 - immunant:format_spans, r=matthewjasperMazdak Farrokhzad-6/+3
Fix format macro expansions spans to be macro-generated New Exprs generated as part of the format macro expansion should get the macro expansion span with an expansion context, rather than the span of the format string which does not.
2019-09-28Auto merge of #64455 - GuillaumeGomez:long-error-explanation-E0531, r=Centrilbors-1/+2
Add Long error explanation for E0531 Part of #61137.
2019-09-28Implement CRsWojciech Baranowski-0/+3
2019-09-27--bless --compare-mode=nllMazdak Farrokhzad-33/+0
2019-09-26Rollup merge of #64783 - onehr:onehrxn, r=varkorMazdak Farrokhzad-0/+31
Fix issue #64732 Based on issue #64732, when creating a byte literal with single quotes, the suggestion message would indicate that you meant to write a `str` literal, but we actually meant to write a byte string literal. So I changed the unescape_error_reporting.rs to decide whether to print out "if you meant to write a `str` literal, use double quotes", or "if you meant to write a byte string literal, use double quotes". Fixes #64732.
2019-09-26issue-#45696: remove ignore-compare-mode-nllMazdak Farrokhzad-10/+6
2019-09-26issue-#45696-scribble...: remove outdated comment.Mazdak Farrokhzad-5/+3
2019-09-26rm "src/test/ui/issues/issue-45696-scribble-on-boxed-borrow.migrate.stderr"Mazdak Farrokhzad-36/+0
2019-09-26remove feature(nll) in more cases.Mazdak Farrokhzad-19/+6
2019-09-26remove feature(nll) from #45157 test.Mazdak Farrokhzad-30/+1
2019-09-26Adjust & --bless tests due to no longer downgrading NLL errors on 2015.Mazdak Farrokhzad-155/+54
2019-09-25Add test case for issue #64732Haoran Wang-0/+31
2019-09-25Fix format macro expansions spans to be macro-generatedStephen Crane-6/+3
New Exprs generated as part of the format macro expansion should get the macro expansion span which has an expansion context, not the span of the format string which does not.
2019-09-25update ui testsGuillaume Gomez-1/+2
2019-09-24fix rebaseEsteban Küber-1/+1
2019-09-24Remove blanket silencing of "type annotation needed" errorsEsteban Küber-13/+30
Remove blanket check for existence of other errors before emitting "type annotation needed" errors, and add some eager checks to avoid adding obligations when they refer to types that reference `[type error]` in order to reduce unneded errors.
2019-09-24Stabilize `str::len`, `[T]::len`, `is_empty` and `str::as_bytes` as const fnOliver Scherer-10/+1
2019-09-23Stabilize Option::deref and Option::deref_mutSimon Sapin-6/+2
The tracking issue https://github.com/rust-lang/rust/issues/50264 still has unresolved question for the corresponding `Result` methods.
2019-09-23Auto merge of #64695 - Centril:rollup-t1xnl2c, r=Centrilbors-0/+13
Rollup of 7 pull requests Successful merges: - #64294 (Fix `Stdio::piped` example code and lint) - #64670 (Cleanup syntax::ext::build) - #64674 (Propagate `types.err` in locals further to avoid spurious knock-down errors) - #64676 (Parse assoc type bounds in generic params and provide custom diagnostic) - #64677 (remove outdated comment) - #64679 (Infer consts more consistently) - #64688 (Clarify the "since" tidy check) Failed merges: r? @ghost
2019-09-23Rollup merge of #64674 - estebank:knock-down-the-wall, r=CentrilMazdak Farrokhzad-0/+13
Propagate `types.err` in locals further to avoid spurious knock-down errors Fix #33575, fix #44504.
2019-09-22ignore-x86 instead of ignore-muslEsteban Küber-1/+1
2019-09-22Point at type param when it's cause of unfulfilled obligationEsteban Küber-6/+6
2019-09-22ignore musl target in tests to avoid issues with output differencesEsteban Küber-1/+3
2019-09-22Point at correct span for parenthesized typesEsteban Küber-29/+29