Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shorten some test names #45190

Merged
merged 1 commit into from
Oct 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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