Skip to content

Commit

Permalink
Auto merge of #7817 - ehuss:fix-doc-target-test, r=Eh2406
Browse files Browse the repository at this point in the history
Fix doc_target test which no longer works on stable/beta.

rust-lang/rust#67989 changed it so that `#![feature]` requires nightly.
  • Loading branch information
bors committed Jan 20, 2020
2 parents 9826222 + 10e9bc9 commit 1c4d6ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/testsuite/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,10 @@ fn doc_same_name() {

#[cargo_test]
fn doc_target() {
if !is_nightly() {
// no_core, lang_items requires nightly.
return;
}
const TARGET: &str = "arm-unknown-linux-gnueabihf";

let p = project()
Expand Down

0 comments on commit 1c4d6ed

Please sign in to comment.