- 04 3月, 2022 1 次提交
-
-
由 est31 提交于
-
- 28 2月, 2022 1 次提交
-
-
由 Camille GILLOT 提交于
-
- 16 12月, 2021 1 次提交
-
-
由 Jacob Hoffman-Andrews 提交于
These are currently documented at https://rustc-dev-guide.rust-lang.org/rustdoc-internals.html#hot-potato but can easily go out of date. We'd like to document them in place and link to https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc/passes/index.html
-
- 01 11月, 2021 1 次提交
-
-
由 Noah Lev 提交于
Many of `DocFolder`'s impls didn't actually transform the syntax tree, so they can be visitors instead.
-
- 25 10月, 2021 1 次提交
-
-
由 Guillaume Gomez 提交于
-
- 27 9月, 2021 2 次提交
-
-
由 Joshua Nelson 提交于
Previously it would unconditionally use edition 2015, which was incorrect.
-
由 Joshua Nelson 提交于
Previously, only the raw string and the `is_ignore` field were preserved, which made it hard to recover anything else.
-
- 12 8月, 2021 1 次提交
-
-
由 Esteban Kuber 提交于
Use more accurate suggestion spans for * argument parse error * fully qualified path * missing code block type * numeric casts * E0212
-
- 06 7月, 2021 1 次提交
-
-
由 Justus K 提交于
-
- 18 5月, 2021 5 次提交
-
-
由 Joshua Nelson 提交于
-
由 Joshua Nelson 提交于
- Simplify boolean expression - Give an example of invalid syntax - Remove explanation of why code block is text
-
由 Joshua Nelson 提交于
-
由 Joshua Nelson 提交于
This also gives a better error message when a span is missing.
-
由 Alexis Bourget 提交于
This adds a new lint to `rustc` that is used in rustdoc when a code block is empty or cannot be parsed as valid Rust code. Previously this was unconditionally a warning. As such some documentation comments were (unknowingly) abusing this to pass despite the `-Dwarnings` used when compiling `rustc`, this should not be the case anymore.
-
- 05 5月, 2021 1 次提交
-
-
由 Justus K 提交于
-
- 25 4月, 2021 1 次提交
-
-
由 Joshua Nelson 提交于
-
- 22 3月, 2021 2 次提交
-
-
由 Camelid 提交于
Otherwise you get a lot of instances of `item.span.span()`, which is just plain confusing. `item.span.inner()` conveys the correct meaning of "get the type that `clean::Span` wraps".
-
由 Camelid 提交于
Its type is called `clean::Span`, and also the name in the rest of rustdoc and rustc for this kind of field is `span`.
-
- 05 3月, 2021 1 次提交
-
-
由 Joshua Nelson 提交于
This is needed for the next commit, which needs access to the `cx` from within the `decorate` closure. - Change `as_local_hir_id` to an associated function, since it only needs a `TyCtxt` - Change `source_span_for_markdown_range` to only take a `TyCtxt`
-
- 17 2月, 2021 1 次提交
-
-
由 Joshua Nelson 提交于
This should hopefully allow for less interior mutability.
-
- 22 1月, 2021 1 次提交
-
-
由 Joshua Nelson 提交于
-
- 01 1月, 2021 1 次提交
-
-
由 Guillaume Gomez 提交于
-
- 23 11月, 2020 1 次提交
-
-
由 Joshua Nelson 提交于
This gets rid of a bunch of `unwrap()`s and makes it a little more clear what's going on. Originally I wanted to make `fold_item` non-nullable too, which would have been a lot nicer to work with, but unfortunately `stripper` does actually return `None` in some places. I might make a follow-up moving stripper to be special and not a pass so that passes can be non-nullable.
-
- 16 11月, 2020 1 次提交
-
-
由 Joshua Nelson 提交于
This gives warnings about dead code.
-
- 31 8月, 2020 1 次提交
-
-
由 Aleksey Kladov 提交于
`parse_stream_from_source_str` is a more stable API to convert a string into a bunch of tokens, and it also catches errors about mismatched parenthesis.
-
- 23 4月, 2020 1 次提交
-
-
由 Guillaume Gomez 提交于
-
- 01 3月, 2020 1 次提交
-
-
由 Vadim Petrochenkov 提交于
-
- 22 2月, 2020 1 次提交
-
-
由 Maxim Zholobak 提交于
-
- 02 2月, 2020 1 次提交
-
-
由 Mazdak Farrokhzad 提交于
2. invert rustc_session & syntax deps 3. drop rustc_session dep in rustc_hir
-
- 18 1月, 2020 1 次提交
-
-
由 Oliver Middleton 提交于
For some errors the lexer will unwind so we need to handle that in addition to handling `token::Unknown`.
-
- 10 1月, 2020 1 次提交
-
-
由 Mazdak Farrokhzad 提交于
-
- 05 1月, 2020 2 次提交
-
-
由 Andy Russell 提交于
-
由 David Tolnay 提交于
I believe rustdoc should not be conflating private items (visibility lower than `pub`) and hidden items (attribute `doc(hidden)`). This matters now that Cargo is passing --document-private-items by default for bin crates. In bin crates that rely on macros, intentionally hidden implementation details of the macros can overwhelm the actual useful internal API that one would want to document. This PR restores the strip-hidden pass when documenting private items, and introduces a separate unstable --document-hidden-items option to skip the strip-hidden pass. The two options are orthogonal to one another.
-
- 02 1月, 2020 1 次提交
-
-
由 Mazdak Farrokhzad 提交于
-
- 01 1月, 2020 1 次提交
-
-
由 Vadim Petrochenkov 提交于
-
- 23 12月, 2019 1 次提交
-
-
由 Mark Rousskov 提交于
-
- 21 11月, 2019 1 次提交
-
-
由 Mark Rousskov 提交于
The previous commit removes the use of this, and now we cleanup.
-
- 10 11月, 2019 2 次提交
-
-
由 Mazdak Farrokhzad 提交于
also move MACRO_ARGUMENTS -> librustc_parse
-
由 Mazdak Farrokhzad 提交于
-
- 07 11月, 2019 1 次提交
-
-
由 Mazdak Farrokhzad 提交于
-