Description: Ignore error details with $SRC_DIR
 We build with --remap-path-prefix so it doesn't work, see bug below
Bug: https://github.com/rust-lang/rust/issues/53081
Index: rustc/src/test/ui/impl-trait/impl-generic-mismatch.stderr
===================================================================
--- rustc.orig/src/test/ui/impl-trait/impl-generic-mismatch.stderr
+++ rustc/src/test/ui/impl-trait/impl-generic-mismatch.stderr
@@ -29,11 +29,6 @@ error[E0643]: method `hash` has incompat
    |
 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
 
Index: rustc/src/test/ui/consts/const-size_of-cycle.stderr
===================================================================
--- rustc.orig/src/test/ui/consts/const-size_of-cycle.stderr
+++ rustc/src/test/ui/consts/const-size_of-cycle.stderr
@@ -5,10 +5,6 @@ LL |     bytes: [u8; std::mem::size_of::
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
 note: ...which requires const-evaluating `Foo::bytes::{{constant}}`...
-  --> $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}}`...
