about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <respindola@mozilla.com>2011-01-10 15:56:55 -0500
committerGraydon Hoare <graydon@mozilla.com>2011-01-11 13:58:39 -0800
commitc5a766f13379e543d2721b610c8eb6f3beb2af69 (patch)
tree4e0857ddd4bd08c32a37470e4ee64c5b193b970c /src/rt/rust_kernel.cpp
parenta8eeec1dbd7e06bc811e55c641b6c282807997a5 (diff)
downloadrust-c5a766f13379e543d2721b610c8eb6f3beb2af69.tar.gz
rust-c5a766f13379e543d2721b610c8eb6f3beb2af69.zip
Fix two invalid import cases we were not detecting:
* If an import was unused we would never print any errors for it.
* We would keep the existing environment in scope when descending 'foo.bar'
  and would find 'bar' in the global environment if there was no 'bar' in
  'foo'.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions