This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Issues
Pull requests
Activity
82cb88b777
rust
/
src
/
test
/
ui
/
macros
/
assert-as-macro.rs
7 lines
90 B
Rust
Raw
Normal View
History
Unescape
Escape
Move tests from `test/run-fail` to UI
2020-04-16 15:50:32 +09:00
// run-fail
Kill more `isize`s
2015-01-31 17:23:42 +01:00
// error-pattern:assertion failed: 1 == 2
libsyntax: Implement `assert` as a macro (called `fail_unless!` on a transitionary basis to avoid conflicting with the keyword right now). r=brson
2013-01-22 16:00:07 -08:00
fn
main
(
)
{
Kill more `isize`s
2015-01-31 17:23:42 +01:00
assert!
(
1
=
=
2
)
;
libsyntax: Implement `assert` as a macro (called `fail_unless!` on a transitionary basis to avoid conflicting with the keyword right now). r=brson
2013-01-22 16:00:07 -08:00
}
Reference in a new issue
Copy permalink