| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-03-26 | Auto merge of #49101 - mark-i-m:stabilize_i128, r=nagisa | bors | -12/+1 | |
| Stabilize 128-bit integers :tada: cc #35118 EDIT: This should be merged only after the following have been merged: - [x] https://github.com/rust-lang-nursery/compiler-builtins/pull/236 - [x] https://github.com/rust-lang/book/pull/1230 | ||||
| 2018-03-26 | remove unneeded import | Mark Mansi | -1/+1 | |
| 2018-03-26 | Stabilize i128_type | Mark Mansi | -11/+0 | |
| 2018-03-26 | Rollup merge of #48693 - vorner:doc-name-resolution, r=petrochenkov | Tim Neumann | -3/+58 | |
| Some comments and documentation for name resolution crate Hello I'm trying to get a grasp of how the name resolution crate works, as part of helping with https://github.com/rust-lang-nursery/rustc-guide/issues/16. Not that I'd be succeeding much, but as I was reading the code, I started to put some notes into it, to help me understand. I guess I didn't get very far yet, but I'd like to share what I have, in case it might be useful for someone else. I hope these are correct (even if incomplete), but I'll be glad for a fast check in case I put something misleading there. | ||||
| 2018-03-24 | fixup! Some comments and documentation for name resolution crate | Michal 'vorner' Vaner | -7/+23 | |
| 2018-03-18 | Initial implementation of RFC 2151, Raw Identifiers | Lymia Aluysia | -1/+1 | |
| 2018-03-17 | Rename `Span::empty` to `Span::shrink_to_lo`, add `Span::shrink_to_hi` | Vadim Petrochenkov | -3/+3 | |
| 2018-03-17 | AST: Keep distinction between `path` and `::path` in imports and visibilities | Vadim Petrochenkov | -8/+11 | |
| Add the root segment for name resolution purposes only | ||||
| 2018-03-14 | Some tweaks to "type parameters from outer function" diagnostic | Esteban Küber | -12/+18 | |
| Follow up to #47574. | ||||
| 2018-03-12 | Some comments and documentation for name resolution crate | Michal 'vorner' Vaner | -3/+42 | |
| 2018-03-08 | Update "type parameters from outer function" error messages | Basile Desloges | -6/+122 | |
| 2018-03-05 | Turn features() into a query. | Michael Woerister | -3/+3 | |
| 2018-03-02 | Replace Rc with Lrc for shared data | John Kåre Alsaker | -3/+3 | |
| 2018-02-28 | Remove E0245; improve E0404 explanation | Mark Mansi | -7/+9 | |
| 2018-02-24 | Implement multiple patterns with `|` in `if let` and `while let` | Vadim Petrochenkov | -12/+24 | |
| 2018-02-23 | Auto merge of #47799 - topecongiro:fix-span-of-visibility, r=petrochenkov | bors | -5/+7 | |
| Fix span of visibility This PR 1. adds a closing parenthesis to the span of `Visibility::Crate` (e.g. `pub(crate)`). The current span only covers `pub(crate`. 2. adds a `span` field to `Visibility::Restricted`. This span covers the entire visibility expression (e.g. `pub (in self)`). Currently all we can have is a span for `Path`. This PR is motivated by the bug found in rustfmt (https://github.com/rust-lang-nursery/rustfmt/issues/2398). The first change is a strict improvement IMHO. The second change may not be desirable, as it adds a field which is currently not used by the compiler. | ||||
| 2018-02-20 | stage0 cfg cleanup | Mark Simulacrum | -1/+0 | |
| 2018-02-17 | fix more typos found by codespell. | Matthias Krüger | -1/+1 | |
| 2018-02-18 | Change ast::Visibility to Spanned type | Seiichi Uchida | -5/+7 | |
| 2018-02-18 | Add a span field to Visibility::Restricted | Seiichi Uchida | -1/+1 | |
| This span covers the whole visibility expression: e.g. `pub (in path)`. | ||||
| 2018-01-28 | use correct casing for rename suggestions | Andy Russell | -3/+9 | |
| If the original name is uppercase, use camel case. Otherwise, use snake case. | ||||
| 2018-01-28 | Auto merge of #47767 - estebank:as-suggestion, r=petrochenkov | bors | -3/+9 | |
| Correctly format `extern crate` conflict resolution help Closes #45799. Follow up to @Cldfire's #45820. If the `extern` statement that will have a suggestion ends on a `;`, synthesize a new span that doesn't include it. | ||||
| 2018-01-27 | end_point handling multibyte characters correctly. | David Wood | -2/+2 | |
| 2018-01-26 | Instead of modifying the item's span synthesize it | Esteban Küber | -1/+7 | |
| 2018-01-25 | Correctly format `extern crate` conflict resolution help | Cldfire | -2/+2 | |
| 2018-01-25 | Rollup merge of #47705 - pietroalbini:fix-47673, r=petrochenkov | Alex Crichton | -5/+5 | |
| Fix ICE when use trees have multiple empty nested groups The issue was caused by an oversight of mine in the original use_nested_groups PR, where different paths were resolved with the same `NodeId` in some cases (such as in `use {{}, {}};`). Fixes #47673 r? @petrochenkov | ||||
| 2018-01-25 | Rollup merge of #47502 - petrochenkov:label, r=eddyb | Alex Crichton | -7/+7 | |
| AST/HIR: Add a separate structure for labels | ||||
| 2018-01-24 | Fix ICE when use trees have multiple empty nested groups | Pietro Albini | -5/+5 | |
| 2018-01-22 | AST/HIR: Add a separate structure for labels | Vadim Petrochenkov | -7/+7 | |
| 2018-01-22 | Review fixes | Manish Goregaokar | -2/+2 | |
| 2018-01-22 | Store a list of local macros on the resolver; use for resolving intra-doc ↵ | Manish Goregaokar | -0/+2 | |
| macro links | ||||
| 2018-01-22 | Fix tidy | Manish Goregaokar | -1/+2 | |
| 2018-01-22 | Handle relative paths | Manish Goregaokar | -28/+36 | |
| 2018-01-22 | Make resolve_hir_path and resolve_str_path fallible | Manish Goregaokar | -10/+60 | |
| 2018-01-21 | Rollup merge of #47512 - GuillaumeGomez:e0659, r=petrochenkov | Guillaume Gomez | -1/+1 | |
| Add E0659 for ambiguous names Still on the tracks of the "no error without error code" road. | ||||
| 2018-01-21 | Auto merge of #47116 - estebank:non-accessible-ctor, r=petrochenkov | bors | -18/+30 | |
| Tweaks to invalid ctor messages - Do not suggest using a constructor that isn't accessible - Suggest the appropriate syntax (`()`/`{}` as appropriate) - Add note when trying to use `Self` as a ctor CC #22488, fix #47085. | ||||
| 2018-01-20 | Fix tests by keepeing needed suggestions | Esteban Küber | -1/+9 | |
| 2018-01-18 | in which the unused-parens lint comes to cover function and method args | Zack M. Davis | -1/+1 | |
| Resolves #46137. | ||||
| 2018-01-18 | Add E0659 for ambiguous names | Guillaume Gomez | -1/+1 | |
| 2018-01-18 | Rollup merge of #47498 - dominikWin:missing-module-name, r=petrochenkov | kennytm | -4/+4 | |
| Make non-found module name optional No longer uses a magic string for missing or root module. | ||||
| 2018-01-16 | Make non-found module name optional | Dominik Winecki | -4/+4 | |
| No longer uses a magic string for missing or root module. | ||||
| 2018-01-15 | Review comments: remove enum suggestion | Esteban Küber | -25/+3 | |
| 2018-01-15 | Further tweaks to the output | Esteban Küber | -19/+16 | |
| - Properly address Variant Ctors - Show signature if span of trait method without `self` is not available | ||||
| 2018-01-15 | Reexport -> re-export in error messages | Carol (Nichols || Goulding) | -1/+1 | |
| 2018-01-15 | address review comments | Esteban Küber | -13/+10 | |
| 2018-01-15 | Add note when trying to use `Self` as a ctor | Esteban Küber | -1/+5 | |
| 2018-01-15 | Readd suggestion in enum variants with incorrect args | Esteban Küber | -0/+12 | |
| 2018-01-15 | Suggest the correct syntax for different struct types | Esteban Küber | -12/+22 | |
| 2018-01-15 | Hide suggestion to use struct ctor when it is not visible | Esteban Küber | -5/+11 | |
| 2018-01-13 | Remove `impl Foo for ..` in favor of `auto trait Foo` | leonardo.yvens | -6/+0 | |
| No longer parse it. Remove AutoTrait variant from AST and HIR. Remove backwards compatibility lint. Remove coherence checks, they make no sense for the new syntax. Remove from rustdoc. | ||||
