diff options
| author | Ralf Jung <post@ralfj.de> | 2021-05-06 12:00:19 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2021-05-06 12:00:19 +0200 |
| commit | bcf622b87d83867c1a765ca699ca3c15e462e5f8 (patch) | |
| tree | df406e797cdabf9901518f9cfbb343e4507bbe1b /src/test | |
| parent | abdba81d036210c40d81cebd60413924f2eb2847 (diff) | |
| download | rust-bcf622b87d83867c1a765ca699ca3c15e462e5f8.tar.gz rust-bcf622b87d83867c1a765ca699ca3c15e462e5f8.zip | |
32bit bless
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui/consts/const-eval/ub-wide-ptr.32bit.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/consts/const-eval/ub-wide-ptr.32bit.stderr b/src/test/ui/consts/const-eval/ub-wide-ptr.32bit.stderr index 7ca5c647d88..404ce409d93 100644 --- a/src/test/ui/consts/const-eval/ub-wide-ptr.32bit.stderr +++ b/src/test/ui/consts/const-eval/ub-wide-ptr.32bit.stderr @@ -296,7 +296,7 @@ error[E0080]: could not evaluate static initializer --> $DIR/ub-wide-ptr.rs:135:5 | LL | mem::transmute::<_, &dyn Trait>((&92u8, 0usize)) - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ inbounds test failed: 0x0 is not a valid pointer + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ null pointer is not allowed for this operation error[E0080]: could not evaluate static initializer --> $DIR/ub-wide-ptr.rs:139:5 |
