about summary refs log tree commit diff
path: root/src/test/rustdoc/attributes.rs
AgeCommit message (Collapse)AuthorLines
2021-06-13Remove must_use from ALLOWED_ATTRIBUTESJacob Hoffman-Andrews-8/+0
This is a fairly common attribute on methods, but is not something you need to know when reading the method docs - the purpose of the attribute is for the compiler to tell you about it if you forget to use a value. Removing reclaims some valuable space in the summary of methods.
2021-04-12Update attribute testsManish Goregaokar-5/+5
2020-07-11rustdoc: insert newlines between attributesAndy Russell-2/+2
2020-03-17Update rustdoc test and remove TODO commentGuillaume Gomez-1/+1
2020-03-15Render full attributes in rustdocvarkor-0/+4
2019-04-19Update testGuillaume Gomez-2/+2
2018-12-25Remove licensesMark Rousskov-10/+0
2017-02-08rustdoc: Show attributes on all item typesOliver Middleton-0/+27
Currently attributes are only shown for structs, unions and enums but they should be shown for all items. For example it is useful to know if a function is `#[no_mangle]`.