File tree 5 files changed +15
-9
lines changed
5 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 1
- error: symbol-name(_ZN5basic4main17h81759b0695851718E )
1
+ error: symbol-name(_ZN5basic4main17h7bbff4a01206d8c2E )
2
2
--> $DIR/basic.rs:8:1
3
3
|
4
4
LL | #[rustc_symbol_name]
5
5
| ^^^^^^^^^^^^^^^^^^^^
6
6
7
- error: demangling(basic::main::h81759b0695851718 )
7
+ error: demangling(basic::main::h7bbff4a01206d8c2 )
8
8
--> $DIR/basic.rs:8:1
9
9
|
10
10
LL | #[rustc_symbol_name]
Original file line number Diff line number Diff line change 1
- error: symbol-name(_ZN5impl13foo3Foo3bar17h92cf46db76791039E )
1
+ error: symbol-name(_ZN5impl13foo3Foo3bar17hf9d7d0e61617a4b8E )
2
2
--> $DIR/impl1.rs:16:9
3
3
|
4
4
LL | #[rustc_symbol_name]
5
5
| ^^^^^^^^^^^^^^^^^^^^
6
6
7
- error: demangling(impl1::foo::Foo::bar::h92cf46db76791039 )
7
+ error: demangling(impl1::foo::Foo::bar::hf9d7d0e61617a4b8 )
8
8
--> $DIR/impl1.rs:16:9
9
9
|
10
10
LL | #[rustc_symbol_name]
@@ -22,13 +22,13 @@ error: def-path(foo::Foo::bar)
22
22
LL | #[rustc_def_path]
23
23
| ^^^^^^^^^^^^^^^^^
24
24
25
- error: symbol-name(_ZN5impl13bar33_$LT$impl$u20$impl1..foo..Foo$GT$3baz17h90c4a800b1aa0df0E )
25
+ error: symbol-name(_ZN5impl13bar33_$LT$impl$u20$impl1..foo..Foo$GT$3baz17h6435cd4293f0ad82E )
26
26
--> $DIR/impl1.rs:34:9
27
27
|
28
28
LL | #[rustc_symbol_name]
29
29
| ^^^^^^^^^^^^^^^^^^^^
30
30
31
- error: demangling(impl1::bar::<impl impl1::foo::Foo>::baz::h90c4a800b1aa0df0 )
31
+ error: demangling(impl1::bar::<impl impl1::foo::Foo>::baz::h6435cd4293f0ad82 )
32
32
--> $DIR/impl1.rs:34:9
33
33
|
34
34
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: "h5ef5dfc14aeecbfc" -> "SYMBOL_HASH"
7
- //[legacy]normalize-stderr-64bit: "h9e54d216f70fcbc5 " -> "SYMBOL_HASH"
7
+ //[legacy]normalize-stderr-64bit: "hd9e82dc29c74d643 " -> "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 1
- error: symbol-name(_ZN11issue_609253foo37Foo$LT$issue_60925..llv$u6d$..Foo$GT$3foo17hc86312d25b60f6eeE )
1
+ error: symbol-name(_ZN11issue_609253foo37Foo$LT$issue_60925..llv$u6d$..Foo$GT$3foo17h91943b9c102410e4E )
2
2
--> $DIR/issue-60925.rs:22:9
3
3
|
4
4
LL | #[rustc_symbol_name]
5
5
| ^^^^^^^^^^^^^^^^^^^^
6
6
7
- error: demangling(issue_60925::foo::Foo<issue_60925::llvm::Foo>::foo::hc86312d25b60f6ee )
7
+ error: demangling(issue_60925::foo::Foo<issue_60925::llvm::Foo>::foo::h91943b9c102410e4 )
8
8
--> $DIR/issue-60925.rs:22:9
9
9
|
10
10
LL | #[rustc_symbol_name]
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