about summary refs log tree commit diff
path: root/src/test/rustdoc/show-const-contents.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-68/+0
2022-08-13Update `@!has` name in testsNoah Lev-13/+13
2022-08-13Rename `@hastext` to `@hasraw` (same for `matches`)Noah Lev-11/+11
I think `@hasraw` is slightly clearer than `@hastext` since it is actually matching against the raw HTML, not the text nodes.
2022-08-13Update tests: arity-2 `@{has,matches}` -> `...text`Noah Lev-11/+11
2022-07-04rustdoc: censor certain complex unevaluated const exprsLeón Orell Valerian Liehr-1/+1
2020-11-29Update tests to remove old numeric constantsbstrie-0/+1
Part of #68490. Care has been taken to leave the old consts where appropriate, for testing backcompat regressions, module shadowing, etc. The intrinsics docs were accidentally referring to some methods on f64 as std::f64, which I changed due to being contrary with how we normally disambiguate the shadow module from the primitive. In one other place I changed std::u8 to std::ops since it was just testing path handling in macros. For places which have legitimate uses of the old consts, deprecated attributes have been optimistically inserted. Although currently unnecessary, they exist to emphasize to any future deprecation effort the necessity of these specific symbols and prevent them from being accidentally removed.
2020-06-10Migrate to numeric associated constsLzu Tao-4/+4
2020-04-20Fix show-const-contents rustdoc testLinus Färnstrand-1/+1
2020-01-23Fix broken show-const-contents testLinus Färnstrand-3/+3
2020-01-05rustdoc: HTML escape const valuesOliver Middleton-0/+3
2019-12-24Show value for consts in the documentationOhad Ravid-0/+64