rust/src/test/ui/object-lifetime
Aaron Hill 168e35d569
Include a span in more expected...found notes
In most places, we use a span when emitting `expected...found` errors.
However, there were a couple of places where we didn't use any span,
resulting in hard-to-interpret error messages.

This commit attaches the relevant span to these notes, and additionally
switches over to using `note_expected_found` instead of manually
formatting the message
2019-12-03 23:13:10 -05:00
..
object-lifetime-default-ambiguous.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
object-lifetime-default-ambiguous.stderr Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
object-lifetime-default-dyn-binding-nonstatic1.rs use static as object-lifetime default for type XX in Foo<Item=XX> 2019-08-19 13:50:44 -04:00
object-lifetime-default-dyn-binding-nonstatic1.stderr use static as object-lifetime default for type XX in Foo<Item=XX> 2019-08-19 13:50:44 -04:00
object-lifetime-default-dyn-binding-nonstatic2.rs use static as object-lifetime default for type XX in Foo<Item=XX> 2019-08-19 13:50:44 -04:00
object-lifetime-default-dyn-binding-nonstatic2.stderr use static as object-lifetime default for type XX in Foo<Item=XX> 2019-08-19 13:50:44 -04:00
object-lifetime-default-dyn-binding-nonstatic3.rs use static as object-lifetime default for type XX in Foo<Item=XX> 2019-08-19 13:50:44 -04:00
object-lifetime-default-dyn-binding-nonstatic3.stderr use static as object-lifetime default for type XX in Foo<Item=XX> 2019-08-19 13:50:44 -04:00
object-lifetime-default-dyn-binding-static.rs use static as object-lifetime default for type XX in Foo<Item=XX> 2019-08-19 13:50:44 -04:00
object-lifetime-default-elision.nll.stderr update tests 2019-10-27 09:39:14 -05:00
object-lifetime-default-elision.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
object-lifetime-default-elision.stderr Include a span in more expected...found notes 2019-12-03 23:13:10 -05:00
object-lifetime-default-from-box-error.nll.stderr Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
object-lifetime-default-from-box-error.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
object-lifetime-default-from-box-error.stderr Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
object-lifetime-default-from-rptr-box-error.nll.stderr update tests 2019-10-27 09:39:14 -05:00
object-lifetime-default-from-rptr-box-error.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
object-lifetime-default-from-rptr-box-error.stderr Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
object-lifetime-default-from-rptr-struct-error.nll.stderr update tests 2019-10-27 09:39:14 -05:00
object-lifetime-default-from-rptr-struct-error.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
object-lifetime-default-from-rptr-struct-error.stderr Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
object-lifetime-default-mybox.nll.stderr update tests 2019-10-27 09:39:14 -05:00
object-lifetime-default-mybox.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
object-lifetime-default-mybox.stderr Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
object-lifetime-default.rs Remove licenses 2018-12-25 21:08:33 -07:00
object-lifetime-default.stderr Make sure #[rustc_doc_only_macro] and other rustc attributes are registered 2019-06-30 12:47:33 +03:00