diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-11-15 18:04:25 -0800 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-11-15 18:14:13 -0800 |
| commit | 82017b8416798b4ad46c1b7416611b353374051a (patch) | |
| tree | 3a8938d7f43d2bcb066f6364db17346a772e8de8 /src/rt/rust_kernel.cpp | |
| parent | f9ca0c89d8d91a71d14a980037f3d7e555667515 (diff) | |
| download | rust-82017b8416798b4ad46c1b7416611b353374051a.tar.gz rust-82017b8416798b4ad46c1b7416611b353374051a.zip | |
Make staticness mismatch a fatal error
Exit with a fatal error, instead of recording a non-fatal error, when we encounter an impl method that's static when its corresponding trait method isn't (or vice versa). This is because code later on in the typechecker will expect the staticness of the two methods to be consistent and ICE otherwise. r=nmatsakis Closes #3969
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
