about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2014-11-07 16:14:32 -0500
committerNiko Matsakis <niko@alum.mit.edu>2014-12-02 19:05:14 -0500
commitd85ff16173b54a1aa813eabb411c45c28ffcb66d (patch)
tree1f6de482ed7c6d579650a6fe114adae3d6bb2593 /src/rustllvm/RustWrapper.cpp
parent3a325c666d2cb7e297bf3057ff2442f96a79428b (diff)
downloadrust-d85ff16173b54a1aa813eabb411c45c28ffcb66d.tar.gz
rust-d85ff16173b54a1aa813eabb411c45c28ffcb66d.zip
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.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions