about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorMichael Hewson <michael@michaelhewson.ca>2017-11-10 10:30:30 -0500
committerMichael Hewson <michael@michaelhewson.ca>2017-12-17 10:13:09 +0100
commite7d1542a52dd04b58058d5d170a7a9b09f528f8c (patch)
treed646d8e846b96dd1302278a4408d0c2e8162af8e /src/test/incremental/thinlto
parent083635eab2c146a35d734ab40c5a3ba5df720786 (diff)
downloadrust-e7d1542a52dd04b58058d5d170a7a9b09f528f8c.tar.gz
rust-e7d1542a52dd04b58058d5d170a7a9b09f528f8c.zip
don't emit a type error if autoderef ends in an inference variable, as long as we went through a raw pointer
This avoids a break in backward compatibility in the following case:

```
let ptr = std::ptr::null();
let _ = &data as *const *const ();
if data.null() {}
```
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions