]> git.lizzy.rs Git - rust.git/log
rust.git
4 years agoadjust for goto_block refactoring
Ralf Jung [Mon, 25 Nov 2019 21:48:31 +0000 (22:48 +0100)]
adjust for goto_block refactoring

4 years agoAuto merge of #1078 - RalfJung:uprust, r=RalfJung
bors [Tue, 26 Nov 2019 13:29:38 +0000 (13:29 +0000)]
Auto merge of #1078 - RalfJung:uprust, r=RalfJung

cargo update

4 years agocargo update
Ralf Jung [Tue, 26 Nov 2019 13:28:56 +0000 (14:28 +0100)]
cargo update

4 years agoAuto merge of #1076 - RalfJung:coercion-test, r=RalfJung
bors [Mon, 25 Nov 2019 14:12:15 +0000 (14:12 +0000)]
Auto merge of #1076 - RalfJung:coercion-test, r=RalfJung

test closure-to-fn-ptr coercions a bit more

Also add some commented-out failing tests, Cc https://github.com/rust-lang/rust/issues/66738 https://github.com/rust-lang/miri/issues/1075

4 years agoand another reference
Ralf Jung [Mon, 25 Nov 2019 14:10:39 +0000 (15:10 +0100)]
and another reference

4 years agorename some more tests
Ralf Jung [Mon, 25 Nov 2019 14:08:47 +0000 (15:08 +0100)]
rename some more tests

4 years agorename test and add some references
Ralf Jung [Mon, 25 Nov 2019 14:08:24 +0000 (15:08 +0100)]
rename test and add some references

4 years agotest closure-to-fn-ptr coercions a bit more
Ralf Jung [Mon, 25 Nov 2019 14:01:05 +0000 (15:01 +0100)]
test closure-to-fn-ptr coercions a bit more

4 years agoAuto merge of #1072 - RalfJung:locally-built-rustc, r=oli-obk
bors [Sun, 24 Nov 2019 17:55:16 +0000 (17:55 +0000)]
Auto merge of #1072 - RalfJung:locally-built-rustc, r=oli-obk

cargo-miri: support locally built rustc

This also removes an odd hack from our `./miri` script.

4 years agoAuto merge of #1073 - RalfJung:catch_panic, r=RalfJung
bors [Sun, 24 Nov 2019 09:52:44 +0000 (09:52 +0000)]
Auto merge of #1073 - RalfJung:catch_panic, r=RalfJung

beef up catch_panic test

Do not silence panic msg printing (so we subsume the tests checking those), and check a few different ways of raising a panic.

4 years agoalso test non-string panic payload
Ralf Jung [Sun, 24 Nov 2019 09:51:48 +0000 (10:51 +0100)]
also test non-string panic payload

4 years agobeef up catch_panic test
Ralf Jung [Sun, 24 Nov 2019 09:24:41 +0000 (10:24 +0100)]
beef up catch_panic test

4 years agomiri script does not need to handle locally built rustc any more
Ralf Jung [Sat, 23 Nov 2019 09:36:23 +0000 (10:36 +0100)]
miri script does not need to handle locally built rustc any more

4 years agocargo-miri: also find Rust sources when being run in a locally built, linked toolchain
Ralf Jung [Sat, 23 Nov 2019 09:33:49 +0000 (10:33 +0100)]
cargo-miri: also find Rust sources when being run in a locally built, linked toolchain

4 years agoAuto merge of #1069 - RalfJung:typo, r=RalfJung
bors [Fri, 22 Nov 2019 17:12:47 +0000 (17:12 +0000)]
Auto merge of #1069 - RalfJung:typo, r=RalfJung

typo

4 years agotypo
Ralf Jung [Fri, 22 Nov 2019 17:12:10 +0000 (18:12 +0100)]
typo

4 years agoAuto merge of #1067 - Aaron1011:feature/inverse-trig, r=RalfJung
bors [Fri, 22 Nov 2019 09:23:24 +0000 (09:23 +0000)]
Auto merge of #1067 - Aaron1011:feature/inverse-trig, r=RalfJung

Add acos, asin, and atan foreign functions

I copied the tests from the docs pages

4 years agoAuto merge of #1068 - RalfJung:uprust, r=RalfJung
bors [Fri, 22 Nov 2019 08:52:58 +0000 (08:52 +0000)]
Auto merge of #1068 - RalfJung:uprust, r=RalfJung

