File tree 3 files changed +9
-3
lines changed
3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -46,13 +46,13 @@ error: def-path(bar::<impl foo::Foo>::baz)
46
46
LL | #[rustc_def_path]
47
47
| ^^^^^^^^^^^^^^^^^
48
48
49
- error: symbol-name(_ZN209_$LT$$u5b$$RF$dyn$u20$impl1..Foo$u2b$Assoc$u20$$u3d$$u20$extern$u20$$u22$C$u22$$u20$fn$LP$$RF$u8$C$$u20$...$RP$$u2b$impl1..AutoTrait$u3b$$u20$3$u5d$$u20$as$u20$impl1..main..$u7b$$u7b$closure$u7d$$u7d$..Bar$GT$6method17hefcb557fc1aaf107E )
49
+ error: symbol-name(_ZN209_$LT$$u5b$$RF$dyn$u20$impl1..Foo$u2b$Assoc$u20$$u3d$$u20$extern$u20$$u22$C$u22$$u20$fn$LP$$RF$u8$C$$u20$...$RP$$u2b$impl1..AutoTrait$u3b$$u20$3$u5d$$u20$as$u20$impl1..main..$u7b$$u7b$closure$u7d$$u7d$..Bar$GT$6method17SYMBOL_HASHE )
50
50
--> $DIR/impl1.rs:64:13
51
51
|
52
52
LL | #[rustc_symbol_name]
53
53
| ^^^^^^^^^^^^^^^^^^^^
54
54
55
- error: demangling(<[&dyn impl1::Foo+Assoc = extern "C" fn(&u8, ::.)+impl1::AutoTrait; 3] as impl1::main::{{closure}}::Bar>::method::hefcb557fc1aaf107 )
55
+ error: demangling(<[&dyn impl1::Foo+Assoc = extern "C" fn(&u8, ::.)+impl1::AutoTrait; 3] as impl1::main::{{closure}}::Bar>::method::SYMBOL_HASH )
56
56
--> $DIR/impl1.rs:64:13
57
57
|
58
58
LL | #[rustc_symbol_name]
Original file line number Diff line number Diff line change 4
4
//[legacy]compile-flags: -Z symbol-mangling-version=legacy
5
5
//[v0]compile-flags: -Z symbol-mangling-version=v0
6
6
//[legacy]normalize-stderr-32bit: "hdb62078998ce7ea8" -> "SYMBOL_HASH"
7
- //[legacy]normalize-stderr-64bit: "h62e540f14f879d56 " -> "SYMBOL_HASH"
7
+ //[legacy]normalize-stderr-64bit: "hefcb557fc1aaf107 " -> "SYMBOL_HASH"
8
8
9
9
#![ feature( optin_builtin_traits, rustc_attrs) ]
10
10
#![ allow( dead_code) ]
Original file line number Diff line number Diff line change @@ -27,6 +27,12 @@ fn test_parse_normalization_string() {
27
27
let first = parse_normalization_string ( & mut s) ;
28
28
assert_eq ! ( first, Some ( "something (32 bits)" . to_owned( ) ) ) ;
29
29
assert_eq ! ( s, " -> \" something ($WORD bits)." ) ;
30
+
31
+ // Nothing to normalize (No quotes, 16-bit)
32
+ let mut s = "normalize-stderr-16bit: something (16 bits) -> something ($WORD bits)." ;
33
+ let first = parse_normalization_string ( & mut s) ;
34
+ assert_eq ! ( first, None ) ;
35
+ assert_eq ! ( s, r#"normalize-stderr-16bit: something (16 bits) -> something ($WORD bits)."# ) ;
30
36
}
31
37
32
38
fn config ( ) -> Config {
You can’t perform that action at this time.
0 commit comments