зеркало из https://github.com/mozilla/gecko-dev.git
868a8d8bd5
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 |
||
---|---|---|
.. | ||
README.md | ||
cannot_collect_filtermap_data.rs | ||
cannot_zip_filtered_data.rs | ||
cell_par_iter.rs | ||
must_use.rs | ||
no_send_par_iter.rs | ||
quicksort_race1.rs | ||
quicksort_race2.rs | ||
quicksort_race3.rs | ||
rc_par_iter.rs | ||
rc_return.rs | ||
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.