Skip to content

Commit 46fad95

Browse files
thomcclqd
authored andcommitted
Fix a debuginfo test with a hard-coded hash
1 parent 476737e commit 46fad95

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/debuginfo/function-names.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
// Const generic parameter
3838
// gdb-command:info functions -q function_names::const_generic_fn.*
3939
// gdb-check:[...]static fn function_names::const_generic_fn_bool<false>();
40-
// gdb-check:[...]static fn function_names::const_generic_fn_non_int<{CONST#6348c650c7b26618}>();
40+
// gdb-check:[...]static fn function_names::const_generic_fn_non_int<{CONST#ad91263f6d2dd96e}>();
4141
// gdb-check:[...]static fn function_names::const_generic_fn_signed_int<-7>();
4242
// gdb-check:[...]static fn function_names::const_generic_fn_unsigned_int<14>();
4343

@@ -78,7 +78,7 @@
7878
// cdb-check:[...] a!function_names::const_generic_fn_bool<false> (void)
7979
// cdb-check:[...] a!function_names::const_generic_fn_unsigned_int<14> (void)
8080
// cdb-check:[...] a!function_names::const_generic_fn_signed_int<-7> (void)
81-
// cdb-check:[...] a!function_names::const_generic_fn_non_int<CONST$6348c650c7b26618> (void)
81+
// cdb-check:[...] a!function_names::const_generic_fn_non_int<CONST$ad91263f6d2dd96e> (void)
8282

8383
#![allow(unused_variables)]
8484
#![feature(omit_gdb_pretty_printer_section)]

tests/ui/nll/ty-outlives/impl-trait-captures.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0700]: hidden type for `Opaque(DefId(0:13 ~ impl_trait_captures[aeb9]::fo
44
LL | fn foo<'a, T>(x: &T) -> impl Foo<'a> {
55
| -- ------------ opaque type defined here
66
| |
7-
| hidden type `&ReFree(DefId(0:8 ~ impl_trait_captures[1afc]::foo), BrNamed(DefId(0:12 ~ impl_trait_captures[1afc]::foo::'_), '_)) T` captures the anonymous lifetime defined here
7+
| hidden type `&ReFree(DefId(0:8 ~ impl_trait_captures[aeb9]::foo), BrNamed(DefId(0:12 ~ impl_trait_captures[aeb9]::foo::'_), '_)) T` captures the anonymous lifetime defined here
88
LL | x
99
| ^
1010
|

0 commit comments

Comments
 (0)