about summary refs log tree commit diff
path: root/src/test/ui/traits
AgeCommit message (Collapse)AuthorLines
2018-11-01update tests that have changed outputMichael Hewson-42/+9
I’m not sure why these tests have different output now, but they do. In all cases, the error message that is missing looks like this: “the trait bound `dyn Trait: Trait` is not satisfied” My guess is that the error message is going away because object-safety now involves trait solving, and these extra error messages are no longer leaking out.
2018-10-21Use new region infer errors for explaining borrowsMatthew Jasper-3/+4
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-16Check the type of statics and constants for `Sized`nessOliver Scherer-6/+3
2018-10-11structured suggestion for E0223 ambiguous associated typeZack M. Davis-9/+3
It looks like we tend to use angle-brackets around the placeholder in the few other places we use `Applicability::HasPlaceholders`, but that would be confusing here, so ...
2018-10-04Convert conservative_impl_trait.rs to compile-passJonas Schievink-0/+18
2018-08-24updates tests to use new error codeMatthew Russo-5/+5
2018-08-20Fix diagnostic regressionvarkor-6/+6
2018-08-20Update new ui testsvarkor-10/+10
2018-08-19Fix some remaining testsvarkor-2/+2
2018-08-19Refactor generic argument count check in astconvvarkor-1/+1
2018-08-19Revert broken testvarkor-0/+1
2018-08-19"Fix" annoying testvarkor-1/+0
2018-08-19Lift some Sized checks.Masaki Hara-0/+1
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+2901