diff options
| author | David Wood <david@davidtw.co> | 2019-01-03 15:38:59 +0100 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2019-01-03 19:33:05 +0100 |
| commit | 49337938cb783f98ae70cce7bf57a63d3196342f (patch) | |
| tree | 5dd651457773a0687f562fad7464b0d896e9dddc /src/test/codegen/gdb_debug_script_load.rs | |
| parent | ec194646fef1a467073ad74b8b68f6f202cfce97 (diff) | |
| download | rust-49337938cb783f98ae70cce7bf57a63d3196342f.tar.gz rust-49337938cb783f98ae70cce7bf57a63d3196342f.zip | |
Fix bug in associated constant type annotations.
This commit 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.
Diffstat (limited to 'src/test/codegen/gdb_debug_script_load.rs')
0 files changed, 0 insertions, 0 deletions
