Rename intra-doc lint

This commit is contained in:
Guillaume Gomez 2018-06-13 21:17:15 +02:00
parent e6c7868fb2
commit d2a4e42959
6 changed files with 10 additions and 10 deletions

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![deny(intra_link_resolution_failure)]
#![deny(intra_doc_link_resolution_failure)]
/// [v2] //~ ERROR
pub fn foo() {}

View file

@ -7,7 +7,7 @@ error: `[v2]` cannot be resolved, ignoring it...
note: lint level defined here
--> $DIR/deny-intra-link-resolution-failure.rs:11:9
|
11 | #![deny(intra_link_resolution_failure)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 | #![deny(intra_doc_link_resolution_failure)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: to escape `[` and `]` characters, just add '/' before them like `/[` or `/]`

View file

@ -4,7 +4,7 @@ warning: `[Foo::baz]` cannot be resolved, ignoring it...
13 | //! Test with [Foo::baz], [Bar::foo], ...
| ^^^^^^^^ cannot be resolved, ignoring
|
= note: #[warn(intra_link_resolution_failure)] on by default
= note: #[warn(intra_doc_link_resolution_failure)] on by default
= help: to escape `[` and `]` characters, just add '/' before them like `/[` or `/]`
warning: `[Bar::foo]` cannot be resolved, ignoring it...