about summary refs log tree commit diff
path: root/src/rt/rust_port.cpp
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2011-07-13 15:30:30 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2011-07-13 15:30:30 -0700
commit04b239f3cb9d4b62488dc2d219e9bd9a242bdf8f (patch)
treea947b3c65d71fc7aedba30b9ea3f230cae7d8d5d /src/rt/rust_port.cpp
parent6b86dcde676ad0640e4a35f33ef0e49429cdc9b7 (diff)
downloadrust-04b239f3cb9d4b62488dc2d219e9bd9a242bdf8f.tar.gz
rust-04b239f3cb9d4b62488dc2d219e9bd9a242bdf8f.zip
Use more precise spans in error messages for bad FRU exprs
The type error message for an expression using FRU where a field
expression had the wrong type was using the span for the entire
expression. Fixed it to use the span for the individual field.

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