Commit Graph

2646 Commits

Author SHA1 Message Date
Ralf Jung
5bff6258a5
Merge pull request #741 from RalfJung/stacked-borrows-2
use prettier printing
2019-05-23 16:28:18 +02:00
Ralf Jung
1d92791965 use prettier printing 2019-05-23 15:54:50 +02:00
Ralf Jung
cf027587f0
Merge pull request #740 from RalfJung/stacked-borrows-2
hopefully improve error message a bit
2019-05-23 12:37:55 +02:00
Ralf Jung
3e33e54b5b hopefully improve error message a bit 2019-05-23 11:03:08 +02:00
Ralf Jung
75d97d9462
Merge pull request #738 from RalfJung/stacked-borrows-2
test for new read rules
2019-05-21 17:21:09 +02:00
Ralf Jung
74f98b3803 test for new read rules 2019-05-21 15:43:18 +02:00
Ralf Jung
6d65c8553a
Merge pull request #736 from rust-lang/rustup
prepare for MaybeUninit stabilization
2019-05-21 09:57:44 +02:00
Ralf Jung
fa70c0e809 Merge remote-tracking branch 'origin/master' into master.2 2019-05-21 08:54:18 +02:00
Ralf Jung
5a4e1cdd86 update Rust 2019-05-21 08:54:15 +02:00
Oliver Scherer
c2e88b3869
Merge pull request #734 from RalfJung/readme
expand explanation of how we treat validity invariants
2019-05-20 11:10:19 +02:00
Ralf Jung
0c85dbf3df prepare for MaybeUninit stabilization 2019-05-20 10:53:34 +02:00
Ralf Jung
df36c2bb7d expand explanation of how we treat validity invariants 2019-05-20 09:32:01 +02:00
Ralf Jung
f761450aba
Merge pull request #732 from RalfJung/stacked-borrows-2
fix typo
2019-05-19 22:42:33 +02:00
Ralf Jung
5c54a58c06 typo 2019-05-19 14:04:59 +02:00
Ralf Jung
78210a5758
Use drain instead of manually rolling it ourselves (#731)
Use `drain` instead of manually rolling it ourselves
2019-05-19 13:53:30 +02:00
Oliver Scherer
3fde45233b Prefer drain over manual implementation of drain 2019-05-19 12:40:59 +02:00
Oliver Scherer
37b2eea714
Merge pull request #730 from RalfJung/stacked-borrows-2
nits
2019-05-17 23:57:34 +02:00
Ralf Jung
6b4164e0df nits 2019-05-17 19:42:35 +02:00
Ralf Jung
858077e5f8
test and support two-phase reborrows of raw pointers (#727)
test and support two-phase reborrows of raw pointers
2019-05-17 16:29:16 +02:00
Ralf Jung
9c161b80d0 reading does not remove Unique, it just invalidates them 2019-05-17 15:29:02 +02:00
Ralf Jung
8212314441 fix tests 2019-05-17 15:03:34 +02:00
Ralf Jung
4b9e1544c2 give up on two-phase borrows 2019-05-17 15:02:31 +02:00
Ralf Jung
3618992a39 deduplicate tests 2019-05-15 18:12:58 +02:00
Ralf Jung
b9517ca9f3 this also fixed our 2-phase woes 2019-05-15 18:12:58 +02:00
Ralf Jung
1447242bf9 refactor to simplify 2019-05-15 18:12:58 +02:00
Ralf Jung
f676f2265b make writes act stack-like 2019-05-15 18:12:58 +02:00
Ralf Jung
77737cdb29
make printing return place less verbose (#728)
make printing return place less verbose
2019-05-15 18:12:46 +02:00
Ralf Jung
9b3f07b161 make printing return place less verbose 2019-05-15 17:23:33 +02:00
Ralf Jung
3d43a0b840
Rustup (#723)
Rustup
2019-05-15 09:29:26 +02:00
Ralf Jung
7a5a0303be bump Rust 2019-05-15 08:58:43 +02:00
Ralf Jung
bc0c76d861 fix for latest rustc 2019-05-13 22:07:24 +02:00
Ralf Jung
ada5edbf96 RUST_LOG got renamed to RUSTC_LOG 2019-05-13 14:10:52 +02:00
Ralf Jung
7f09e61c31 make HashMap test a bit nicer 2019-05-13 11:45:39 +02:00
Ralf Jung
be47fae173 build with latest version 2019-05-13 11:37:54 +02:00
Oliver Scherer
260256923e
Merge pull request #726 from RalfJung/stacked-borrows-2
rename per-location aprt of reborowing to 'granting'
2019-05-13 10:48:08 +02:00
Ralf Jung
a9e66928d6
Update src/stacked_borrows.rs
Co-Authored-By: bjorn3 <bjorn3@users.noreply.github.com>
2019-05-11 12:07:25 +02:00
Ralf Jung
8530080d03 rename per-location part of reborowing to 'granting' 2019-05-11 12:06:59 +02:00
Oliver Scherer
72698b1b30
Merge pull request #725 from RalfJung/xargo
switch back to upstream xargo
2019-05-10 11:40:23 +02:00
Ralf Jung
0f96676f43 switch back to upstream xargo 2019-05-10 08:28:02 +02:00
Oliver Scherer
053aa69499
Merge pull request #720 from RalfJung/rustup
fix for latest Rust
2019-05-02 09:09:15 +02:00
Ralf Jung
b08bf47606 fix tests for latest Rust 2019-05-01 20:43:43 +02:00
Ralf Jung
d05159f3a9 switch to my xargo fork, because that one works with current libstd 2019-05-01 20:37:08 +02:00
Ralf Jung
41d1602c90
Merge pull request #719 from RalfJung/stacked-borrows-2
add arielby's example
2019-04-30 21:14:41 +02:00
Ralf Jung
617195eb12 add arielby's example 2019-04-30 20:18:29 +02:00
Ralf Jung
784233573f
Merge pull request #718 from RalfJung/stacked-borrows-2
SharedReadOnly reborrows are never weak
2019-04-30 20:03:16 +02:00
bjorn3
17643af868
Apply suggestions from code review
Co-Authored-By: RalfJung <post@ralfj.de>
2019-04-30 15:31:53 +02:00
Ralf Jung
59985157d3 SharedReadOnly reborrows are never weak 2019-04-30 13:55:04 +02:00
Ralf Jung
048ce3cb1c
Merge pull request #717 from Eijebong/metadata
Update cargo_metadata to 0.7
2019-04-27 23:59:44 +02:00
Bastien Orivel
69a252c1b3 Update cargo_metadata to 0.7 2019-04-27 23:31:48 +02:00
Ralf Jung
0f0c5f6d9a
Merge pull request #716 from RalfJung/rustup
fix HeapFree return value
2019-04-27 18:45:22 +02:00