gecko-dev/third_party/rust/rayon/tests/compile-fail
Kartikaya Gupta 868a8d8bd5 Bug 1438892 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: wsncokjtul

--HG--
rename : third_party/rust/coco/LICENSE-APACHE => third_party/rust/crossbeam-deque/LICENSE-APACHE
rename : third_party/rust/coco/LICENSE-MIT => third_party/rust/crossbeam-deque/LICENSE-MIT
rename : third_party/rust/coco/LICENSE-APACHE => third_party/rust/crossbeam-epoch/LICENSE-APACHE
rename : third_party/rust/coco/LICENSE-MIT => third_party/rust/crossbeam-epoch/LICENSE-MIT
rename : third_party/rust/coco/LICENSE-APACHE => third_party/rust/crossbeam-utils/LICENSE-APACHE
rename : third_party/rust/coco/LICENSE-MIT => third_party/rust/crossbeam-utils/LICENSE-MIT
rename : third_party/rust/coco/LICENSE-APACHE => third_party/rust/rayon-0.8.2/LICENSE-APACHE
rename : third_party/rust/coco/LICENSE-MIT => third_party/rust/rayon-0.8.2/LICENSE-MIT
rename : third_party/rust/rayon/src/iter/README.md => third_party/rust/rayon-0.8.2/src/iter/README.md
rename : third_party/rust/rayon/src/iter/internal.rs => third_party/rust/rayon-0.8.2/src/iter/internal.rs
rename : third_party/rust/rayon/tests/compile-fail-unstable/future_escape.rs => third_party/rust/rayon-0.8.2/tests/compile-fail-unstable/future_escape.rs
rename : third_party/rust/rayon/tests/run-pass/sort-panic-safe.rs => third_party/rust/rayon-0.8.2/tests/run-pass/sort-panic-safe.rs
rename : third_party/rust/coco/LICENSE-APACHE => third_party/rust/rayon-core/LICENSE-APACHE
rename : third_party/rust/coco/LICENSE-MIT => third_party/rust/rayon-core/LICENSE-MIT
extra : rebase_source : fad67f2d82c7b49554ce9b03fb12da3d4b66a378
2018-02-20 09:05:08 -05:00
..
README.md
cannot_collect_filtermap_data.rs Bug 1438892 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel 2018-02-20 09:05:08 -05:00
cannot_zip_filtered_data.rs
cell_par_iter.rs
must_use.rs Bug 1438892 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel 2018-02-20 09:05:08 -05:00
no_send_par_iter.rs Bug 1438892 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel 2018-02-20 09:05:08 -05:00
quicksort_race1.rs Bug 1438892 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel 2018-02-20 09:05:08 -05:00
quicksort_race2.rs Bug 1438892 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel 2018-02-20 09:05:08 -05:00
quicksort_race3.rs Bug 1438892 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel 2018-02-20 09:05:08 -05:00
rc_par_iter.rs Bug 1438892 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel 2018-02-20 09:05:08 -05:00
rc_return.rs Bug 1341102 - Revendor rayon. 2017-10-04 17:13:34 +11:00
rc_upvar.rs
scope_join_bad.rs

README.md

This directory contains test files that are not expected to compile. It is useful for writing tests that things which ought not to type-check do not, in fact, type-check.

To write a test, just write a .rs file using Rayon. Then, for each compilation error, write a //~ ERROR E123 annotation on the line where the error occurs. E123 should be the error code that is issued by rustc. This should be reasonably robust against future compiler changes, though in some cases the errors may start showing up on different lines etc as compiler heuristics change.