]> git.lizzy.rs Git - rust.git/commit
Add tests checking that a number of feature gates are gating their features.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Mon, 9 Mar 2015 18:18:43 +0000 (19:18 +0100)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Mon, 9 Mar 2015 18:18:43 +0000 (19:18 +0100)
commit5c3a0b191eade884808e76045ec69a0b086bc53e
tree882d7645988ecf83759222d83ffed13eae2f4265
parent2574009af0ff70dc233beab246db8f2d715be2cb
Add tests checking that a number of feature gates are gating their features.

Namely:

 * `quote`
 * `link_args`
 * `link_llvm_intrinsics`
 * `thread_local`
 * `unsafe_destructor`

Also updates test for `plugin_registrar` to make it clear that
it is only testing the `plugin_registrar` feature gate.

Cc #22820.
src/test/compile-fail-fulldeps/gated-quote.rs [new file with mode: 0644]
src/test/compile-fail/gated-link-args.rs [new file with mode: 0644]
src/test/compile-fail/gated-link-llvm-intrinsics.rs [new file with mode: 0644]
src/test/compile-fail/gated-plugin_registrar.rs
src/test/compile-fail/gated-thread-local.rs [new file with mode: 0644]
src/test/compile-fail/gated-unsafe-destructor.rs [new file with mode: 0644]