| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-03-09 | Fix null synthetic_implementors error | Guillaume Gomez | -14/+16 | |
| 2020-01-22 | Auto merge of #68192 - GuillaumeGomez:remove-inlined-types, r=kinnison | bors | -25/+50 | |
| Remove usage of global variable "inlined_types" r? @pietroalbini | ||||
| 2020-01-21 | Rollup merge of #68140 - ecstatic-morse:const-trait-bound-opt-out, r=oli-obk | Mazdak Farrokhzad | -0/+1 | |
| Implement `?const` opt-out for trait bounds For now, such bounds are treated exactly the same as unprefixed ones in all contexts. [RFC 2632](https://github.com/rust-lang/rfcs/pull/2632) does not specify whether such bounds are forbidden outside of `const` contexts, so they are allowed at the moment. Prior to this PR, the constness of a trait bound/impl was stored in `TraitRef`. Now, the constness of an `impl` is stored in `ast::ItemKind::Impl` and the constness of a bound in `ast::TraitBoundModifer`. Additionally, constness of trait bounds is now stored in an additional field of `ty::Predicate::Trait`, and the combination of the constness of the item along with any `TraitBoundModifier` determines the constness of the bound in accordance with the RFC. Encoding the constness of impls at the `ty` level is left for a later PR. After a discussion in \#wg-grammar on Discord, it was decided that the grammar should not encode the mutual exclusivity of trait bound modifiers. The grammar for trait bound modifiers remains `[?const] [?]`. To encode this, I add a dummy variant to `ast::TraitBoundModifier` that is used when the syntax `?const ?` appears. This variant causes an error in AST validation and disappears during HIR lowering. cc #67794 r? @oli-obk | ||||
| 2020-01-20 | rustdoc: Correct order of `async` and `unsafe` in `async unsafe fn`s | Oliver Middleton | -5/+5 | |
| 2020-01-20 | Remove usage of global variable "inlined_types" | Guillaume Gomez | -25/+50 | |
| 2020-01-20 | Add `MaybeConst` variant to `{ast,hir}::TraitBoundModifier` | Dylan MacKenzie | -0/+1 | |
| 2020-01-20 | Rollup merge of #68326 - ollie27:rustdoc_hightlight_fatal_errors, ↵ | Dylan DPC | -2/+3 | |
| r=GuillaumeGomez rustdoc: Catch fatal errors when syntax highlighting For some errors the lexer will unwind so we need to handle that in addition to handling `token::Unknown`. Fixes #56885 r? @GuillaumeGomez | ||||
| 2020-01-18 | Rollup merge of #68224 - GuillaumeGomez:prevent-urls-in-headings, r=ollie27 | Mazdak Farrokhzad | -2/+5 | |
| Prevent urls in headings Fixes #68215. cc @pietroalbini @ollie27 r? @kinnison | ||||
| 2020-01-17 | Rollup merge of #68093 - GuillaumeGomez:fix-deref-impl-typedef, r=oli-obk | Tyler Mandry | -14/+20 | |
| Fix deref impl typedef Fixes #35295. r? @kinnison | ||||
| 2020-01-17 | rustdoc: Catch fatal errors when syntax highlighting | Oliver Middleton | -2/+3 | |
| For some errors the lexer will unwind so we need to handle that in addition to handling `token::Unknown`. | ||||
| 2020-01-16 | Rollup merge of #68263 - ollie27:rustdoc_invalid_syntax_highlight_escape, ↵ | Dylan DPC | -1/+1 | |
| r=GuillaumeGomez rustdoc: HTML escape codeblocks which fail syntax highlighting r? @GuillaumeGomez | ||||
| 2020-01-16 | Don't keep link title either, text is generated outside of the link tag | Guillaume Gomez | -2/+1 | |
| 2020-01-15 | rustdoc: HTML escape codeblocks which fail syntax highlighting | Oliver Middleton | -1/+1 | |
| 2020-01-15 | Fix rendering on sidebar and update tests | Guillaume Gomez | -4/+4 | |
| 2020-01-15 | Simplify deref impls for type aliases | Guillaume Gomez | -37/+26 | |
| 2020-01-15 | Include type alias implementations | Guillaume Gomez | -21/+32 | |
| 2020-01-15 | remove unneeded code from cache.rs | Guillaume Gomez | -14/+6 | |
| 2020-01-15 | formatting | Guillaume Gomez | -28/+23 | |
| 2020-01-15 | Fix deref impl on type alias | Guillaume Gomez | -24/+43 | |
| 2020-01-14 | Prevent urls in headings | Guillaume Gomez | -2/+6 | |
| 2020-01-14 | Rollup merge of #68166 - ollie27:rustdoc_help_escape, r=GuillaumeGomez | Yuki Okushi | -2/+2 | |
| rustdoc: HTML escape arrows on help popup r? @GuillaumeGomez | ||||
| 2020-01-13 | Rollup merge of #67959 - liigo:patch-13, r=GuillaumeGomez | Yuki Okushi | -4/+8 | |
| rustdoc: improve stability mark arrows ### current  ### new  ### new dark  | ||||
| 2020-01-12 | rustdoc: HTML escape arrows on help popup | Oliver Middleton | -2/+2 | |
| 2020-01-10 | nix syntax::errors & prefer rustc_errors over errors | Mazdak Farrokhzad | -3/+2 | |
| 2020-01-09 | rustdoc: use another stability mark arrow, no rotate. | Liigo Zhuang | -3/+2 | |
| 2020-01-09 | rustdoc: improve stability mark arrows | Liigo Zhuang | -4/+9 | |
| 2020-01-07 | Rollup merge of #67908 - ollie27:rustdoc_const_html_escape, r=GuillaumeGomez | Yuki Okushi | -5/+16 | |
| rustdoc: HTML escape const values r? @GuillaumeGomez | ||||
| 2020-01-06 | Auto merge of #67886 - Centril:rustc_hir_canon_imports, r=nagisa | bors | -5/+6 | |
| Nix `rustc_hir` reexports in rustc::hir r? @Zoxc cc @Mark-Simulacrum | ||||
| 2020-01-05 | rustdoc: HTML escape const values | Oliver Middleton | -5/+16 | |
| 2020-01-05 | Use `as_deref()` to replace `as_ref().map(...)` | Ivan Tham | -3/+3 | |
| Suggested by @lzutao | ||||
| 2020-01-05 | Remove rustc_hir reexports in rustc::hir. | Mazdak Farrokhzad | -5/+6 | |
| 2020-01-04 | canonicalize FxHash{Map,Set} imports | Mazdak Farrokhzad | -2/+2 | |
| 2020-01-02 | Normalize `syntax::edition` imports. | Mazdak Farrokhzad | -5/+5 | |
| 2020-01-02 | Normalize `syntax::symbol` imports. | Mazdak Farrokhzad | -3/+3 | |
| 2020-01-02 | Normalize `syntax::source_map` imports. | Mazdak Farrokhzad | -4/+4 | |
| 2020-01-01 | Rename `syntax_pos` to `rustc_span` in source code | Vadim Petrochenkov | -3/+3 | |
| 2019-12-24 | Deprecate Error::description for real | David Tolnay | -5/+1 | |
| `description` has been documented as soft-deprecated since 1.27.0 (17 months ago). There is no longer any reason to call it or implement it. This commit: - adds #[rustc_deprecated(since = "1.41.0")] to Error::description; - moves description (and cause, which is also deprecated) below the source and backtrace methods in the Error trait; - reduces documentation of description and cause to take up much less vertical real estate in rustdocs, while preserving the example that shows how to render errors without needing to call description; - removes the description function of all *currently unstable* Error impls in the standard library; - marks #[allow(deprecated)] the description function of all *stable* Error impls in the standard library; - replaces miscellaneous uses of description in example code and the compiler. | ||||
| 2019-12-24 | x.py fmt after previous deignore | Mark Rousskov | -71/+162 | |
| 2019-12-24 | Show value for consts in the documentation | Ohad Ravid | -2/+24 | |
| 2019-12-23 | Rollup merge of #67527 - GuillaumeGomez:results-show-too-much, r=kinnison | Mazdak Farrokhzad | -46/+45 | |
| Results show too much Fixes #67461. To reproduce the current issue: search anything, then once the results appears, press escape. They should disappear then re-appear right away. This is because blurring an element triggers the "change" event. r? @kinnison | ||||
| 2019-12-22 | Format the world | Mark Rousskov | -2018/+2425 | |
| 2019-12-22 | Fix invalid results showing back | Guillaume Gomez | -0/+4 | |
| 2019-12-22 | Improve code readability | Guillaume Gomez | -43/+37 | |
| 2019-12-22 | Improve JS code a bit by avoid erasing all event handlers | Guillaume Gomez | -4/+5 | |
| 2019-12-22 | Implement PrintWithSpace trait on hir::Mutability | Guillaume Gomez | -12/+12 | |
| 2019-12-21 | Remove clean::Mutability enum | Guillaume Gomez | -2/+2 | |
| 2019-12-16 | Rollup merge of #67336 - GuillaumeGomez:fix-js-error, r=Dylan-DPC | Mazdak Farrokhzad | -1/+1 | |
| Fix JS error when loading page with search For example when you load this page: https://doc.rust-lang.org/nightly/std/num/struct.NonZeroI8.html?search=foo, you get a nice JS error: ``` TypeError: ev is undefined ``` r? @kinnison | ||||
| 2019-12-15 | Fix JS error when loading page with search | Guillaume Gomez | -1/+1 | |
| 2019-12-12 | replace serialize with serde in rustdoc | Andy Russell | -68/+121 | |
| 2019-12-08 | Sort auto trait and blanket implementations display | Guillaume Gomez | -6/+28 | |
