diff options
| author | bors <bors@rust-lang.org> | 2019-01-07 14:16:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-01-07 14:16:27 +0000 |
| commit | 21ac19d8fefb023752645fcf2517ce0fad663bf0 (patch) | |
| tree | 12d496ebd189b7cd361e51c06b7e001a3397545f /src/test/codegen/gdb_debug_script_load.rs | |
| parent | 1f7c44cdb2958ceb0a5d78634a704a492a241b6f (diff) | |
| parent | 49337938cb783f98ae70cce7bf57a63d3196342f (diff) | |
| download | rust-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/codegen/gdb_debug_script_load.rs')
0 files changed, 0 insertions, 0 deletions
