about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-06-06 19:20:38 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-06-06 19:23:26 -0700
commitf4fb0f9eea00c619c2b91f83072306e89549c260 (patch)
tree6e26c7ce3e24434fddd8ccccdc9e99fbbe47a5e0 /src/rt/rust_kernel.cpp
parent3b4cfdeee20eb54d43612fed461729ffa6f6d2ec (diff)
downloadrust-f4fb0f9eea00c619c2b91f83072306e89549c260.tar.gz
rust-f4fb0f9eea00c619c2b91f83072306e89549c260.zip
Handle regions correctly in class ctors and dtors
Class ctors and dtors were always getting assigned the empty region
before, which meant a reference to the "self" region in a ctor argument
got resolved to a named region called "self" rather than the class's
self region, which led to a rather confusing error message as documented
in #2502.

Closes #2502
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions