Created
February 11, 2020 18:58
-
-
Save pnkfelix/dab5759a93362059d2b272efac96767c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/test/ui/polymorphize/polymorphize_drop.stderr b/src/test/ui/polymorphize/polymorphize_drop.stderr | |
index e8c4cac8322..177b7078607 100644 | |
--- a/src/test/ui/polymorphize/polymorphize_drop.stderr | |
+++ b/src/test/ui/polymorphize/polymorphize_drop.stderr | |
@@ -69,12 +69,12 @@ LL | | | |
LL | | dependency_because_drop_box_T::<u32>(Box::new(3)); | |
| | ------------------------------------------------- | |
| | | | | |
- | | | invokes `DefId(5/0:97 ~ alloc[e111]::boxed[0]::{{impl}}[0]::new[0])` with substitutions `[u32]` | |
+ | | | invokes `DefId(5/0:97 ~ alloc[edea]::boxed[0]::{{impl}}[0]::new[0])` with substitutions `[u32]` | |
| | invokes `DefId(0/0:5 ~ polymorphize_drop[317d]::dependency_because_drop_box_T[0])` with substitutions `[u32]` | |
LL | | dependency_because_drop_box_T::<u16>(Box::new(3)); | |
| | ------------------------------------------------- | |
| | | | | |
- | | | invokes `DefId(5/0:97 ~ alloc[e111]::boxed[0]::{{impl}}[0]::new[0])` with substitutions `[u16]` | |
+ | | | invokes `DefId(5/0:97 ~ alloc[edea]::boxed[0]::{{impl}}[0]::new[0])` with substitutions `[u16]` | |
| | invokes `DefId(0/0:5 ~ polymorphize_drop[317d]::dependency_because_drop_box_T[0])` with substitutions `[u16]` | |
LL | | | |
LL | | no_dependency_because_drop_ref_T::<u32>(&3); | |
diff --git a/src/test/ui/polymorphize/polymorphize_trait_dispatch.stderr b/src/test/ui/polymorphize/polymorphize_trait_dispatch.stderr | |
index 617ed94ea88..2741cd32132 100644 | |
--- a/src/test/ui/polymorphize/polymorphize_trait_dispatch.stderr | |
+++ b/src/test/ui/polymorphize/polymorphize_trait_dispatch.stderr | |
@@ -4,7 +4,7 @@ warning: some polymorphic dependencies found | |
LL | / fn depend_trait_dispatch<T: Clone>(t: &T) -> T { | |
LL | | //~^ ERROR some polymorphic dependencies found | |
LL | | t.clone() | |
- | | --------- depends on `TraitMethod(DefId(2/0:1278 ~ core[8468]::clone[0]::Clone[0]::clone[0]), [T])` | |
+ | | --------- depends on `TraitMethod(DefId(2/0:1278 ~ core[f71e]::clone[0]::Clone[0]::clone[0]), [T])` | |
LL | | } | |
| |_^ | |
@@ -12,7 +12,7 @@ warning: some polymorphic dependencies found | |
--> $DIR/polymorphize_trait_dispatch.rs:13:1 | |
| | |
LL | t.clone() | |
- | --------- depends on `TraitMethod(DefId(2/0:1278 ~ core[8468]::clone[0]::Clone[0]::clone[0]), [T])` | |
+ | --------- depends on `TraitMethod(DefId(2/0:1278 ~ core[f71e]::clone[0]::Clone[0]::clone[0]), [T])` | |
... | |
LL | / fn depend_trait_dispatch_indirect<T: Clone>(t: &T) -> T { | |
LL | | //~^ ERROR some polymorphic dependencies found | |
@@ -25,7 +25,7 @@ warning: no polymorphic dependencies found | |
--> $DIR/polymorphize_trait_dispatch.rs:18:1 | |
| | |
LL | t.clone() | |
- | --------- invokes `DefId(2/0:1292 ~ core[8468]::clone[0]::impls[0]::{{impl}}[3]::clone[0])` with substitutions `[ReErased, T]` | |
+ | --------- invokes `DefId(2/0:1292 ~ core[f71e]::clone[0]::impls[0]::{{impl}}[3]::clone[0])` with substitutions `[ReErased, T]` | |
... | |
LL | / fn depend_trait_dispatch_ref_indirect<T: Clone>(t: &T) -> &T { | |
LL | | //~^ ERROR some polymorphic dependencies found | |
@@ -40,8 +40,8 @@ warning: no polymorphic dependencies found | |
LL | t.clone() | |
| --------- | |
| | | |
- | invokes `DefId(2/0:17671 ~ core[8468]::clone[0]::impls[0]::{{impl}}[7]::clone[0])` with substitutions `[]` | |
- | invokes `DefId(2/0:17669 ~ core[8468]::clone[0]::impls[0]::{{impl}}[6]::clone[0])` with substitutions `[]` | |
+ | invokes `DefId(2/0:17671 ~ core[f71e]::clone[0]::impls[0]::{{impl}}[7]::clone[0])` with substitutions `[]` | |
+ | invokes `DefId(2/0:17669 ~ core[f71e]::clone[0]::impls[0]::{{impl}}[6]::clone[0])` with substitutions `[]` | |
... | |
LL | / fn main() { | |
LL | | //~^ ERROR no polymorphic dependencies found |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment