diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-09-02 04:59:51 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-09-02 05:00:42 -0400 |
| commit | 67a8ea521a81bbc7e2cab893d778eaaa8d34bb6c (patch) | |
| tree | ef5b5cb124a438fade76210d15677c0190761233 /src/test/debug-info/tuple-struct.rs | |
| parent | 331d2d6d31e1c7925c23f5173e5fbbb61f8b3e91 (diff) | |
| download | rust-67a8ea521a81bbc7e2cab893d778eaaa8d34bb6c.tar.gz rust-67a8ea521a81bbc7e2cab893d778eaaa8d34bb6c.zip | |
switch __field__ hack to <unnamed_field>
avoids conflict with fields actually named `__field__`
Diffstat (limited to 'src/test/debug-info/tuple-struct.rs')
| -rw-r--r-- | src/test/debug-info/tuple-struct.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/debug-info/tuple-struct.rs b/src/test/debug-info/tuple-struct.rs index 1368053f48c..762b8dcb38f 100644 --- a/src/test/debug-info/tuple-struct.rs +++ b/src/test/debug-info/tuple-struct.rs @@ -34,7 +34,8 @@ // This test case mainly makes sure that no field names are generated for tuple structs (as opposed -// to all fields having the name "__field__"). Otherwise they are handled the same a normal structs. +// to all fields having the name "<unnamed_field>"). Otherwise they are handled the same a normal +// structs. struct NoPadding16(u16, i16); struct NoPadding32(i32, f32, u32); |
