diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2016-10-01 16:38:33 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-01 16:38:33 +0530 |
| commit | 987aea5ee46d3bc49fdace2dab5a795a077481cf (patch) | |
| tree | ffbbd4c5103d1ed57f16dbc4ebf194198178bbf8 /src/test | |
| parent | 9e255704e504c1cf656536f0d430924d4d86f8a8 (diff) | |
| parent | ba1a49337f8408279e6773818ba4b8215762cb31 (diff) | |
| download | rust-987aea5ee46d3bc49fdace2dab5a795a077481cf.tar.gz rust-987aea5ee46d3bc49fdace2dab5a795a077481cf.zip | |
Rollup merge of #36880 - durka:debug-unsized-ptr, r=bluss
impl Debug for raw pointers to unsized data `?Sized` was missing from these impls for seemingly no reason. Fixes #36870.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-pass/deriving-show.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/run-pass/deriving-show.rs b/src/test/run-pass/deriving-show.rs index 1f30f3ecedc..e858ba8c823 100644 --- a/src/test/run-pass/deriving-show.rs +++ b/src/test/run-pass/deriving-show.rs @@ -24,6 +24,9 @@ enum Enum { StructVariant { x: isize, y : usize } } +#[derive(Debug)] +struct Pointers(*const Send, *mut Sync); + macro_rules! t { ($x:expr, $expected:expr) => { assert_eq!(format!("{:?}", $x), $expected.to_string()) |
