]> git.lizzy.rs Git - rust.git/commit
rustc: Add some more checks to the stability lint
authorBrian Anderson <banderson@mozilla.com>
Wed, 5 Nov 2014 23:49:37 +0000 (15:49 -0800)
committerBrian Anderson <banderson@mozilla.com>
Thu, 6 Nov 2014 01:35:40 +0000 (17:35 -0800)
commitf383ce62e80592b1c46d0c259733efc38f695352
tree4dde39a58fefd8a0fe88e774eddc4b824fb1eddc
parent68ac44cb97d9f7fd5e552aabb516f61cbb5b6760
rustc: Add some more checks to the stability lint

This catches uses of unstable traits in

```
trait Foo: UnstableTrait { }
```

and

```
impl UnstableTrait for Foo { }
```
src/librustc/lint/builtin.rs
src/test/auxiliary/lint_stability.rs
src/test/compile-fail/lint-stability.rs