This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Activity
58e901b6fd
rust
/
tests
/
ui
/
macros
/
assert-eq-macro-unsized.rs
5 lines
80 B
Rust
Raw
Normal View
History
Unescape
Escape
Add `// run-pass` annotations to all the tests under `ui/run-pass/`. (I may have accidentally added it to some auxilliary crates as well; my emacs-macro-based methodology was pretty crude.)
2018-08-30 14:18:55 +02:00
// run-pass
Add test for assert_eq! with none Sized types
2015-11-11 22:08:20 +00:00
pub
fn
main
(
)
{
assert_eq!
(
[
1
,
2
,
3
]
[
..
]
,
vec!
[
1
,
2
,
3
]
[
..
]
)
;
}
Copy permalink