diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2021-01-29 00:59:20 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2021-02-11 10:15:29 +0300 |
| commit | 7b021aacb57d7a120f280302358d7bdd04a67bbc (patch) | |
| tree | 12d49109717d4fa8cc92331600ece1479d5f85e4 /src/test/rustdoc | |
| parent | 9ce7268bcfc17265bd05e4c08713d170d39618ad (diff) | |
| download | rust-7b021aacb57d7a120f280302358d7bdd04a67bbc.tar.gz rust-7b021aacb57d7a120f280302358d7bdd04a67bbc.zip | |
resolve: Reduce scope of `pub_use_of_private_extern_crate` deprecation lint
Diffstat (limited to 'src/test/rustdoc')
| -rw-r--r-- | src/test/rustdoc/extern-links.rs | 2 | ||||
| -rw-r--r-- | src/test/rustdoc/issue-28927.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rustdoc/extern-links.rs b/src/test/rustdoc/extern-links.rs index 991f869138d..0383ccf7db6 100644 --- a/src/test/rustdoc/extern-links.rs +++ b/src/test/rustdoc/extern-links.rs @@ -3,7 +3,7 @@ #![crate_name = "foo"] -extern crate extern_links; +pub extern crate extern_links; // @!has foo/index.html '//a' 'extern_links' #[doc(no_inline)] diff --git a/src/test/rustdoc/issue-28927.rs b/src/test/rustdoc/issue-28927.rs index 7b535f33bf7..38a520850b6 100644 --- a/src/test/rustdoc/issue-28927.rs +++ b/src/test/rustdoc/issue-28927.rs @@ -2,5 +2,5 @@ // aux-build:issue-28927-1.rs // ignore-cross-compile -extern crate issue_28927_1 as inner1; +pub extern crate issue_28927_1 as inner1; pub use inner1 as foo; |
