Reorganize rustdoc tests into their correct subdirectories for better categorization: - Move lint-related tests to rustdoc-ui/lints/ - Move intra-doc link tests to rustdoc-ui/intra-doc/ - Move deref-related tests to rustdoc-ui/deref/ - Move doc-cfg test to rustdoc/doc-cfg/ This improves test organization and makes it easier to find tests related to specific rustdoc functionality.
13 lines
334 B
Rust
13 lines
334 B
Rust
// Regression test for remapped paths in rustdoc errors
|
|
// <https://github.com/rust-lang/rust/issues/69264>.
|
|
|
|
//@ compile-flags:-Z unstable-options --remap-path-prefix={{src-base}}=remapped_path
|
|
//@ rustc-env:RUST_BACKTRACE=0
|
|
|
|
#![deny(rustdoc::invalid_html_tags)]
|
|
|
|
/// </script>
|
|
pub struct Bar;
|
|
|
|
//~? ERROR unopened HTML tag `script`
|