about summary refs log tree commit diff
path: root/src/libsyntax/codemap.rs
diff options
context:
space:
mode:
authorSteven Stewart-Gallus <sstewartgallus00@langara.bc.ca>2013-05-12 19:43:44 -0700
committerSteven Stewart-Gallus <sstewartgallus00@langara.bc.ca>2013-05-13 10:51:14 -0700
commit8c5de02289d515a367746d062b81e4d473e558ee (patch)
tree1613804ec2359910fe54cbd35bc0ac27fa7a1c82 /src/libsyntax/codemap.rs
parent1bf2f68bb255cc6833d4253c4f6d071af9e05648 (diff)
downloadrust-8c5de02289d515a367746d062b81e4d473e558ee.tar.gz
rust-8c5de02289d515a367746d062b81e4d473e558ee.zip
Fixed type signature of uninhabited method.
Added unit test to prevent similar mistakes from happening again. The
previous method was wrong because it dereferenced a pointer to a void type to
match on the result. No self pointer was needed, and the correct method
signature took the self value by value.
Diffstat (limited to 'src/libsyntax/codemap.rs')
0 files changed, 0 insertions, 0 deletions