about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2014-10-28 14:07:33 -0400
committerSteve Klabnik <steve@steveklabnik.com>2014-10-29 16:06:13 -0400
commit6ac7fc73f5acfe30c698ea4f8bfc37b30473977e (patch)
treea7b9c45aa38fbf458ea2afb6ddfc70ae782b1302 /src/libsyntax/parse/parser.rs
parent7828c3dd2858d8f3a0448484d8093e22719dbda0 (diff)
downloadrust-6ac7fc73f5acfe30c698ea4f8bfc37b30473977e.tar.gz
rust-6ac7fc73f5acfe30c698ea4f8bfc37b30473977e.zip
Update infrastructure for fail -> panic
This includes updating the language items and marking what needs to
change after a snapshot.

If you do not use the standard library, the language items you need to
implement have changed. For example:

```rust
 #[lang = "fail_fmt"] fn fail_fmt() -> ! { loop {} }
```

is now

```rust
 #[lang = "panic_fmt"] fn panic_fmt() -> ! { loop {} }
```

Related, lesser-implemented language items `fail` and
`fail_bounds_check` have become `panic` and `panic_bounds_check`, as
well. These are implemented by `libcore`, so it is unlikely (though
possible!) that these two renamings will affect you.

[breaking-change]

Fix test suite
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions