d-ignore-error-detail-diff
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Thu, 18 Jul 2019 01:25:06 +0000 (02:25 +0100)
committerXimin Luo <infinity0@debian.org>
Thu, 18 Jul 2019 01:25:06 +0000 (02:25 +0100)
===================================================================

Gbp-Pq: Name d-ignore-error-detail-diff.patch

src/test/ui/consts/const-size_of-cycle.stderr
src/test/ui/impl-trait/impl-generic-mismatch.stderr

index 3762f5e3d6ad8b27cd2601f0ce2ca95475ea50bd..3dc34b96c2a564d4b99073a580a35be4e3ae7da0 100644 (file)
@@ -5,10 +5,6 @@ LL |     bytes: [u8; std::mem::size_of::<Foo>()]
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
 note: ...which requires const-evaluating `Foo::bytes::{{constant}}#0`...
-  --> $SRC_DIR/libcore/mem.rs:LL:COL
-   |
-LL |     intrinsics::size_of::<T>()
-   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
    = note: ...which requires computing layout of `Foo`...
    = note: ...which requires normalizing `ParamEnvAnd { param_env: ParamEnv { caller_bounds: [], reveal: All, def_id: None }, value: [u8; _] }`...
 note: ...which requires const-evaluating + checking `Foo::bytes::{{constant}}#0`...
index fae8da9861f9db0c1a3059f9d74fb12388505432..e85583ab4e21997235a6ec2600114fae34561a38 100644 (file)
@@ -29,11 +29,6 @@ error[E0643]: method `hash` has incompatible signature for trait
    |
 LL |     fn hash(&self, hasher: &mut impl Hasher) {}
    |                                 ^^^^^^^^^^^ expected generic parameter, found `impl Trait`
-   | 
-  ::: $SRC_DIR/libcore/hash/mod.rs:LL:COL
-   |
-LL |     fn hash<H: Hasher>(&self, state: &mut H);
-   |             - declaration in trait here
 
 error: aborting due to 3 previous errors