about summary refs log tree commit diff
path: root/src/test/ui/rustdoc
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-520/+0
2022-10-01bless ui testsMaybe Waffle-5/+5
2022-08-02Add items to `DocAliasBadLocation` check error match armhdelc-1/+1
- Added `Impl`, `Closure`, ForeignMod` targets - `Target::name` changed for `Target::Impl` - Error output for `Target::ForeignMod` changed to "foreign module"
2022-08-01Prevent ICE for doc_alias on match arm, statement, expressionhdelc-2/+26
2022-07-15passes: migrate half of `check_attr`David Wood-4/+4
Migrate half of the `rustc_passes::check_attr` diagnostics to using diagnostic derives and being translatable.
2022-06-04Support the `#[expect]` attribute on fn parameters (RFC-2383)xFrednet-1/+1
2021-11-24Add test for merged featuresGuillaume Gomez-0/+24
2021-11-24Create rustdoc_internals feature gateGuillaume Gomez-1/+1
2021-11-14Move some tests to more reasonable directoriesCaio-0/+48
2021-08-16Move working checks into separate test filesGuillaume Gomez-2/+9
2021-08-16Add UI tests for doc(test(...)) attribute checksGuillaume Gomez-0/+50
2021-08-16feature gate doc(primitive)Joshua Nelson-0/+20
2021-06-17Move regression test for #83512 into doc_keyword.rsFabian Wolff-19/+15
2021-06-17Fix ICE when using `#[doc(keyword = "...")]` on non-itemsFabian Wolff-0/+18
2021-06-15Fix ICE when doc aliases were put on function paramsRyan Levick-4/+11
2021-06-06Rollup merge of #86047 - jyn514:doc-attrs, r=petrochenkovYuki Okushi-0/+22
Don't fire `invalid_doc_attributes` on `extern crate` items Fixes https://github.com/rust-lang/rust/issues/86046.
2021-06-05Don't fire `invalid_doc_attributes` on `extern crate` itemsJoshua Nelson-0/+22
2021-06-04Fix `deny(invalid_doc_attributes)`Joshua Nelson-0/+23
2021-03-26Update char::escape_debug_ext to handle different escapes in strings vs. charsÖmer Sinan Ağacan-2/+2
Fixes #83046 The program fn main() { println!("{:?}", '"'); println!("{:?}", "'"); } would previously print '\"' "\'" With this patch it now prints: '"' "'"
2021-03-19Rollup merge of #82846 - GuillaumeGomez:doc-alias-list, r=jyn514Dylan DPC-12/+74
rustdoc: allow list syntax for #[doc(alias)] attributes Fixes https://github.com/rust-lang/rust/issues/81205. It now allows to have: ```rust #[doc(alias = "x")] // and: #[doc(alias("y", "z"))] ``` cc ``@jplatte`` r? ``@jyn514``
2021-03-13Add hyphen to "crate level"Camelid-2/+2
"crate level attribute" -> "crate-level attribute"
2021-03-11Update doc alias ui testsGuillaume Gomez-12/+74
2021-03-08Move rustdoc UI tests into a subdirectoryJoshua Nelson-0/+219
This also adds a little leeway to the test limit.