Ralf Jung
|
0cb3bf7912
|
Merge branch 'master' into fixme
|
2018-12-03 10:52:59 +01:00 |
|
Ralf Jung
|
0e44876a2d
|
fix mutability gap: do not allow shared mutation when creating frozen reference
|
2018-12-03 09:15:18 +01:00 |
|
Ralf Jung
|
36a2b89522
|
remove a whole lot of unnecessary attributes
|
2018-12-02 11:26:09 +01:00 |
|
Ralf Jung
|
429d84f068
|
remove/fix outdated FIXMEs in tests
|
2018-12-02 11:14:24 +01:00 |
|
Ralf Jung
|
97e010f5b9
|
barriers prevent deallocation
|
2018-11-27 14:26:23 +01:00 |
|
Ralf Jung
|
194710e112
|
no barriers for boxes
|
2018-11-27 14:26:23 +01:00 |
|
Ralf Jung
|
dd94930ee3
|
implement function barriers
|
2018-11-27 14:26:23 +01:00 |
|
Ralf Jung
|
7d623f73cc
|
do not use 'let _', it is strange
|
2018-11-26 15:31:53 +01:00 |
|
Ralf Jung
|
ec8cc029c1
|
on a deref, check that we are not using a mutable ref with a frozen tag
|
2018-11-21 15:44:47 +01:00 |
|
Ralf Jung
|
0b7625a079
|
make sure compile-fail tests would compile if we screw up
|
2018-11-21 10:19:00 +01:00 |
|
Ralf Jung
|
6085865975
|
adjust for InboundsCheck parameter of memory bounds check
|
2018-11-20 08:45:25 +01:00 |
|
Ralf Jung
|
880229d4c3
|
escape-on-cast, now ptr-deref does not change the tag at all, ever
|
2018-11-17 10:05:40 +01:00 |
|
Ralf Jung
|
b7dbb5e2a7
|
also consider boxes like unique references
|
2018-11-17 10:05:40 +01:00 |
|
Ralf Jung
|
c54dcf59ae
|
add some tests for retagging inside tuples and options
|
2018-11-16 11:13:55 +01:00 |
|
Ralf Jung
|
a1f895d6f2
|
retagging: descent into values, type-driven
|
2018-11-16 11:09:33 +01:00 |
|
Ralf Jung
|
827e5180f2
|
stacked borrows is broken without full MIR
|
2018-11-16 10:01:54 +01:00 |
|
Ralf Jung
|
7ac0e79ad5
|
stub Retag hook; fix tests for removal of -Zmir-emit-validate
|
2018-11-01 08:58:03 +01:00 |
|
Ralf Jung
|
fda03e9d7d
|
some more compile-fail tests
|
2018-10-22 16:48:10 +02:00 |
|
Ralf Jung
|
8134918390
|
don't use NOTE in tests
|
2018-10-19 12:29:49 +02:00 |
|
Ralf Jung
|
d11c668a39
|
no longer run rustc on the tests; instead make sure we actually deny all warnings
Also fix the fallout from that
|
2018-07-16 08:39:06 +02:00 |
|
Ralf Jung
|
30185d09f6
|
make sure we show error messages even when we cannot show span
|
2018-07-15 11:40:57 +02:00 |
|
Ralf Jung
|
01578ca6b3
|
don't run all compile-fail tests with full MIR
|
2018-07-12 11:02:48 +02:00 |
|
Ralf Jung
|
5f2f254695
|
move tests that no longer need MIR out of fullmir
|
2018-07-12 10:22:23 +02:00 |
|
Ralf Jung
|
ff5b0fee33
|
fix many tests and ignore some others; enable compile_fail tests again
|
2018-07-12 10:22:23 +02:00 |
|
Ralf Jung
|
2ea6663440
|
validation: check that int, float etc. are not undef
|
2017-09-16 11:45:56 +02:00 |
|
Oliver Schneider
|
a6cd7a2e08
|
Also move some compile-fail tests to fullmir-only
|
2017-06-21 15:07:40 +02:00 |
|