| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-05-16 | Test that label break value only works on actual blocks | est31 | -0/+60 | |
| 2018-05-16 | Add E0696 for continue pointing to a labeled block | est31 | -2/+81 | |
| 2018-05-16 | Extend error E0695 to unlabeled continue statements | est31 | -9/+17 | |
| 2018-05-16 | Add E0695 for unlabeled breaks | est31 | -0/+87 | |
| 2018-05-16 | Make the compiler support the label-break-value feature | est31 | -13/+32 | |
| No error checking or feature gating yet | ||||
| 2018-05-16 | Add a file with test cases | est31 | -0/+121 | |
| 2018-05-16 | label-break-value: Parsing and AST/HIR changes | est31 | -39/+77 | |
| 2018-05-16 | Auto merge of #48557 - matthewjasper:allow-trvial-bounds, r=nikomatsakis | bors | -65/+1084 | |
| Implement RFC 2056 trivial constraints in where clauses This is an implementation of the new behaviour for #48214. Tests are mostly updated to show the effects of this. Feature gate hasn't been added yet. Some things that are worth noting and are maybe not want we want * `&mut T: Copy` doesn't allow as much as someone might expect because there is often an implicit reborrow. * ~There isn't a check that a where clause is well-formed any more, so `where Vec<str>: Debug` is now allowed (without a `str: Sized` bound).~ r? @nikomatsakis | ||||
| 2018-05-16 | Auto merge of #50795 - nrc:update, r=oli-obk | bors | -121/+69 | |
| Update RLS and Rustfmt Fixes RLS tests r? @alexcrichton | ||||
| 2018-05-16 | Auto merge of #50750 - est31:master, r=eddyb | bors | -127/+48 | |
| Remove ScopeTarget and LoopIdResult * Remove ScopeTarget in preparation of label-break-value (PR #50045) * Replace LoopIdResult by Result which is possible now thanks to commit 8ac65af81f5f9cf6c5e2c2306705b50eed77cfb5 " Implement Encodable and Decodable for Result." r? @eddyb | ||||
| 2018-05-16 | Update RLS and Rustfmt | Nick Cameron | -121/+69 | |
| 2018-05-16 | Auto merge of #50541 - QuietMisdreavus:rustdoc-errors, r=GuillaumeGomez | bors | -122/+144 | |
| rustdoc: replace most (e)println! statements with structured warnings/errors Turns out, the rustc diagnostic handler doesn't need a whole lot of setup that we weren't already doing. For errors that occur outside a "dealing with source code" context, we can just use the format/color config we were already parsing and make up a `Handler` that we can emit structured warnings/errors from. So i did that. This will make it way easier to test things with `rustdoc-ui` tests, since those require the JSON error output. (In fact, this PR is a yak shave for a different one where i was trying to do just that. `>_>`) | ||||
| 2018-05-15 | Auto merge of #48523 - varkor:generics-ty-generalisations, r=nikomatsakis | bors | -806/+966 | |
| The Great Generics Generalisation: Ty Edition Part of the generic parameter refactoring effort, split off from https://github.com/rust-lang/rust/pull/48149. Contains the `ty`-relative refactoring. r? @eddyb | ||||
| 2018-05-15 | Make is_global true for latebound regions | Matthew Jasper | -17/+28 | |
| 2018-05-15 | Auto merge of #50767 - oli-obk:rls_clippy, r=kennytm | bors | -9/+0 | |
| Don't inject clippy into the rls anymore r? @kennytm sorry about breaking nightlies. The issue is that the `[patch.crates-io]` doesn't work if the versions differ. So every time we update clippy, we can only update it to the verison that rls is depending on. I'm disabling the injection of clippy into rls for now. I'm not sure how to do this properly. We could * add a version check, so rls only builds clippy if its dependency clippy is the same as the submodule clippy * do something crazy like auto-patching the Cargo.toml of the rls tool repo to just use a path dependency on clippy * build crates-io clippy instead of submodule clippy and gate clippy injection on that * that's somewhat automatic, and is essentially what is necessary right now, but done manually * make clippy 0.1.* instead of 0.0.* and update patch versions for nightly updates and minor version updates for `clippy_lints` api changes. * not sure how semver-great this is | ||||
| 2018-05-15 | One must always remember to clean up after themselves | varkor | -5/+6 | |
| 2018-05-15 | Pattern match on Ok instead of Some of .ok() retval | est31 | -1/+1 | |
| 2018-05-15 | Remove LoopIdResult | est31 | -64/+19 | |
| It's redundant as Result already implements Encodable as well as Decodable. | ||||
| 2018-05-15 | Remove hir::ScopeTarget | est31 | -85/+51 | |
| When we want to implement label-break-value, we can't really decide whether to emit ScopeTarget::Loop or ScopeTarget::Block in the code that is supposed to create it. So we get rid of it and reconstruct the information when needed. | ||||
| 2018-05-15 | Collapse Substs::identity_for_item in collect | varkor | -3/+1 | |
| 2018-05-15 | Clean up dropck_outlives PhantomData handling | varkor | -7/+4 | |
| 2018-05-15 | Add mk_param_from_def | varkor | -37/+24 | |
| 2018-05-15 | Use Kind instead of UnpackedKind in Substs methods | varkor | -94/+75 | |
| 2018-05-15 | Clean up shared subst code | varkor | -144/+101 | |
| 2018-05-15 | Refactor Substs methods on generic parameters | varkor | -306/+393 | |
| 2018-05-15 | Clean up generic param handling | varkor | -22/+35 | |
| 2018-05-15 | Update bad-annotation error message | varkor | -2/+2 | |
| 2018-05-15 | Refactoring generic counting loops | varkor | -67/+71 | |
| 2018-05-15 | Review refactoring | varkor | -52/+48 | |
| 2018-05-15 | Rename param_counts to own_counts | varkor | -35/+35 | |
| 2018-05-15 | Remove GenericParamDef::to_type | varkor | -23/+34 | |
| 2018-05-15 | Lift pure_wrt_drop to GenericParamDef | varkor | -60/+40 | |
| 2018-05-15 | Refactor generic params loops | varkor | -165/+95 | |
| 2018-05-15 | Fix rebase fallout | varkor | -4/+10 | |
| 2018-05-15 | Rename RegionParamDef to LifetimeParamDef | varkor | -5/+5 | |
| 2018-05-15 | Pull common parameters into GenericParamDef | varkor | -266/+263 | |
| This leads to a lot of simplifications, as most code doesn't actually need to know about the specific lifetime/type data; rather, it's concerned with properties like name, index and def_id. | ||||
| 2018-05-15 | Inline get_type | varkor | -40/+63 | |
| 2018-05-15 | Fix typo in late-bound region testing message | varkor | -1/+1 | |
| 2018-05-15 | Refactor to address comments | varkor | -75/+60 | |
| 2018-05-15 | Replace type_param_to_index with param_def_id_to_index | varkor | -14/+19 | |
| 2018-05-15 | Use GenericParamCount instead of FxHashMap | varkor | -89/+81 | |
| 2018-05-15 | Place Self at the start of ty::Generics' param lists | varkor | -17/+16 | |
| 2018-05-15 | Correct variable renaming fallout | varkor | -6/+6 | |
| 2018-05-15 | Eliminate ty::Generics::types() | varkor | -36/+52 | |
| And with one final incanation, the specific kind iterators were banished from ty::Generics, never to be seen again! | ||||
| 2018-05-15 | Eliminate ty::Generics::lifetimes() | varkor | -30/+37 | |
| Begone lazy lifetime code! | ||||
| 2018-05-15 | Generalise more cases of explicit iteration of specific kinds | varkor | -71/+110 | |
| 2018-05-15 | Generalise cases of explicit iteration of specific kinds | varkor | -119/+210 | |
| 2018-05-15 | Fix tidy errors caused by renaming | varkor | -10/+26 | |
| 2018-05-15 | Rename TypeParameterDef -> TypeParamDef and RegionParameterDef -> RegionParamDef | varkor | -49/+49 | |
| 2018-05-15 | Rename GenericParam to GenericParamDef | varkor | -38/+38 | |
