about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-01-07 14:16:27 +0000
committerbors <bors@rust-lang.org>2019-01-07 14:16:27 +0000
commit21ac19d8fefb023752645fcf2517ce0fad663bf0 (patch)
tree12d496ebd189b7cd361e51c06b7e001a3397545f /src/test/incremental/thinlto
parent1f7c44cdb2958ceb0a5d78634a704a492a241b6f (diff)
parent49337938cb783f98ae70cce7bf57a63d3196342f (diff)
downloadrust-21ac19d8fefb023752645fcf2517ce0fad663bf0.tar.gz
rust-21ac19d8fefb023752645fcf2517ce0fad663bf0.zip
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
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions