rust/src/test/ui/dropck
Matthew Jasper 2a3969a3f7 Use new region infer errors for explaining borrows
This gives at least some explanation for why a borrow is expected to
last for a certain free region. Also:

* Reports E0373: "closure may outlive the current function" with NLL.
* Special cases the case of returning a reference to (or value
  referencing) a local variable or temporary (E0515).
* Special case assigning a reference to a local variable in a closure
  to a captured variable.
2018-10-21 12:35:00 +01:00
..
auxiliary Stabilize attributes on generic parameters 2018-04-05 02:19:56 +03:00
drop-on-non-struct.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
drop-on-non-struct.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
drop-with-active-borrows-1.nll.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
drop-with-active-borrows-1.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
drop-with-active-borrows-1.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
drop-with-active-borrows-2.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
drop-with-active-borrows-2.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
drop-with-active-borrows-2.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
dropck-eyepatch-extern-crate.nll.stderr Updates to .stderr output in ui tests from earlier changes. 2018-10-05 12:04:53 +02:00
dropck-eyepatch-extern-crate.rs rust-lang/rust#51025: improve test robustness so that they work under NLL too. 2018-05-25 13:00:51 +02:00
dropck-eyepatch-extern-crate.stderr rust-lang/rust#51025: improve test robustness so that they work under NLL too. 2018-05-25 13:00:51 +02:00
dropck-eyepatch-implies-unsafe-impl.rs Stabilize attributes on generic parameters 2018-04-05 02:19:56 +03:00
dropck-eyepatch-implies-unsafe-impl.stderr Stabilize attributes on generic parameters 2018-04-05 02:19:56 +03:00
dropck-eyepatch-reorder.nll.stderr Updates to .stderr output in ui tests from earlier changes. 2018-10-05 12:04:53 +02:00
dropck-eyepatch-reorder.rs rust-lang/rust#51025: improve test robustness so that they work under NLL too. 2018-05-25 13:00:51 +02:00
dropck-eyepatch-reorder.stderr rust-lang/rust#51025: improve test robustness so that they work under NLL too. 2018-05-25 13:00:51 +02:00
dropck-eyepatch.nll.stderr Updates to .stderr output in ui tests from earlier changes. 2018-10-05 12:04:53 +02:00
dropck-eyepatch.rs rust-lang/rust#51025: improve test robustness so that they work under NLL too. 2018-05-25 13:00:51 +02:00
dropck-eyepatch.stderr rust-lang/rust#51025: improve test robustness so that they work under NLL too. 2018-05-25 13:00:51 +02:00
dropck-union.nll.stderr Updates to .stderr output in ui tests from earlier changes. 2018-10-05 12:04:53 +02:00
dropck-union.rs fix license 2018-08-17 09:17:35 +02:00
dropck-union.stderr fix license 2018-08-17 09:17:35 +02:00
dropck_no_diverge_on_nonregular_1.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
dropck_no_diverge_on_nonregular_1.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
dropck_no_diverge_on_nonregular_2.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
dropck_no_diverge_on_nonregular_2.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
dropck_no_diverge_on_nonregular_3.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
dropck_no_diverge_on_nonregular_3.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
dropck_trait_cycle_checked.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
dropck_trait_cycle_checked.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
dropck_trait_cycle_checked.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00