summary refs log tree commit diff
path: root/src/test/ui/issues
AgeCommit message (Collapse)AuthorLines
2019-06-26rustc_typeck: correctly compute `Substs` for `Res::SelfCtor`.Eduard-Mihai Burtescu-0/+75
2019-06-26Fix ICE involving mut referencesEsteban Küber-0/+33
2019-06-06Turn ICE on type arguments on variables into an errorOliver Scherer-0/+33
2019-06-06Add regression testEsteban Küber-0/+15
2019-05-19Rollup merge of #60924 - estebank:try-msg, r=petrochenkovMazdak Farrokhzad-0/+1
Explain that ? converts the error type using From Fix #60917.
2019-05-18Auto merge of #60386 - Goirad:sgx-ignore-tests, r=nikomatsakisbors-1/+3
Added ignore-sgx for appropriate tests in src/test These are all the tests that make sense to ignore when targeting fortanix-unknonw-sgx, at least in test/runpass. Other suites not yet covered.
2019-05-17Auto merge of #49799 - hdhoang:46205_deny_incoherent_fundamental_impls, ↵bors-5/+2
r=nikomatsakis lint: convert incoherent_fundamental_impls into hard error *Summary for affected authors:* If your crate depends on one of the following crates, please upgrade to a newer version: - gtk-rs: upgrade to at least 0.4 - rusqlite: upgrade to at least 0.14 - nalgebra: upgrade to at least 0.15, or the last patch version of 0.14 - spade: upgrade or refresh the Cargo.lock file to use version 1.7 - imageproc: upgrade to at least 0.16 (newer versions no longer use nalgebra) implement #46205 r? @nikomatsakis
2019-05-17Explain that ? converts the error type using FromEsteban Küber-0/+1
2019-05-17Rollup merge of #60901 - estebank:str-str-str, r=CentrilManish Goregaokar-2/+2
Handle more string addition cases with appropriate suggestions
2019-05-17Auto merge of #60171 - matthewjasper:full-nll-compare-mode, r=pnkfelixbors-73/+358
Use -Zborrowck=mir for NLL compare mode closes #56993 r? @pnkfelix
2019-05-16review commentsEsteban Küber-2/+2
2019-05-16fixed issues relating to line numbers being shiftedDario Gonzalez-1/+1
2019-05-16Added ignore-sgx for appropriate testsDario Gonzalez-0/+2
2019-05-16Point at enclosing fn/closure when it's not asyncEsteban Küber-7/+6
2019-05-16tidy fixEsteban Küber-1/+1
2019-05-16Parse alternative incorrect uses of await and recoverEsteban Küber-2/+10
2019-05-12Remove feature(nll) when compare mode is sufficientMatthew Jasper-67/+25
2019-05-12Change compare mode to use -Zborrowck=mirMatthew Jasper-6/+333
2019-05-12Fix HIR printing of existential type #60662Pulkit Goyal-0/+25
This fixes https://github.com/rust-lang/rust/issues/60662
2019-05-11Auto merge of #60721 - estebank:ice-ice-baby, r=varkorbors-0/+26
Avoid ICE by using delay_span_bug Fix #59406, fix #53498.
2019-05-10Avoid ICE by using delay_span_bugEsteban Küber-0/+26
2019-05-10Various test changesMazdak Farrokhzad-2/+17
2019-05-09Rollup merge of #60644 - estebank:abolish-ice, r=varkorMazdak Farrokhzad-0/+51
Use `delay_span_bug` for "Failed to unify obligation" Fix #60283.
2019-05-09Rollup merge of #60627 - matklad:test, r=estebankMazdak Farrokhzad-0/+40
test for #50518 It was fixed somewhere between 1.28.0 and 1.31.1 closes #50518 r? @estebank Where's the best place to add this test? I *think* we want "compile-pass" for this test (no need to run a binary, and not running saves us a millisecond of process creation) , but there's no compile-pass anymore. Should this be UI test with empty stdout, stderr and zero return code?
2019-05-08Use `delay_span_bug` for "Failed to unify obligation"Esteban Küber-0/+51
2019-05-08test for #50518Aleksey Kladov-0/+40
It was fixed somewhere between 1.28.0 and 1.31.1 closes #50518
2019-05-07Implement built-in await syntaxTaylor Cramer-0/+40
Adds support for .await under the existing async_await feature gate. Moves macro-like await! syntax to the await_macro feature gate. Removes support for `await` as a non-keyword under the `async_await` feature.
2019-05-04Rollup merge of #60517 - estebank:wording, r=davidtwcoMazdak Farrokhzad-3/+3
Reword casting message r? @davidtwco
2019-05-04Rollup merge of #60513 - chrisvittal:remove-borrowck-compare, r=matthewjasperMazdak Farrokhzad-93/+26
Remove -Z borrowck=compare flag This is the start of the work that needs to be done on #59193. It just removes the flag and updates the tests. r? @matthewjasper
2019-05-04Rollup merge of #60449 - matthewjasper:impl-trait-outlives, r=pnkfelixMazdak Farrokhzad-2/+2
Constrain all regions in the concrete type for an opaque type `push_outlives_components` skips some regions in a type, notably the signature of a closure is ignored. Most of the time this is OK, but for opaque types the concrete type is used when checking auto-trait bounds in other functions. cc @nikomatsakis @pnkfelix Closes #57464 Closes #60127
2019-05-03Reword casting messageEsteban Küber-3/+3
2019-05-03Rollup merge of #60388 - cramertj:elided-lifetime-async, r=nikomatsakisMazdak Farrokhzad-7/+17
Disallow non-explicit elided lifetimes in async fn Fix https://github.com/rust-lang/rust/issues/60203 r? @nikomatsakis
2019-05-03Update testsChristopher Vittal-93/+26
2019-05-02Constrain all regions in the concrete type for an opaque typeMatthew Jasper-2/+2
2019-05-01Disallow non-explicit elided lifetimes in async fnTaylor Cramer-7/+17
2019-04-29Suggest try_into when possibleEsteban Küber-0/+28
2019-04-25Rollup merge of #60160 - xldenis:fix-overlapping-zero-width-annotation, ↵Mazdak Farrokhzad-3/+2
r=estebank Fix #58270, fix off-by-one error in error diagnostics. This fixes #58270 by checking if two diagnostics overlap completely when we're calculating the line offset for each message.
2019-04-24Rollup merge of #59739 - cramertj:stabilize, r=withoutboatsMazdak Farrokhzad-4/+4
Stabilize futures_api cc https://github.com/rust-lang/rust/issues/59725. Based on https://github.com/rust-lang/rust/pull/59733 and https://github.com/rust-lang/rust/pull/59119 -- only the last two commits here are relevant. r? @withoutboats , @oli-obk for the introduction of `rustc_allow_const_fn_ptr`.
2019-04-24Auto merge of #58623 - Amanieu:hashbrown3, r=alexcrichtonbors-3/+3
Replace HashMap implementation with SwissTable (as an external crate) This is the same as #56241 except that it imports `hashbrown` as an external crate instead of copying the implementation into libstd. This includes a few API changes (all unstable): - `try_reserve` is added to `HashSet`. - Some trait bounds have been changed in the `raw_entry` API. - `search_bucket` has been removed from the `raw_entry` API (doesn't work with SwissTable).
2019-04-23Stabilize futures_apiTaylor Cramer-4/+4
2019-04-24Fix testAmanieu d'Antras-3/+3
2019-04-23Rollup merge of #60169 - varkor:tidy-unnecessary-ignore-newline, r=kennytmMazdak Farrokhzad-35/+21
Warn when ignore-tidy-linelength is present, but no lines are too long It's easy for a `// ignore-tidy-linelength` to be added when there is a genuine need to ignore a file's line length, but then after refactoring the need is gone, but the tidy directive is not removed. This means that in the future, further editing may accidentally add unnecessarily long lines. This change forces `// ignore-tidy-linelength` to be used exactly when necessary, to make sure such changes are intentional.
2019-04-23Update ui testsvarkor-21/+21
2019-04-23Remove unnecessary ignore-tidy-linelengthvarkor-14/+0
2019-04-23Auto merge of #60125 - estebank:continue-evaluating, r=oli-obkbors-16/+71
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-23Auto merge of #60172 - varkor:tidy-double-trailing-newline, r=kennytmbors-18/+0
Disallow double trailing newlines in tidy This wasn't done previously in https://github.com/rust-lang/rust/pull/47064#issuecomment-354533010 as it affected too many files, but I think it's best to fix it now so that the number of files with double trailing newlines doesn't keep increasing. r? kennytm
2019-04-22Fix #58270, fix off-by-one error in error diagnostics.Xavier Denis-3/+2
2019-04-22Never stop due to errors before borrow checkingEsteban Küber-16/+71
2019-04-22Continue evaluating after item-type checkingEsteban Küber-2/+13
2019-04-22Remove double trailing newlinesvarkor-18/+0