rustup for never stabilization

4 years agorustup for never stabilization
Ralf Jung [Fri, 22 Nov 2019 08:50:22 +0000 (09:50 +0100)]
rustup for never stabilization

4 years agoAdd acos, asin, and atan foreign functions
Aaron Hill [Thu, 21 Nov 2019 22:33:30 +0000 (17:33 -0500)]
Add acos, asin, and atan foreign functions

I copied the tests from the docs pages

4 years agoAuto merge of #1065 - Aaron1011:fix/start-return, r=RalfJung
bors [Wed, 20 Nov 2019 19:16:40 +0000 (19:16 +0000)]
Auto merge of #1065 - Aaron1011:fix/start-return, r=RalfJung

Propagate the return code from the `start` lang item

Fixes #1064

This ensures that we set the error code properly when a panic unwinds
past `main`.

I'm not sure what the best way to write a test for this is

4 years agoFix nits
Aaron Hill [Wed, 20 Nov 2019 18:52:04 +0000 (13:52 -0500)]
Fix nits

Co-Authored-By: Ralf Jung <post@ralfj.de>
4 years agoAuto merge of #1066 - RalfJung:slice-match, r=RalfJung
bors [Wed, 20 Nov 2019 18:39:31 +0000 (18:39 +0000)]
Auto merge of #1066 - RalfJung:slice-match, r=RalfJung

slice matching overflow got fixed

4 years agoslice matching overflow got fixed
Ralf Jung [Wed, 20 Nov 2019 18:38:41 +0000 (19:38 +0100)]
slice matching overflow got fixed

4 years agoImprove return code propagation.
Aaron Hill [Wed, 20 Nov 2019 17:43:10 +0000 (12:43 -0500)]
Improve return code propagation.

Don't explicitly exit if we reported an evaluation error

4 years agoPropagate the return code from the `start` lang item
Aaron Hill [Tue, 19 Nov 2019 22:25:09 +0000 (17:25 -0500)]
Propagate the return code from the `start` lang item

Fixes #1064

This ensures that we set the error code properly when a panic unwinds
past `main`.

I'm not sure what the best way to write a test for this is

4 years agoAuto merge of #1063 - RalfJung:panic-abort, r=RalfJung
bors [Tue, 19 Nov 2019 21:47:13 +0000 (21:47 +0000)]
Auto merge of #1063 - RalfJung:panic-abort, r=RalfJung

rename panic=abort tests to panic_abort

4 years agorename panic=abort tests to panic_abort
Ralf Jung [Tue, 19 Nov 2019 21:44:07 +0000 (22:44 +0100)]
rename panic=abort tests to panic_abort

4 years agoAuto merge of #693 - Aaron1011:feature/panic_unwind_final, r=oli-obk
bors [Tue, 19 Nov 2019 21:07:26 +0000 (21:07 +0000)]
Auto merge of #693 - Aaron1011:feature/panic_unwind_final, r=oli-obk

Support unwinding after a panic

Fixes #658

This commit adds support for unwinding after a panic. It requires a
companion rustc PR to be merged, in order for the necessary hooks to
work properly.

Currently implemented:
* Selecting between unwind/abort mode based on the rustc Session
* Properly popping off stack frames, unwinding back the caller
* Running 'unwind' blocks in Mir terminators

Not yet implemented:
* 'Abort' terminators

This PR was getting fairly large, so I decided to open it for review without
implementing 'Abort' terminator support. This could either be added on
to this PR, or merged separately.

I've a test to exercise several different aspects of unwind panicking. Ideally, we would run Miri against the libstd panic tests, but I haven't yet figured out how to do that.

This depends on https://github.com/rust-lang/rust/pull/60026

4 years agoDisable #[should_panic] test on Windows
Aaron Hill [Tue, 19 Nov 2019 20:55:12 +0000 (15:55 -0500)]
Disable #[should_panic] test on Windows

We should re-enable this once
https://github.com/rust-lang/miri/issues/1059 is fixed

4 years agoUpdate panic runtime comment
Aaron Hill [Tue, 19 Nov 2019 20:33:14 +0000 (15:33 -0500)]
Update panic runtime comment

4 years agoRe-add comment
Aaron Hill [Tue, 19 Nov 2019 20:31:37 +0000 (15:31 -0500)]
Re-add comment

