about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorFélix Fischer <felix91gr@gmail.com>2019-03-26 11:12:14 -0300
committerFélix Fischer <felix91gr@gmail.com>2019-04-02 11:39:43 -0300
commit069957a8ad76d4604aca5e0d5e005a5e5ae8dc7f (patch)
tree6bb53b3e79d4300484896ee3445a8815a4836b2f /src/test/incremental/thinlto
parent25a11568fc5b995c2641560415e97244165dd278 (diff)
downloadrust-069957a8ad76d4604aca5e0d5e005a5e5ae8dc7f.tar.gz
rust-069957a8ad76d4604aca5e0d5e005a5e5ae8dc7f.zip
Add TransmutingNull Lint
* Late Lint pass, catches:
  * One liner: 0 -> null -> transmute
  * One liner: std:null() -> transmute
  * Const (which resolves to null) -> transmute
* UI Test case for Lint
* Updated test for issue 3849, because now the lint that code generated is in Clippy.
* Expanded `const.rs` miri-based Constant Folding code, to cover
  raw pointers
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions