This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-05-01 12:37:37 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
300901b705
rust
/
tests
/
rustdoc-ui
/
deny-intra-link-resolution-failure.rs
5 lines
78 B
Rust
Raw
Normal View
History
Unescape
Escape
Rename rustdoc lints to be a tool lint instead of built-in. - Rename `broken_intra_doc_links` to `rustdoc::broken_intra_doc_links` - Ensure that the old lint names still work and give deprecation errors - Register lints even when running doctests Otherwise, all `rustdoc::` lints would be ignored. - Register all existing lints as removed This unfortunately doesn't work with `register_renamed` because tool lints have not yet been registered when rustc is running. For similar reasons, `check_backwards_compat` doesn't work either. Call `register_removed` directly instead. - Fix fallout + Rustdoc lints for compiler/ + Rustdoc lints for library/ Note that this does *not* suggest `rustdoc::broken_intra_doc_links` for `rustdoc::intra_doc_link_resolution_failure`, since there was no time when the latter was valid.
2020-12-30 04:16:16 +00:00
#![
deny(rustdoc::broken_intra_doc_links)
]
Add lint for intra link resolution failure
2018-06-04 21:44:35 +00:00
/// [v2] //~ ERROR
pub
fn
foo
(
)
{
}
Reference in New Issue
Copy Permalink