4 years agoAuto merge of #1062 - RalfJung:readme, r=RalfJung
bors [Tue, 19 Nov 2019 19:40:55 +0000 (19:40 +0000)]
Auto merge of #1062 - RalfJung:readme, r=RalfJung

generalize readme

We didn't mean any specific date, that was just an example.

4 years agogeneralize readme
Ralf Jung [Tue, 19 Nov 2019 19:40:06 +0000 (20:40 +0100)]
generalize readme

4 years agoDelegate to the actual panic runtime crate
Aaron Hill [Tue, 19 Nov 2019 15:11:25 +0000 (10:11 -0500)]
Delegate to the actual panic runtime crate

4 years agocomments and slight refactoring
Ralf Jung [Tue, 19 Nov 2019 13:51:08 +0000 (14:51 +0100)]
comments and slight refactoring

4 years agoAuto merge of #1060 - RalfJung:compiletest, r=RalfJung
bors [Mon, 18 Nov 2019 14:12:01 +0000 (14:12 +0000)]
Auto merge of #1060 - RalfJung:compiletest, r=RalfJung

bump compiletest; remove unused feature

4 years agobump compiletest; remove unused feature
Ralf Jung [Mon, 18 Nov 2019 14:10:17 +0000 (15:10 +0100)]
bump compiletest; remove unused feature

4 years agoDisable panic tests on Windows
Aaron Hill [Sun, 17 Nov 2019 18:47:06 +0000 (13:47 -0500)]
Disable panic tests on Windows

Miri currently does not support `GetProcAddress`
and `GetModuleHandleW`, both of which end up getting invoked by the
libstd panic hook.

4 years agoUpdate captured test output
Aaron Hill [Sun, 17 Nov 2019 16:49:31 +0000 (11:49 -0500)]
Update captured test output

4 years agoAdd #[should_panic] test
Aaron Hill [Sun, 17 Nov 2019 16:09:16 +0000 (11:09 -0500)]
Add #[should_panic] test

4 years agoIgnore '-C panic=abort' tests for now
Aaron Hill [Sun, 17 Nov 2019 13:40:34 +0000 (08:40 -0500)]
Ignore '-C panic=abort' tests for now

We are currently building `libpanic_abort` with the wrong panic
strategy, due to Xargo missing a hack used by `bootstrap`.

4 years agoSupport unwinding after a panic
Aaron Hill [Mon, 15 Apr 2019 01:02:55 +0000 (21:02 -0400)]
Support unwinding after a panic

Fixes #658

This commit adds support for unwinding after a panic. It requires a
companion rustc PR to be merged, in order for the necessary hooks to
work properly.

Currently implemented:
* Selecting between unwind/abort mode based on the rustc Session
* Properly popping off stack frames, unwinding back the caller
* Running 'unwind' blocks in Mir terminators

Not yet implemented:
* 'Abort' terminators

This PR was getting fairly large, so I decided to open it for review without
implementing 'Abort' terminator support. This could either be added on
to this PR, or merged separately.

4 years agoAuto merge of #1056 - RalfJung:max, r=RalfJung
bors [Sun, 17 Nov 2019 08:55:02 +0000 (08:55 +0000)]
Auto merge of #1056 - RalfJung:max, r=RalfJung

use new isize_max method in FS accesses

also check full buffers for validity

4 years agouse new isize_max method in FS accesses; also check full buffers for validity
Ralf Jung [Sun, 17 Nov 2019 08:30:32 +0000 (09:30 +0100)]
use new isize_max method in FS accesses; also check full buffers for validity

4 years agoAuto merge of #1055 - RalfJung:panic-stub, r=RalfJung
bors [Sun, 17 Nov 2019 08:21:42 +0000 (08:21 +0000)]
Auto merge of #1055 - RalfJung:panic-stub, r=RalfJung

minimal rustup for panic changes

Main patch by @Aaron1011

4 years agoremove some leftovers from the miri-control-attribute days
Ralf Jung [Sun, 17 Nov 2019 08:20:50 +0000 (09:20 +0100)]
remove some leftovers from the miri-control-attribute days

4 years agorustup again
Ralf Jung [Sun, 17 Nov 2019 08:03:16 +0000 (09:03 +0100)]
rustup again

4 years agotry the stable feature of compiletest
Ralf Jung [Sat, 16 Nov 2019 08:07:35 +0000 (09:07 +0100)]
try the stable feature of compiletest

