Closed
Description
The NLL work has been coasting for a long time by focusing on either adding tests that opt into NLL (via #[feature(nll)]
) or using compare-mode=nll
to exercise the ui/
test suite.
This obviously was imperfect, since it skipped everything outside of ui/
that didn't use the explicit opt-in, so we have been missing those cases.
- (We resolved this for
compile-fail/
by porting those tests to theui/
directory.)
At this point, we really should be exercising NLL against (at least) the run-pass test suite.
- We might do this by hacking
compiletest
to have some sort ofcompare-mode=nll
that works with therun-pass/
suite. - Or we might do it by "just" migrating all of the
run-pass/
tests to theui/
directory.- Right now, this second option is the plan of record.
Below is a task list of directories to be ported from src/test/run-pass/*/
:
-
./
: PR Migrate (some) of run-pass/ to ui #53860 -
allocator/
: PR migrate run-pass/*/ to ui/run-pass #53994 auxiliary/
(N/A)-
bench/
: PR migrate run-pass/*/ to ui/run-pass #53994 -
borrowck/
: PR migrate run-pass/borrowck to ui/run-pass #53992 -
closure-expected-type/
: PR Migrate (some) of run-pass/ to ui #53860 -
ctfe/
: PR migrate run-pass/*/ to ui/run-pass #53994 -
foreign-mod-src/
: PR Migrate (some) of run-pass/ to ui #53860 -
foreign-src/
: PR Migrate (some) of run-pass/ to ui #53860 -
generator/
: PR migrate run-pass/*/ to ui/run-pass #53994 -
hygiene/
: PR Migrate (some) of run-pass/ to ui #53860 -
impl-trait/
: PR migrate run-pass/*/ to ui/run-pass #53994 -
import-crate-with-invalid-spans/
: PR Migrate (some) of run-pass/ to ui #53860 -
issue-18804/
: PR Migrate (some) of run-pass/ to ui #53860 -
issue24687-embed-debuginfo/
: PR Migrate (some) of run-pass/ to ui #53860 -
issue_26873_multifile/
: PR Migrate (some) of run-pass/ to ui #53860 -
issue-37291/
: PR Migrate (some) of run-pass/ to ui #53860 -
issue-50865-private-impl-trait/
: PR Migrate (some) of run-pass/ to ui #53860 -
issue-52140/
: PR Migrate (some) of run-pass/ to ui #53860 -
issue-52141/
: PR Migrate (some) of run-pass/ to ui #53860 -
issue-52705/
: PR Migrate (some) of run-pass/ to ui #53860 -
mir-inlining/
: PR Migrate (some) of run-pass/ to ui #53860 -
mod_dir_implicit_aux/
: PR Migrate (some) of run-pass/ to ui #53860 -
mod_dir_simple/
: PR Migrate (some) of run-pass/ to ui #53860 -
module-polymorphism3-files/
: PR Migrate (some) of run-pass/ to ui #53860 -
nll/
: PR migrate run-pass/*/ to ui/run-pass #53994 -
non_modrs_mods/
: PR migrate run-pass/*/ to ui/run-pass #53994 -
panic-runtime/
: PR migrate run-pass/*/ to ui/run-pass #53994 -
rfc1445/
: PR Migrate (some) of run-pass/ to ui #53860 -
rfc1717/
: PR Migrate (some) of run-pass/ to ui #53860 -
rfc-1789-as-cell/
: PR Migrate (some) of run-pass/ to ui #53860 -
rfc-1937-termination-trait/
: PR Migrate (some) of run-pass/ to ui #53860 -
rfc-2005-default-binding-mode/
: PR Migrate (some) of run-pass/ to ui #53860 -
rfc-2008-non-exhaustive/
: PR Migrate (some) of run-pass/ to ui #53860 -
rfc-2126-crate-paths/
: PR Migrate (some) of run-pass/ to ui #53860 -
rfc-2126-extern-absolute-paths/
: PR Migrate (some) of run-pass/ to ui #53860 -
rfc-2151-raw-identifiers/
: PR Migrate (some) of run-pass/ to ui #53860 -
rfc-2175-or-if-while-let/
: PR Migrate (some) of run-pass/ to ui #53860 -
specialization/
: PR migrate run-pass/*/ to ui/run-pass #53994 -
syntax-extension-source-utils-files/
: PR Migrate (some) of run-pass/ to ui #53860 -
thinlto/
: PR migrate run-pass/*/ to ui/run-pass #53994 -
uniform-paths/
: PR migrate run-pass/*/ to ui/run-pass #53994 -
union/
: PR migrate run-pass/*/ to ui/run-pass #53994 -
unsized-locals/
: PR migrate run-pass/*/ to ui/run-pass #53994