rust/src/test/ui/wf
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
..
wf-array-elem-sized.rs
wf-array-elem-sized.stderr
wf-const-type.rs
wf-const-type.stderr Check the type of statics and constants for Sizedness 2018-10-16 17:01:24 +02:00
wf-enum-bound.rs
wf-enum-bound.stderr
wf-enum-fields-struct-variant.rs
wf-enum-fields-struct-variant.stderr
wf-enum-fields.rs
wf-enum-fields.stderr
wf-fn-where-clause.rs rustc_typeck: turn where Type:, into a WF(Type) predicate, instead of ignoring it. 2018-08-31 09:02:35 +03:00
wf-fn-where-clause.stderr rustc_typeck: turn where Type:, into a WF(Type) predicate, instead of ignoring it. 2018-08-31 09:02:35 +03:00
wf-impl-associated-type-region.rs
wf-impl-associated-type-region.stderr
wf-impl-associated-type-trait.rs
wf-impl-associated-type-trait.stderr
wf-in-fn-arg.rs
wf-in-fn-arg.stderr
wf-in-fn-ret.rs
wf-in-fn-ret.stderr
wf-in-fn-type-arg.rs
wf-in-fn-type-arg.stderr
wf-in-fn-type-ret.rs
wf-in-fn-type-ret.stderr
wf-in-fn-type-static.rs
wf-in-fn-type-static.stderr
wf-in-fn-where-clause.rs
wf-in-fn-where-clause.stderr
wf-in-obj-type-static.rs
wf-in-obj-type-static.stderr
wf-in-obj-type-trait.rs
wf-in-obj-type-trait.stderr
wf-inherent-impl-method-where-clause.rs
wf-inherent-impl-method-where-clause.stderr
wf-inherent-impl-where-clause.rs
wf-inherent-impl-where-clause.stderr
wf-misc-methods-issue-28609.nll.stderr Use new region infer errors for explaining borrows 2018-10-21 12:35:00 +01:00
wf-misc-methods-issue-28609.rs
wf-misc-methods-issue-28609.stderr
wf-object-safe.rs
wf-object-safe.stderr
wf-outlives-ty-in-fn-or-trait.rs stabalize infer outlives requirements (RFC 2093). 2018-09-11 11:40:04 -04:00
wf-outlives-ty-in-fn-or-trait.stderr stabalize infer outlives requirements (RFC 2093). 2018-09-11 11:40:04 -04:00
wf-static-method.rs
wf-static-method.stderr
wf-static-type.rs
wf-static-type.stderr Check the type of statics and constants for Sizedness 2018-10-16 17:01:24 +02:00
wf-struct-bound.rs
wf-struct-bound.stderr
wf-struct-field.rs
wf-struct-field.stderr
wf-trait-associated-type-bound.rs
wf-trait-associated-type-bound.stderr
wf-trait-associated-type-region.rs
wf-trait-associated-type-region.stderr
wf-trait-associated-type-trait.rs
wf-trait-associated-type-trait.stderr
wf-trait-bound.rs
wf-trait-bound.stderr
wf-trait-default-fn-arg.rs
wf-trait-default-fn-arg.stderr
wf-trait-default-fn-ret.rs
wf-trait-default-fn-ret.stderr
wf-trait-default-fn-where-clause.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
wf-trait-default-fn-where-clause.stderr
wf-trait-fn-arg.rs
wf-trait-fn-arg.stderr
wf-trait-fn-ret.rs
wf-trait-fn-ret.stderr
wf-trait-fn-where-clause.rs
wf-trait-fn-where-clause.stderr
wf-trait-superbound.rs
wf-trait-superbound.stderr