diff options
| author | Erick Tryzelaar <erick.tryzelaar@gmail.com> | 2013-08-17 08:37:42 -0700 |
|---|---|---|
| committer | Erick Tryzelaar <erick.tryzelaar@gmail.com> | 2013-08-17 08:42:35 -0700 |
| commit | ad5c67685332dc0e45d459b45749e76c93270988 (patch) | |
| tree | 6438b5458ada542b1b3d17271285f7f9c0402cb9 /src/test/debug-info/struct-style-enum.rs | |
| parent | e20d46056dc5891696faa8ebcccd2279b6c445d9 (diff) | |
| download | rust-ad5c67685332dc0e45d459b45749e76c93270988.tar.gz rust-ad5c67685332dc0e45d459b45749e76c93270988.zip | |
Fix warnings it tests
Diffstat (limited to 'src/test/debug-info/struct-style-enum.rs')
| -rw-r--r-- | src/test/debug-info/struct-style-enum.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/debug-info/struct-style-enum.rs b/src/test/debug-info/struct-style-enum.rs index 61bbd2e215f..30be3b84563 100644 --- a/src/test/debug-info/struct-style-enum.rs +++ b/src/test/debug-info/struct-style-enum.rs @@ -28,6 +28,8 @@ // debugger:print univariant // check:$4 = {a = -1} +#[allow(unused_variable)]; + // The first element is to ensure proper alignment, irrespective of the machines word size. Since // the size of the discriminant value is machine dependent, this has be taken into account when // datatype layout should be predictable as in this case. @@ -70,4 +72,4 @@ fn main() { zzz(); } -fn zzz() {()} \ No newline at end of file +fn zzz() {()} |
