about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2019-01-03 15:38:59 +0100
committerDavid Wood <david@davidtw.co>2019-01-03 19:33:05 +0100
commit49337938cb783f98ae70cce7bf57a63d3196342f (patch)
tree5dd651457773a0687f562fad7464b0d896e9dddc /src/rustllvm/RustWrapper.cpp
parentec194646fef1a467073ad74b8b68f6f202cfce97 (diff)
downloadrust-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/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions