diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2012-09-07 12:06:42 -0700 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-09-07 13:00:03 -0700 |
| commit | 14303bad89a049b5ca54ad49b4f4ccff7a06b85f (patch) | |
| tree | 5ddc7106a7f21533f2a24a29eceb120716ac9756 /src/libsyntax/parse | |
| parent | c21b3ff81847e9c9bcce83f961dffa385fa059ae (diff) | |
| download | rust-14303bad89a049b5ca54ad49b4f4ccff7a06b85f.tar.gz rust-14303bad89a049b5ca54ad49b4f4ccff7a06b85f.zip | |
Do not copy values of type () or _|_
This can trigger a crash because we assume we can supply null ptrs and undefined values for values of those types, as we should be treated them as zero-size. Interestingly, this crash only shows up (atm) in non-optimized builds. Therefore, I added a -Z no-opt flag so that the new test (capture_nil) can specify that it should not run with optimizations enabled.
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions
