about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2018-10-23 10:30:41 -0400
committerNiko Matsakis <niko@alum.mit.edu>2018-10-23 10:32:46 -0400
commit1371cd27d04a9a850c9141b5657367a4706ce60d (patch)
tree8efb41b87c8740ad2b43092aa476fbffa8c7fbb6 /src/rustllvm/RustWrapper.cpp
parent64b5599352545e390ead3da4f14c3a1ffaba50d4 (diff)
downloadrust-1371cd27d04a9a850c9141b5657367a4706ce60d.tar.gz
rust-1371cd27d04a9a850c9141b5657367a4706ce60d.zip
check the self type is well-formed
This fixes `issue-28848.rs` -- it also handles another case that the
AST region checker gets wrong (`wf-self-type.rs`).  I don't actually
think that this is the *right way* to be enforcing this constraint --
I think we should probably do it more generally, perhaps by editing
`predicates_of` for the impl itself. The chalk-style implied bounds
setup ought to fix this.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions