about summary refs log tree commit diff
path: root/src/test/rustdoc/escape-rust-expr.rs
AgeCommit message (Collapse)AuthorLines
2018-10-04replace escape-rust-expr test with dont-show-const-contentsPhilip Munksgaard-15/+0
The old test was supposed to check for proper html escaping when showing the contents of constants. This was changed as part of #53409. The revised test asserts that the contents of the constant is not shown as part of the generated documentation.
2018-08-26Remove static and const initialization from documentationGuillaume Gomez-1/+1
2016-05-03rustdoc: HTML-escape Rust code (from constants)Georg Brandl-0/+15
Especially in cases like the one in the test file, this can blow up the docs big time if string constants in the code contain HTML. But also other constants can contain special chars (e.g. `&` as an operator in constant expressions).