about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2014-04-01 18:31:04 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2014-04-17 11:25:46 +0200
commit0e30f07abc76587f676e91770b7630ac9727b2cb (patch)
tree6ee7303660128568f955e6217c5b6f815ac656cb /src/rustllvm/ExecutionEngineWrapper.cpp
parent787f4151e3ac32ffe455c2d3fd991def36be9758 (diff)
downloadrust-0e30f07abc76587f676e91770b7630ac9727b2cb.tar.gz
rust-0e30f07abc76587f676e91770b7630ac9727b2cb.zip
Guard variance inference for params bound in non-variance context.
Before adding a variance constrant for a given early-bound param,
check if it was meant to be inferred.

To support the above, added `fn is_to_be_inferred` to
`variance::ConstraintContext`.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions