syntax: Remove support for #[should_fail]

This attribute has been deprecated in favor of #[should_panic]. This also
updates rustdoc to no longer accept the `should_fail` directive and instead
renames it to `should_panic`.
This commit is contained in:
Alex Crichton 2015-03-26 13:30:33 -07:00
parent 557d4346a2
commit 3752958e40
12 changed files with 24 additions and 33 deletions

View file

@ -352,7 +352,7 @@ Heres an example of documenting a macro:
/// # }
/// ```
///
/// ```should_fail
/// ```should_panic
/// # #[macro_use] extern crate foo;
/// # fn main() {
/// panic_unless!(true == false, “Im broken.”);