Skip to content

Commit

Permalink
Fix an error from "unused" lint + Fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
petrochenkov committed May 1, 2018
1 parent d98100b commit 730c722
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 82 deletions.
1 change: 1 addition & 0 deletions src/libstd/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ pub use core::{assert_eq, assert_ne, debug_assert, debug_assert_eq, debug_assert
#[stable(feature = "rust1", since = "1.0.0")]
pub use core::{unreachable, unimplemented, write, writeln, try};

#[allow(unused_imports)] // macros from `alloc` are not used on all platforms
#[macro_use]
extern crate alloc as alloc_crate;
extern crate alloc_system;
Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc/cross-crate-links.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ pub use all_item_types::FOO_STATIC;
#[doc(no_inline)]
pub use all_item_types::FOO_CONSTANT;

// @has 'foo/index.html' '//a[@href="../all_item_types/macro.foo_macro.html"]' 'foo_macro'
// @has 'foo/index.html' '//a[@href="../foo/macro.foo_macro.html"]' 'foo_macro'
#[doc(no_inline)]
pub use all_item_types::foo_macro;
Loading

0 comments on commit 730c722

Please sign in to comment.