4 years agobump Rust
Ralf Jung [Sat, 16 Nov 2019 08:00:05 +0000 (09:00 +0100)]
bump Rust

4 years agoAuto merge of #1054 - RalfJung:win-num-cpus, r=RalfJung
bors [Fri, 15 Nov 2019 15:00:28 +0000 (15:00 +0000)]
Auto merge of #1054 - RalfJung:win-num-cpus, r=RalfJung

test-cargo-miri: cargo update, re-enable windows num_cpus test

4 years agotest-cargo-miri: cargo update, re-enable windows num_cpus test
Ralf Jung [Fri, 15 Nov 2019 14:59:19 +0000 (15:59 +0100)]
test-cargo-miri: cargo update, re-enable windows num_cpus test

4 years agoAuto merge of #1053 - RalfJung:clean, r=RalfJung
bors [Thu, 14 Nov 2019 10:16:51 +0000 (10:16 +0000)]
Auto merge of #1053 - RalfJung:clean, r=RalfJung

remove no-longer-needed zero checks

4 years agoremove no-longer-needed zero checks
Ralf Jung [Thu, 14 Nov 2019 09:29:43 +0000 (10:29 +0100)]
remove no-longer-needed zero checks

4 years agoAuto merge of #1052 - RalfJung:icefix, r=RalfJung
bors [Thu, 14 Nov 2019 09:27:03 +0000 (09:27 +0000)]
Auto merge of #1052 - RalfJung:icefix, r=RalfJung

fix ICE due to dangling pointers in Stacked Borrows

Fixes https://github.com/rust-lang/miri/issues/1050. Thanks to @CAD97 for the report!

4 years agodo full deref-check before reborrowing
Ralf Jung [Thu, 14 Nov 2019 09:23:29 +0000 (10:23 +0100)]
do full deref-check before reborrowing

4 years agorename miri-issue to issue-miri for grouping
Ralf Jung [Thu, 14 Nov 2019 09:16:44 +0000 (10:16 +0100)]
rename miri-issue to issue-miri for grouping

4 years agoAuto merge of #1022 - christianpoveda:fix-fd-access, r=RalfJung
bors [Wed, 13 Nov 2019 22:58:24 +0000 (22:58 +0000)]
Auto merge of #1022 - christianpoveda:fix-fd-access, r=RalfJung

Fix unchecked memory access for files

This PR takes care of two problems:

