rust/src/test
bors 88e2c396a4 Auto merge of #43168 - pnkfelix:check-attr-gating, r=aturon
Slew of builtin-attribute gating tests

Slew of builtin-attribute "gating" tests for issue #43106.

Some stray observations:

 * I don't know if its a good thing that so many attributes allow inputs which are silently discarded. (I  made heavy use of that in writing my tests, but that was more out of curiosity than necessity.)
 * The difference between crate-level and non-crate-level behavior is quite significant in some cases. Definitely worth making sure one has tests for both cases. (Not as clear whether it was worthwhile trying the various other AST forms like `fn f()` vs `struct S;`)
 * `#[no_builtins]` and `#[no_mangle]` occur twice on the `BUILTIN_ATTRIBUTES` list. Thats almost certainly a bug. (Filed as #43148)
 * We are maximally liberal in what we allow for `#[test]` and `#[bench]` when one compiles without `--test`.
 * We allow `#[no_mangle]` on arbitrary AST nodes, but only warn about potential misuse on `fn`
 * We allow `#[cold]`, `#[must_use]`, `#[windows_subsystem]`, and `#[no_builtins]` on arbitrary AST nodes. I don't know off-hand what the semantics are for e.g. a `#[cold] type T = ...;`
 * We allow crate-level `#![inline]`. That's probably a bug since its otherwise restricted to `fn` items
2017-07-19 03:06:21 +00:00
..
codegen powerpc: Ignore the stack-probes test 2017-07-18 08:50:58 +00:00
codegen-units Move Fn to module. 2017-06-09 19:07:25 -04:00
compile-fail Auto merge of #43168 - pnkfelix:check-attr-gating, r=aturon 2017-07-19 03:06:21 +00:00
compile-fail-fulldeps Move some tests from compile-fail to ui 2017-07-17 08:38:54 +02:00
debuginfo Pretty-printers tests: gdbr -> gdb 2017-06-09 18:51:28 +03:00
incremental Detect implicitly defined late bound lifetime parameters as well 2017-07-18 00:12:48 +03:00
mir-opt Update basic_assignment test to reflect small changes to codegen. 2017-06-12 13:06:42 +02:00
parse-fail Store all generic arguments for method calls in AST 2017-07-10 00:20:25 +03:00
pretty
run-fail updated assert_eq test, fixed incorrect assert_ne message and added test. 2017-06-13 14:17:59 +01:00
run-fail-fulldeps Implement a file-path remapping feature in support of debuginfo and reproducible builds. 2017-04-26 15:44:02 +02:00
run-make Auto merge of #42711 - Firstyear:san-on-dylib, r=alexcrichton 2017-07-17 17:02:18 +00:00
run-pass Ignore pretty-test 2017-07-18 15:21:18 +03:00
run-pass-fulldeps Update and fix a few tests 2017-06-26 02:08:14 +00:00
run-pass-valgrind Move unsized_tuple_coercion behind a feature gate. 2017-06-29 21:25:35 +09:00
rustdoc remove associated_consts feature gate 2017-07-06 11:52:25 -07:00
ui Auto merge of #43266 - feadoor:issue-43253-exclusive-range-warning, r=nikomatsakis 2017-07-17 13:31:37 +00:00
ui-fulldeps Change some helps to suggestions 2017-07-17 10:03:37 +02:00
COMPILER_TESTS.md Merge ui/README.md into COMPILER_TESTS.md and describe how custom UI normalization works. 2017-07-11 16:57:53 +08:00