Commit Graph

4 Commits

Author SHA1 Message Date
steveklabnik
a2c56870d4 Add license to stable-check
so this passes upstream tidy
2017-03-27 17:38:57 -04:00
steveklabnik
22279701ca these are now unused 2017-03-23 15:34:23 -04:00
steveklabnik
3207d5d4a2 simplify errors 2017-03-23 14:50:20 -04:00
steveklabnik
59f76f1a29 Check that we don't use any unstable features.
We need to track Rust master, but don't want to cover unstable things.
As such, a new lint, `stable-check`, is added.

The second edition was already lint clean, but the first needed some
tweaks:

1. The closures chapter was showing off details of the closure traits,
   so just don't do that.
2. The FFI chapter was using internal libc to compile the tests, so just
   don't compile them anymore.
3. The compiler plugins chapter was vestigial and was moved to the
   unstable book.

Fixes #558
2017-03-23 14:14:57 -04:00