- It uses `Memory::(read|write)_bytes` to guarantee that memory accesses are checked (Fixes: https://github.com/rust-lang/miri/issues/1007)
- It removes the `(get|remove)_handle_and` methods which were a little bit cumbersome to use. In particular `remove_handle_and`, because we were using it to avoid borrowing issues before the `Evaluator::memory` field was public.

@RalfJung @oli-obk

4 years agoFix maximum `isize` value for target
Christian Poveda [Wed, 13 Nov 2019 19:45:00 +0000 (14:45 -0500)]
Fix maximum `isize` value for target

4 years agoCap `count` twice
Christian Poveda [Wed, 13 Nov 2019 16:57:20 +0000 (11:57 -0500)]
Cap `count` twice

4 years agoAuto merge of #1049 - silathdiir:copysignf32-and-copysignf64, r=RalfJung
bors [Wed, 13 Nov 2019 09:42:47 +0000 (09:42 +0000)]
Auto merge of #1049 - silathdiir:copysignf32-and-copysignf64, r=RalfJung

Implment intrinsics::copysignf32 and intrinsics::copysignf64

Tries to implment `intrinsics::copysignf32` and `intrinsics::copysignf64` for fixing Issue #1046 .

4 years agoImplments `intrinsics::copysignf32` and `intrinsics::copysignf64`.
Steven Gu [Wed, 13 Nov 2019 02:14:13 +0000 (10:14 +0800)]
Implments `intrinsics::copysignf32` and `intrinsics::copysignf64`.

4 years agoRustup for panic changes
Aaron Hill [Tue, 12 Nov 2019 15:19:13 +0000 (10:19 -0500)]
Rustup for panic changes

This gets Miri working again, but doesn't actually implement unwinding

4 years agoAuto merge of #1047 - RalfJung:uprust, r=RalfJung
bors [Mon, 11 Nov 2019 20:26:37 +0000 (20:26 +0000)]
Auto merge of #1047 - RalfJung:uprust, r=RalfJung

rustup

4 years agorustup
Ralf Jung [Mon, 11 Nov 2019 20:25:57 +0000 (21:25 +0100)]
rustup

4 years agoCap `count`
Christian Poveda [Sat, 9 Nov 2019 14:15:52 +0000 (15:15 +0100)]
Cap `count`

4 years agoFix merge conflicts
Christian Poveda [Sat, 9 Nov 2019 09:42:45 +0000 (10:42 +0100)]
Fix merge conflicts

4 years agoAuto merge of #1044 - RalfJung:uprust, r=RalfJung
bors [Fri, 8 Nov 2019 21:08:52 +0000 (21:08 +0000)]
Auto merge of #1044 - RalfJung:uprust, r=RalfJung

rustup

4 years agorustup
Ralf Jung [Fri, 8 Nov 2019 21:07:52 +0000 (22:07 +0100)]
rustup

4 years agoAuto merge of #1040 - RalfJung:rustup, r=RalfJung
bors [Fri, 8 Nov 2019 17:49:38 +0000 (17:49 +0000)]
Auto merge of #1040 - RalfJung:rustup, r=RalfJung

rustup

4 years agoAuto merge of #1043 - RalfJung:cache, r=RalfJung
bors [Fri, 8 Nov 2019 15:38:06 +0000 (15:38 +0000)]
Auto merge of #1043 - RalfJung:cache, r=RalfJung

Cache rustup-toolchain-install-master again

We temporarily disabled the cache just to get it updated.

4 years agobump minimal xargo version so that it honors the lockfile
Ralf Jung [Fri, 8 Nov 2019 15:36:57 +0000 (16:36 +0100)]
bump minimal xargo version so that it honors the lockfile

4 years agorust-docs should be gone from all caches now
Ralf Jung [Fri, 8 Nov 2019 13:13:23 +0000 (14:13 +0100)]
rust-docs should be gone from all caches now

4 years agoRevert "temporarily ignore cached rustup-toolchain-install-master"
Ralf Jung [Fri, 8 Nov 2019 13:12:54 +0000 (14:12 +0100)]
Revert "temporarily ignore cached rustup-toolchain-install-master"

This reverts commit 4872c5cbbe9a4f59c71a9ffde4d5e521c08e8ea0.

4 years agofix into_iter usage
Ralf Jung [Fri, 8 Nov 2019 11:43:26 +0000 (12:43 +0100)]
fix into_iter usage

4 years agolet's see if newer rustc helps
Ralf Jung [Fri, 8 Nov 2019 09:08:57 +0000 (10:08 +0100)]
let's see if newer rustc helps

4 years agodisable num_cpus on Windows for now
Ralf Jung [Fri, 8 Nov 2019 08:16:44 +0000 (09:16 +0100)]
disable num_cpus on Windows for now

4 years agoUse TryFrom instead
Christian Poveda [Thu, 7 Nov 2019 19:50:16 +0000 (20:50 +0100)]
Use TryFrom instead

4 years agosilence a lint that catches the bug statically
Ralf Jung [Thu, 7 Nov 2019 08:44:00 +0000 (09:44 +0100)]
silence a lint that catches the bug statically

4 years agoAuto merge of #1039 - RalfJung:dyn-tests, r=RalfJung
bors [Thu, 7 Nov 2019 08:18:09 +0000 (08:18 +0000)]
Auto merge of #1039 - RalfJung:dyn-tests, r=RalfJung

More tests for dyn trait (in particular, unsized receivers)

So far we only tested them indirectly through `dyn FnOnce`; this also adds some self-contained tests from the rustc test suite.

4 years agoalso test Box<self> receiver
Ralf Jung [Thu, 7 Nov 2019 08:17:40 +0000 (09:17 +0100)]
also test Box<self> receiver

4 years agomove blosure tests to closures file; test Box<dyn> a bit more
Ralf Jung [Thu, 7 Nov 2019 08:14:23 +0000 (09:14 +0100)]
move blosure tests to closures file; test Box<dyn> a bit more

4 years agocentralize and expand dyn-trait (method receiver) tests
Ralf Jung [Thu, 7 Nov 2019 08:05:11 +0000 (09:05 +0100)]
centralize and expand dyn-trait (method receiver) tests

4 years agorename call_drop_ tests to drop_
Ralf Jung [Thu, 7 Nov 2019 07:56:11 +0000 (08:56 +0100)]
rename call_drop_ tests to drop_

4 years agotweak and slightly extend box-box-trait test
Ralf Jung [Thu, 7 Nov 2019 07:55:59 +0000 (08:55 +0100)]
tweak and slightly extend box-box-trait test

4 years agoAuto merge of #1037 - JOE1994:master, r=RalfJung
bors [Wed, 6 Nov 2019 13:39:22 +0000 (13:39 +0000)]
Auto merge of #1037 - JOE1994:master, r=RalfJung

error code E0080 is no longer printed with MIRI error message

Thanks to help from @bjorn3, @RalfJung, and @oli-obk on issue #1035 , I fixed the miri code so that error code **E0080** is no longer printed out for MIRI evaluation errors. I tested my code in my Linux machine as below.
![image](https://user-images.githubusercontent.com/10286488/68264744-e71e6c80-0017-11ea-9028-f83e19164ea2.png)

Remaining concern is whether the variable name `new_tcx` which I used is misleading or not.

Fixes https://github.com/rust-lang/miri/issues/1035

4 years agofollow-up to review
YOUNGSUK KIM [Wed, 6 Nov 2019 13:25:00 +0000 (08:25 -0500)]
follow-up to review

4 years agoAuto merge of #1031 - RalfJung:ptr-offset, r=RalfJung
bors [Wed, 6 Nov 2019 09:51:32 +0000 (09:51 +0000)]
Auto merge of #1031 - RalfJung:ptr-offset, r=RalfJung

Refactor ptr_offset_inbounds

I finally found a way to write this using basically just `check_ptr_access` while handling all cases (integers and pointers, offset 0 or not) correctly. This changes behavior for NULL ptrs, but I think the change is for the better.

Depends on https://github.com/rust-lang/rust/pull/66081.

4 years agoptr_offset: handle negative offsets
Ralf Jung [Wed, 6 Nov 2019 09:51:06 +0000 (10:51 +0100)]
ptr_offset: handle negative offsets

4 years agorustup
Ralf Jung [Wed, 6 Nov 2019 08:25:02 +0000 (09:25 +0100)]
rustup

4 years agofix error message details
Ralf Jung [Mon, 4 Nov 2019 11:29:15 +0000 (12:29 +0100)]
fix error message details

4 years agofix test erorr msg
Ralf Jung [Mon, 4 Nov 2019 11:17:25 +0000 (12:17 +0100)]
fix test erorr msg

4 years agorefactor ptr_offset_inbounds: it can be reduced to check_ptr_access, after all!
Ralf Jung [Mon, 4 Nov 2019 11:13:51 +0000 (12:13 +0100)]
refactor ptr_offset_inbounds: it can be reduced to check_ptr_access, after all!

4 years agotest that 0 cannot be offset-inbounds by 0
Ralf Jung [Mon, 4 Nov 2019 11:11:31 +0000 (12:11 +0100)]
test that 0 cannot be offset-inbounds by 0

4 years agoerror code E0080 is no longer printed with MIRI error message
YOUNGSUK KIM [Wed, 6 Nov 2019 02:56:18 +0000 (21:56 -0500)]
error code E0080 is no longer printed with MIRI error message

4 years agoAvoid using `as` cast
Christian Poveda [Tue, 5 Nov 2019 21:47:24 +0000 (16:47 -0500)]
Avoid using `as` cast

4 years agoAuto merge of #1032 - RalfJung:offset-from, r=RalfJung
bors [Tue, 5 Nov 2019 19:18:22 +0000 (19:18 +0000)]
Auto merge of #1032 - RalfJung:offset-from, r=RalfJung

test offset_from

This currently fails and needs a rustc fix: https://github.com/rust-lang/rust/pull/66083

4 years agorustup
Ralf Jung [Tue, 5 Nov 2019 19:17:45 +0000 (20:17 +0100)]
rustup

4 years agotest offset_from
Ralf Jung [Mon, 4 Nov 2019 12:28:18 +0000 (13:28 +0100)]
test offset_from

4 years agoAuto merge of #1036 - RalfJung:stacked-borrows-test, r=RalfJung
bors [Tue, 5 Nov 2019 10:05:59 +0000 (10:05 +0000)]
Auto merge of #1036 - RalfJung:stacked-borrows-test, r=RalfJung

add an interesting run-pass stacked borrows example