Skip to content

Commit

Permalink
Rollup merge of rust-lang#45190 - petrochenkov:shorten, r=alexcrichton
Browse files Browse the repository at this point in the history
Shorten some test names

An immediate fix for the first issue in rust-lang#45103
r? @alexcrichton
  • Loading branch information
kennytm committed Oct 12, 2017
2 parents db6fdf6 + ca61ea2 commit e1a6795
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// aux-build:specialization_cross_crate_defaults.rs
// aux-build:cross_crate_defaults.rs

#![feature(specialization)]

extern crate specialization_cross_crate_defaults;
extern crate cross_crate_defaults;

use specialization_cross_crate_defaults::*;
use cross_crate_defaults::*;

struct LocalDefault;
struct LocalOverride;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@

// Test that specialization works even if only the upstream crate enables it

// aux-build:specialization_cross_crate.rs
// aux-build:cross_crate.rs

extern crate specialization_cross_crate;
extern crate cross_crate;

use specialization_cross_crate::*;
use cross_crate::*;

fn main() {
assert!(0u8.foo() == "generic Clone");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// aux-build:specialization_cross_crate.rs
// aux-build:cross_crate.rs

#![feature(specialization)]

extern crate specialization_cross_crate;
extern crate cross_crate;

use specialization_cross_crate::*;
use cross_crate::*;

struct NotClone;

Expand Down

0 comments on commit e1a6795

Please sign in to comment.