diff --git a/tests/testsuite/check.rs b/tests/testsuite/check.rs index 785e57124ba..e702a572e90 100644 --- a/tests/testsuite/check.rs +++ b/tests/testsuite/check.rs @@ -219,71 +219,6 @@ fn issue_3418() { .run(); } -// Some weirdness that seems to be caused by a crate being built as well as -// checked, but in this case with a proc macro too. -#[cargo_test] -fn issue_3419() { - let p = project() - .file( - "Cargo.toml", - r#" - [package] - name = "foo" - version = "0.0.1" - edition = "2015" - authors = [] - - [dependencies] - rustc-serialize = "*" - "#, - ) - .file( - "src/lib.rs", - r#" - extern crate rustc_serialize; - - use rustc_serialize::Decodable; - - pub fn take() {} - "#, - ) - .file( - "src/main.rs", - r#" - extern crate rustc_serialize; - - extern crate foo; - - #[derive(RustcDecodable)] - pub struct Foo; - - fn main() { - foo::take::(); - } - "#, - ) - .build(); - - Package::new("rustc-serialize", "1.0.0") - .file( - "src/lib.rs", - r#" - pub trait Decodable: Sized { - fn decode(d: &mut D) -> Result; - } - pub trait Decoder { - type Error; - fn read_struct(&mut self, s_name: &str, len: usize, f: F) - -> Result - where F: FnOnce(&mut Self) -> Result; - } - "#, - ) - .publish(); - - p.cargo("check").run(); -} - // Check on a dylib should have a different metadata hash than build. #[cargo_test] fn dylib_check_preserves_build_cache() {