This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
58e901b6fd1163172149fd422565523b17eed5f0
rust
/
tests
/
ui
/
macros
/
assert-ne-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 assert_ne and debug_assert_ne macros
2016-07-27 10:47:19 -07:00
pub
fn
main
(
)
{
assert_ne!
(
[
6
,
6
,
6
]
[
..
]
,
vec!
[
1
,
2
,
3
]
[
..
]
)
;
}
Reference in New Issue
Copy Permalink