summary refs log tree commit diff
path: root/src/test/ui
AgeCommit message (Collapse)AuthorLines
2019-08-12fix cycle when looking up size and align of a staticRalf Jung-0/+11
2019-08-12Avoid ICE when referencing desugared local binding in borrow errorEsteban Küber-0/+45
2019-08-05bless ui testsPietro Albini-1/+1
2019-08-04Rollup merge of #63254 - ↵Pietro Albini-0/+1498
taiki-e:arbitrary_self_types-lifetime-elision-2-beta, r=Centril
2019-08-04arbitrary_self_types lifetime elision: --bless --compare-mode=nllTaiki Endo-0/+342
2019-08-04Fix typoTaiki Endo-1/+1
2019-08-04Add tests for `self: (&)AssocType`Taiki Endo-0/+124
2019-08-04Add test for multiple ref-selfTaiki Endo-7/+73
2019-08-04Minor clean upTaiki Endo-36/+27
2019-08-04Add main functions and check-pass annotationsTaiki Endo-22/+16
2019-08-04Update src/test/ui/self/elision/README.mdTaiki Endo-1/+1
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
2019-08-04add a bevy of new test casesNiko Matsakis-0/+831
2019-08-04Remove query for `.pin_type()`Taiki Endo-2/+15
2019-08-04Allow lifetime elision in `Pin<&(mut) Self>`Taiki Endo-0/+137
2019-08-03review commentsEsteban Küber-0/+0
2019-08-03Fix another caseEsteban Küber-0/+60
2019-08-03Make the parser TokenStream more resilient after mismatched delimiter recoveryEsteban Küber-0/+35
2019-07-22Rollup merge of #62792 - goodmanjonathan:beta, r=estebankPietro Albini-0/+19
2019-07-22add test caseEsteban Küber-0/+13
2019-07-22Handle errors during error recovery gracefullyEsteban Küber-0/+20
2019-07-22Raise the default recursion limit to 128Simonas Kazlauskas-28/+284
2019-07-22Blessed tests.Alexander Regueiro-0/+27
2019-07-22Added tests for issues.Alexander Regueiro-3/+23
2019-07-18Don't drop DiagnosticBuilder if parsing failsJonathan Goodman-0/+19
Beta backport of #62668. If the explicitly given type of a `self` parameter fails to parse correctly, we need to propagate the error rather than dropping it and causing an ICE.
2019-07-02fix ICE with delay-span-bugNiko Matsakis-0/+33
2019-07-02address nitsNiko Matsakis-6/+6
2019-07-02Update src/test/ui/async-await/multiple-lifetimes/ret-impl-trait-no-fg.rsNiko Matsakis-1/+1
Co-Authored-By: matthewjasper <mjjasper1@gmail.com>
2019-07-02Update src/test/ui/async-await/multiple-lifetimes/elided.rsNiko Matsakis-1/+1
Co-Authored-By: matthewjasper <mjjasper1@gmail.com>
2019-07-02Update src/test/ui/async-await/multiple-lifetimes/fn-ptr.rsNiko Matsakis-1/+1
Co-Authored-By: matthewjasper <mjjasper1@gmail.com>
2019-07-02Update src/test/ui/async-await/multiple-lifetimes/ret-impl-trait-one.rsNiko Matsakis-1/+1
Co-Authored-By: matthewjasper <mjjasper1@gmail.com>
2019-07-02introduce more tests covering `async fn` surfaceNiko Matsakis-4/+239
2019-07-02more nits + typosNiko Matsakis-2/+2
2019-07-02feature-gate member constraints outside of async-awaitNiko Matsakis-7/+42
Minimizes risk.
2019-07-02bless test outputNiko Matsakis-6/+3
2019-07-02address nits by mattewjasperNiko Matsakis-33/+0
2019-07-02account for the pick-constraint edges when reporting errorsNiko Matsakis-0/+36
Also, thread through better span info to improve the error message to something tolerable.
2019-07-02test with explicit existential typeNiko Matsakis-0/+2
2019-07-02add a preliminary existential test; not really enoughNiko Matsakis-0/+29
2019-07-02add a FIXME related to the non-free-region caseNiko Matsakis-0/+27
I don't think it would actually be harmful to just ignore such cases but I'm inclined not to take chances.
2019-07-02update the async-fn-multiple-lifetimes testNiko Matsakis-23/+4
2019-07-02fix tests and remove outdated stderr filesNiko Matsakis-54/+0
2019-07-02improve tests with migration mode, mir modeNiko Matsakis-94/+101
2019-07-02remove old error and add an explanationNiko Matsakis-49/+13
2019-07-02enforce and report pick-constraint errorsNiko Matsakis-13/+154
The error message here is not great.
2019-07-02integrate pick constraints into lexical solver more completelyNiko Matsakis-3/+0
2019-07-02add some tests, currently ICE-ingNiko Matsakis-0/+241
2019-07-01Auto merge of #62253 - Centril:rollup-115uuuq, r=Centrilbors-15/+193
Rollup of 8 pull requests Successful merges: - #62062 (Use a more efficient iteration order for forward dataflow) - #62063 (Use a more efficient iteration order for backward dataflow) - #62224 (rustdoc: remove unused derives and variants) - #62228 (Extend the #[must_use] lint to boxed types) - #62235 (Extend the `#[must_use]` lint to arrays) - #62239 (Fix a typo) - #62241 (Always parse 'async unsafe fn' + properly ban in 2015) - #62248 (before_exec actually will only get deprecated with 1.37) Failed merges: r? @ghost
2019-07-01Auto merge of #61682 - Centril:stabilize-type_alias_enum_variants, ↵bors-202/+395
r=petrochenkov Stabilize `type_alias_enum_variants` in Rust 1.37.0 Stabilize `#![feature(type_alias_enum_variants)]` which allows type-relative resolution with highest priority to `enum` variants in both expression and pattern contexts. For example, you may now write: ```rust enum Option<T> { None, Some(T), } type OptAlias<T> = Option<T>; fn work_on_alias(x: Option<u8>) -> u8 { match x { OptAlias::Some(y) => y + 1, OptAlias::None => 0, } } ``` Closes https://github.com/rust-lang/rfcs/issues/2218 Closes https://github.com/rust-lang/rust/issues/52118 r? @petrochenkov
2019-06-30Rollup merge of #62241 - Centril:fix-async-unsafe-order, r=petrochenkovMazdak Farrokhzad-13/+59
Always parse 'async unsafe fn' + properly ban in 2015 Parse `async unsafe fn` not `unsafe async fn` in implementations. We also take the opportunity to properly ban `async fn` in Rust 2015 when they are inside implementations. Closes https://github.com/rust-lang/rust/issues/62232. cc https://github.com/rust-lang/rust/pull/61319, https://github.com/rust-lang/rust/issues/62121, and https://github.com/rust-lang/rust/issues/62149. r? @petrochenkov
2019-06-30Extend #[must_use] lint to arraysvarkor-0/+91