diff options
| author | bors <bors@rust-lang.org> | 2015-11-12 10:38:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-11-12 10:38:48 +0000 |
| commit | 0bd708461b0e301c7fb34635d978247a80ccf3b2 (patch) | |
| tree | 6eabf307b21ddef348b35800dd4af77443860cff /src/libstd/sys/unix/stack_overflow.rs | |
| parent | afd4a5420c3a9f6642da655543aa26df15b2ef9c (diff) | |
| parent | 780581e8a1233f744329f37b6de10177069fbd86 (diff) | |
| download | rust-0bd708461b0e301c7fb34635d978247a80ccf3b2.tar.gz rust-0bd708461b0e301c7fb34635d978247a80ccf3b2.zip | |
Auto merge of #29770 - ollie27:assert_eq_unsized, r=alexcrichton
`format_args!` doesn't support none Sized types so we should just pass it the references to `left_val` and `right_val`. The following works: ```rust assert!([1, 2, 3][..] == vec![1, 2, 3][..]) ``` So I would expect this to as well: ```rust assert_eq!([1, 2, 3][..], vec![1, 2, 3][..]) ``` But it fails with "error: the trait `core::marker::Sized` is not implemented for the type `[_]` [E0277]" I don't know if this change will have any nasty side effects I don't understand.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
