rust/src/test
bors 21ac19d8fe Auto merge of #57304 - davidtwco:issue-57280, r=nikomatsakis
NLL: Fix bug in associated constant type annotations.

Fixes #57280.

This PR reverses the variance used when relating types from the type
annotation of an associated constant - this matches the behaviour of the
lexical borrow checker and fixes a bug whereby matching a `&'a str`
against a `&'static str` would produce an error.

r? @nikomatsakis
2019-01-07 14:16:27 +00:00
..
auxiliary Remove licenses 2018-12-25 21:08:33 -07:00
codegen Remove licenses 2018-12-25 21:08:33 -07:00
codegen-units Remove licenses 2018-12-25 21:08:33 -07:00
compile-fail Rename and fix nolink-with-link-args test 2018-12-31 13:51:40 +02:00
compile-fail-fulldeps/auxiliary Store Ident rather than just Name in HIR types Item and ForeignItem. 2018-12-26 21:26:37 +00:00
debuginfo Fix repeated word typos 2019-01-03 21:33:37 +01:00
incremental Fix unresolved inference variable ICE. 2018-12-30 14:30:59 +01:00
mir-opt Refactor UserTypeAnnotation. 2018-12-30 14:25:20 +01:00
pretty Remove licenses 2018-12-25 21:08:33 -07:00
run-fail Remove licenses 2018-12-25 21:08:33 -07:00
run-fail-fulldeps Remove licenses 2018-12-25 21:08:33 -07:00
run-make Remove licenses 2018-12-25 21:08:33 -07:00
run-make-fulldeps Auto merge of #57286 - alexcrichton:less-thin-2-2, r=nikomatsakis 2019-01-06 02:26:20 +00:00
run-pass Auto merge of #57354 - kennytm:rollup, r=kennytm 2019-01-05 17:39:59 +00:00
run-pass-fulldeps Get rid of Block::recovered 2018-12-27 15:51:36 +03:00
run-pass-valgrind Remove licenses 2018-12-25 21:08:33 -07:00
rustdoc force binary filename for compiled doctests 2019-01-04 09:57:17 -06:00
rustdoc-js Remove licenses 2018-12-25 21:08:33 -07:00
rustdoc-ui make panictry! private to libsyntax 2019-01-02 11:02:30 -05:00
rustfix tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
ui Auto merge of #57304 - davidtwco:issue-57280, r=nikomatsakis 2019-01-07 14:16:27 +00:00
ui-fulldeps Store Ident rather than just Name in HIR types Item and ForeignItem. 2018-12-26 21:26:37 +00:00
COMPILER_TESTS.md rustc-guide has moved 2018-11-26 15:03:13 -06:00