| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-03-15 | rustdoc-json: Lifetime tests | Nixon Enraght-Moony | -0/+56 | |
| 2022-03-15 | rustdoc-json: Add tests for generic fn args and returns | Nixon Enraght-Moony | -0/+68 | |
| 2022-03-15 | rustdoc-json: Add test for supertraits | Nixon Enraght-Moony | -0/+26 | |
| 2022-03-14 | rustdoc-json-types: implementors -> implementations | Nixon Enraght-Moony | -0/+19 | |
| Closes #94198 | ||||
| 2022-03-13 | rustdoc-json-types: ty -> type_ | Nixon Enraght-Moony | -2/+4 | |
| Fixes #94889 | ||||
| 2022-03-04 | rustdoc-json: Make the `fns/generics.rs` test much more robust | Nixon Enraght-Moony | -4/+25 | |
| 2022-03-04 | rustdoc-json: Include GenericParamDefKind::Type::synthetic in JSON | Martin Nordholts | -0/+5 | |
| The rustdoc JSON for ``` pub fn f(_: impl Clone) {} ``` will effectively be ``` pub fn f<impl Clone: Clone>(_: impl Clone) ``` where a synthetic generic parameter called `impl Clone` with generic trait bound `Clone` is added to the function declaration. The generated HTML filters out these generic parameters by doing `self.params.iter().filter(|p| !p.is_synthetic_type_param())`, because the synthetic generic parameter is not of interest to regular users. For the same reason, we should expose whether or not a generic parameter is synthetic or not also in the rustdoc JSON, so that rustdoc JSON clients can also have the option to hide synthetic generic parameters. | ||||
| 2022-03-03 | add tests | Michael Goulet | -0/+42 | |
| 2022-02-18 | rustdoc-json: Add tests for fn qualifiers and ABI | Nixon Enraght-Moony | -78/+184 | |
| 2022-02-09 | rustdoc-json: Add some tests for `typealias` item | Nixon Enraght-Moony | -0/+82 | |
| 2022-01-22 | Add has tests for blanket_with_local trait methods | Rune Tynan | -0/+2 | |
| 2022-01-21 | Update test to include `self` case | Rune Tynan | -0/+2 | |
| 2022-01-20 | Rollup merge of #93094 - Enselic:check-for-enum-tuple-struct-fields, ↵ | Matthias Krüger | -2/+4 | |
| r=CraftSpider src/test/rustdoc-json: Check for `struct_field`s in `variant_tuple_struct.rs` The presence of `struct_field`s is being checked for already in `variant_struct.rs`. We should also check for them in `variant_tuple_struct.rs`. This PR is one small step towards resolving #92945. | ||||
| 2022-01-19 | src/test/rustdoc-json: Check for `struct_field`s in `variant_tuple_struct.rs` | Martin Nordholts | -2/+4 | |
| The presence of `struct_field`s is being checked for already in `variant_struct.rs`. We should also check for them in `variant_tuple_struct.rs`. | ||||
| 2022-01-13 | Fix typo in test | Rune Tynan | -1/+1 | |
| 2022-01-13 | Fix errors on blanket impls by ignoring the children of their generated ↵ | Rune Tynan | -0/+14 | |
| implementations | ||||
| 2021-11-24 | Create rustdoc_internals feature gate | Guillaume Gomez | -1/+1 | |
| 2021-10-14 | Add regression test for #89852 | Loïc BRANSTETT | -0/+17 | |
| 2021-10-08 | Remove special-casing of never primitive in rustdoc-json-types | Loïc BRANSTETT | -0/+22 | |
| 2021-10-04 | Rollup merge of #88234 - hkmatsumoto:rustdoc-impls-for-primitive, r=jyn514 | Manish Goregaokar | -0/+14 | |
| rustdoc-json: Don't ignore impls for primitive types Fix the issue discussed at [Zulip](https://rust-lang.zulipchat.com/#narrow/stream/266220-rustdoc/topic/.E2.9C.94.20Json.20output.20lacks.20some.20item.20which.20are.20supposed.20to.20be.20there) r? ``@jyn514`` | ||||
| 2021-09-29 | Don't ignore impls for primitive types | Hirochika Matsumoto | -0/+14 | |
| 2021-09-26 | Fix populate of union.impls | Loïc BRANSTETT | -0/+15 | |
| 2021-09-02 | rustdoc: Clean up handling of lifetime bounds | Noah Lev | -1/+1 | |
| Previously, rustdoc recorded lifetime bounds by rendering them into the name of the lifetime parameter. Now, it leaves the name as the actual name and instead records lifetime bounds in an `outlives` list, similar to how type parameter bounds are recorded. | ||||
| 2021-08-29 | Add rustdonc-json tests for enum variants | Guillaume Gomez | -0/+17 | |
| 2021-03-24 | Rename `span` to `source` | Nixon Enraght-Moony | -4/+4 | |
| Caused by https://github.com/rust-lang/rust/commit/b0659f9b1bfb92626c40dabceb3268f88bb26224#diff-ede26372490522288745c5b3df2b6b2a1cc913dcd09b29af3a49935afe00c7e6L464-R464 | ||||
| 2021-03-24 | Don't call `item` on modules for json renderer | Nixon Enraght-Moony | -0/+49 | |
| Closes #80664 | ||||
| 2021-03-21 | Update tests | Camelid | -2/+2 | |
| These tests were added to master after I made my changes. | ||||
| 2021-03-21 | rustdoc-json: Rename `Import.span` to `Import.source` | Camelid | -2/+2 | |
| * It is called `source` in rustc and the rest of rustdoc * It is not a span, rather it is the source of the import | ||||
| 2021-03-12 | Rollup merge of #82571 - aDotInTheVoid:reexport-tests, r=CraftSpider | Yuki Okushi | -0/+92 | |
| Rustdoc Json: Add tests for Reexports, and improve jsondocck The two changes are orthognal, so you can land just one if you want, but the improved errors realy helped write the tests. Notably does not have the case from #80664, but I want to have all the ajacent cases tested before starting work on that to ensure I dont break anything. Improves #81359 cc ```@CraftSpider``` r? ```@jyn514``` ```@rustbot``` modify labels: +A-testsuite +T-rustdoc +A-rustdoc-json | ||||
| 2021-03-10 | Add reexport tests | Nixon Enraght-Moony | -0/+92 | |
| 2021-03-01 | Remove `krate.version`; fix `crate_version` in JSON | Joshua Nelson | -1/+3 | |
| Previously, `JsonRenderer::after_krate` called `krate.version.clone()`. The problem was it did that after the version was already moved into the cache, so it would always be None. The fix was to get the version from the cache instead. | ||||
| 2021-02-20 | Implement using @set values | Nixon Enraght-Moony | -1/+2 | |
| 2021-02-20 | Implement @set | Nixon Enraght-Moony | -0/+3 | |
| 2021-02-20 | Add @is command to jsondocck | Nixon Enraght-Moony | -10/+10 | |
| 2021-02-08 | Add comment + move derive helper | Rune Tynan | -0/+4 | |
| 2021-02-08 | Make `header` a vec of modifiers, make FunctionPointer consistent with ↵ | Rune Tynan | -0/+49 | |
| Function and Method. | ||||
| 2021-02-05 | Add abi field to `Method` | Rune Tynan | -0/+25 | |
| 2021-02-05 | Rollup merge of #81500 - CraftSpider:union-kind, r=jyn514 | Mara Bos | -0/+7 | |
| Remove struct_type from union output Also bumps the format number and adds a test Rationale: It's illegal to have unions of the form `union Union(i32, f32);`, or `union Union;`. The struct_type field was recently removed from the rustdoc Union AST, at which time this field was changed to always just read "union". It makes sense to completely remove it, as it provides no information. | ||||
| 2021-01-28 | Remove struct_type from union output and bump format | Rune Tynan | -0/+7 | |
| 2021-01-28 | Remove leading newline | Rune Tynan | -1/+0 | |
| 2021-01-28 | Fix has_body for trait methods | Rune Tynan | -0/+22 | |
| 2021-01-19 | Address review v2 | Rune Tynan | -46/+40 | |
| 2021-01-19 | Add jsondocck tool, and use it for rustdoc JSON | Rune Tynan | -988/+63 | |
| 2021-01-15 | Add warning to compare.py about error messages | Rune Tynan | -0/+3 | |
| 2021-01-15 | Fix JSON test | Rune Tynan | -2/+2 | |
| 2020-12-05 | Use true ID for def_id. | Nixon Enraght-Moony | -0/+203 | |
| 2020-12-02 | Normalize windows path seperators. | Nixon Enraght-Moony | -3/+6 | |
| 2020-12-01 | Address review comments. | Nixon Enraght-Moony | -46/+23 | |
| Go back to CRATE_DEF_INDEX Minor niceness improvements Don't output hidden items Remove striped items from fields Add $TEST_BASE_DIR Small catch | ||||
| 2020-12-01 | Add tests for rustdoc json | Nixon Enraght-Moony | -0/+809 | |
| Move rustdoc/rustdoc-json to rustdoc-json Scaffold rustdoc-json test mode Implement run_rustdoc_json_test Fix up python Make tidy happy | ||||
