about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-12-03 22:57:40 +0000
committerbors <bors@rust-lang.org>2014-12-03 22:57:40 +0000
commitdaa0745886c2382c37d5d345f4c5b1b8f7b9a387 (patch)
treed5cfba1aad65a35c42d8563a75df82901e66eaf1 /src/rustllvm/RustWrapper.cpp
parentdbc379a66eae8504b663b0032da518595335d872 (diff)
parent931758c88a3d6deb95d55ef30fba71144815009e (diff)
downloadrust-daa0745886c2382c37d5d345f4c5b1b8f7b9a387.tar.gz
rust-daa0745886c2382c37d5d345f4c5b1b8f7b9a387.zip
auto merge of #18749 : nikomatsakis/rust/builtin-bounds-like-other-traits, r=pcwalton
Treat builtin bounds like all other kinds of trait matches. Introduce a simple hashset in the fulfillment context to catch cases where we register the exact same obligation twice. This helps prevent duplicate error reports but also handles the recursive obligations created by builtin bounds.

r? @pcwalton 
cc @FlaPer87 
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions