]> git.lizzy.rs Git - rust.git/commitdiff
Reintroduce the span printing in miri (plus point to spans where possible)
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>
Tue, 15 Nov 2022 16:24:52 +0000 (16:24 +0000)
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>
Tue, 6 Dec 2022 18:59:46 +0000 (18:59 +0000)
358 files changed:
src/tools/miri/src/diagnostics.rs
src/tools/miri/tests/extern-so/fail/function_not_in_so.stderr
src/tools/miri/tests/fail/abort-terminator.stderr
src/tools/miri/tests/fail/alloc/deallocate-bad-alignment.stderr
src/tools/miri/tests/fail/alloc/deallocate-bad-size.stderr
src/tools/miri/tests/fail/alloc/deallocate-twice.stderr
src/tools/miri/tests/fail/alloc/global_system_mixup.stderr
src/tools/miri/tests/fail/alloc/no_global_allocator.stderr
src/tools/miri/tests/fail/alloc/reallocate-bad-size.stderr
src/tools/miri/tests/fail/alloc/reallocate-change-alloc.stderr
src/tools/miri/tests/fail/alloc/reallocate-dangling.stderr
src/tools/miri/tests/fail/alloc/stack_free.stderr
src/tools/miri/tests/fail/box-cell-alias.stderr
src/tools/miri/tests/fail/branchless-select-i128-pointer.stderr
src/tools/miri/tests/fail/breakpoint.stderr
src/tools/miri/tests/fail/concurrency/libc_pthread_create_too_few_args.stderr
src/tools/miri/tests/fail/concurrency/libc_pthread_create_too_many_args.stderr
src/tools/miri/tests/fail/concurrency/libc_pthread_join_detached.stderr
src/tools/miri/tests/fail/concurrency/libc_pthread_join_joined.stderr
src/tools/miri/tests/fail/concurrency/libc_pthread_join_main.stderr
src/tools/miri/tests/fail/concurrency/libc_pthread_join_multiple.stderr
src/tools/miri/tests/fail/concurrency/libc_pthread_join_self.stderr
src/tools/miri/tests/fail/concurrency/read_only_atomic_cmpxchg.stderr
src/tools/miri/tests/fail/concurrency/read_only_atomic_load.stderr
src/tools/miri/tests/fail/concurrency/thread_local_static_dealloc.stderr
src/tools/miri/tests/fail/concurrency/unwind_top_of_stack.stderr
src/tools/miri/tests/fail/concurrency/windows_join_detached.stderr
src/tools/miri/tests/fail/dangling_pointers/dangling_pointer_addr_of.stderr
src/tools/miri/tests/fail/dangling_pointers/dangling_pointer_deref.stderr
src/tools/miri/tests/fail/dangling_pointers/dangling_zst_deref.stderr
src/tools/miri/tests/fail/dangling_pointers/deref-invalid-ptr.stderr
src/tools/miri/tests/fail/dangling_pointers/deref-partially-dangling.stderr
src/tools/miri/tests/fail/dangling_pointers/dyn_size.stderr
src/tools/miri/tests/fail/dangling_pointers/maybe_null_pointer_deref_zst.stderr
src/tools/miri/tests/fail/dangling_pointers/maybe_null_pointer_write_zst.stderr
src/tools/miri/tests/fail/dangling_pointers/null_pointer_deref.stderr
src/tools/miri/tests/fail/dangling_pointers/null_pointer_deref_zst.stderr
src/tools/miri/tests/fail/dangling_pointers/null_pointer_write.stderr
src/tools/miri/tests/fail/dangling_pointers/null_pointer_write_zst.stderr
src/tools/miri/tests/fail/dangling_pointers/out_of_bounds_read1.stderr
src/tools/miri/tests/fail/dangling_pointers/out_of_bounds_read2.stderr
src/tools/miri/tests/fail/dangling_pointers/stack_temporary.stderr
src/tools/miri/tests/fail/dangling_pointers/storage_dead_dangling.stderr
src/tools/miri/tests/fail/dangling_pointers/wild_pointer_deref.stderr
src/tools/miri/tests/fail/data_race/alloc_read_race.stderr
src/tools/miri/tests/fail/data_race/alloc_write_race.stderr
src/tools/miri/tests/fail/data_race/atomic_read_na_write_race1.stderr
src/tools/miri/tests/fail/data_race/atomic_read_na_write_race2.stderr
src/tools/miri/tests/fail/data_race/atomic_write_na_read_race1.stderr
src/tools/miri/tests/fail/data_race/atomic_write_na_read_race2.stderr
src/tools/miri/tests/fail/data_race/atomic_write_na_write_race1.stderr
src/tools/miri/tests/fail/data_race/atomic_write_na_write_race2.stderr
src/tools/miri/tests/fail/data_race/dangling_thread_async_race.stderr
src/tools/miri/tests/fail/data_race/dangling_thread_race.stderr
src/tools/miri/tests/fail/data_race/dealloc_read_race1.stderr
src/tools/miri/tests/fail/data_race/dealloc_read_race2.stderr
src/tools/miri/tests/fail/data_race/dealloc_read_race_stack.stderr
src/tools/miri/tests/fail/data_race/dealloc_write_race1.stderr
src/tools/miri/tests/fail/data_race/dealloc_write_race2.stderr
src/tools/miri/tests/fail/data_race/dealloc_write_race_stack.stderr
src/tools/miri/tests/fail/data_race/enable_after_join_to_main.stderr
src/tools/miri/tests/fail/data_race/fence_after_load.stderr
src/tools/miri/tests/fail/data_race/read_write_race.stderr
src/tools/miri/tests/fail/data_race/read_write_race_stack.stderr
src/tools/miri/tests/fail/data_race/relax_acquire_race.stderr
src/tools/miri/tests/fail/data_race/release_seq_race.stderr
src/tools/miri/tests/fail/data_race/release_seq_race_same_thread.stderr
src/tools/miri/tests/fail/data_race/rmw_race.stderr
src/tools/miri/tests/fail/data_race/stack_pop_race.stderr
src/tools/miri/tests/fail/data_race/write_write_race.stderr
src/tools/miri/tests/fail/data_race/write_write_race_stack.stderr
src/tools/miri/tests/fail/dyn-call-trait-mismatch.stderr
src/tools/miri/tests/fail/dyn-upcast-trait-mismatch.stderr
src/tools/miri/tests/fail/environ-gets-deallocated.stderr
src/tools/miri/tests/fail/extern_static.stderr
src/tools/miri/tests/fail/extern_static_in_const.stderr
src/tools/miri/tests/fail/extern_static_wrong_size.stderr
src/tools/miri/tests/fail/fast_math_both.stderr
src/tools/miri/tests/fail/fast_math_first.stderr
src/tools/miri/tests/fail/fast_math_second.stderr
src/tools/miri/tests/fail/function_calls/check_arg_abi.stderr
src/tools/miri/tests/fail/function_calls/check_arg_count_abort.stderr
src/tools/miri/tests/fail/function_calls/check_arg_count_too_few_args.stderr
src/tools/miri/tests/fail/function_calls/check_arg_count_too_many_args.stderr
src/tools/miri/tests/fail/function_calls/check_callback_abi.stderr
src/tools/miri/tests/fail/function_calls/exported_symbol_abi_mismatch.cache.stderr
src/tools/miri/tests/fail/function_calls/exported_symbol_abi_mismatch.fn_ptr.stderr
src/tools/miri/tests/fail/function_calls/exported_symbol_abi_mismatch.no_cache.stderr
src/tools/miri/tests/fail/function_calls/exported_symbol_bad_unwind1.stderr
src/tools/miri/tests/fail/function_calls/exported_symbol_bad_unwind2.both.stderr
src/tools/miri/tests/fail/function_calls/exported_symbol_bad_unwind2.definition.stderr
src/tools/miri/tests/fail/function_calls/exported_symbol_bad_unwind2.extern_block.stderr
src/tools/miri/tests/fail/function_calls/exported_symbol_clashing.stderr
src/tools/miri/tests/fail/function_calls/exported_symbol_shim_clashing.stderr
src/tools/miri/tests/fail/function_calls/exported_symbol_wrong_arguments.stderr
src/tools/miri/tests/fail/function_calls/exported_symbol_wrong_type.stderr
src/tools/miri/tests/fail/function_pointers/cast_box_int_to_fn_ptr.stderr
src/tools/miri/tests/fail/function_pointers/cast_fn_ptr1.stderr
src/tools/miri/tests/fail/function_pointers/cast_fn_ptr2.stderr
src/tools/miri/tests/fail/function_pointers/cast_fn_ptr3.stderr
src/tools/miri/tests/fail/function_pointers/cast_fn_ptr4.stderr
src/tools/miri/tests/fail/function_pointers/cast_fn_ptr5.stderr
src/tools/miri/tests/fail/function_pointers/cast_int_to_fn_ptr.stderr
src/tools/miri/tests/fail/function_pointers/deref_fn_ptr.stderr
src/tools/miri/tests/fail/function_pointers/execute_memory.stderr
src/tools/miri/tests/fail/function_pointers/fn_ptr_offset.stderr
src/tools/miri/tests/fail/generator-pinned-moved.stderr
src/tools/miri/tests/fail/intrinsics/assume.stderr
src/tools/miri/tests/fail/intrinsics/copy_null.stderr
src/tools/miri/tests/fail/intrinsics/copy_overflow.stderr
src/tools/miri/tests/fail/intrinsics/copy_overlapping.stderr
src/tools/miri/tests/fail/intrinsics/copy_unaligned.stderr
src/tools/miri/tests/fail/intrinsics/ctlz_nonzero.stderr
src/tools/miri/tests/fail/intrinsics/cttz_nonzero.stderr
src/tools/miri/tests/fail/intrinsics/div-by-zero.stderr
src/tools/miri/tests/fail/intrinsics/exact_div1.stderr
src/tools/miri/tests/fail/intrinsics/exact_div2.stderr
src/tools/miri/tests/fail/intrinsics/exact_div3.stderr
src/tools/miri/tests/fail/intrinsics/exact_div4.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_32_inf1.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_32_infneg1.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_32_nan.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_32_nanneg.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_32_neg.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_32_too_big1.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_32_too_big2.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_32_too_small1.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_64_inf1.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_64_infneg1.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_64_infneg2.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_64_nan.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_64_neg.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_64_too_big1.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_64_too_big2.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_64_too_big3.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_64_too_big4.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_64_too_big5.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_64_too_big6.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_64_too_big7.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_64_too_small1.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_64_too_small2.stderr
src/tools/miri/tests/fail/intrinsics/float_to_int_64_too_small3.stderr
src/tools/miri/tests/fail/intrinsics/out_of_bounds_ptr_1.stderr
src/tools/miri/tests/fail/intrinsics/out_of_bounds_ptr_2.stderr
src/tools/miri/tests/fail/intrinsics/out_of_bounds_ptr_3.stderr
src/tools/miri/tests/fail/intrinsics/overflowing-unchecked-rsh.stderr
src/tools/miri/tests/fail/intrinsics/ptr_offset_0_plus_0.stderr
src/tools/miri/tests/fail/intrinsics/ptr_offset_from_oob.stderr
src/tools/miri/tests/fail/intrinsics/ptr_offset_from_unsigned_neg.stderr
src/tools/miri/tests/fail/intrinsics/ptr_offset_int_plus_int.stderr
src/tools/miri/tests/fail/intrinsics/ptr_offset_int_plus_ptr.stderr
src/tools/miri/tests/fail/intrinsics/ptr_offset_overflow.stderr
src/tools/miri/tests/fail/intrinsics/ptr_offset_ptr_plus_0.stderr
src/tools/miri/tests/fail/intrinsics/raw_eq_on_ptr.stderr
src/tools/miri/tests/fail/intrinsics/rem-by-zero.stderr
src/tools/miri/tests/fail/intrinsics/simd-div-by-zero.stderr
src/tools/miri/tests/fail/intrinsics/simd-div-overflow.stderr
src/tools/miri/tests/fail/intrinsics/simd-float-to-int.stderr
src/tools/miri/tests/fail/intrinsics/simd-gather.stderr
src/tools/miri/tests/fail/intrinsics/simd-reduce-invalid-bool.stderr
src/tools/miri/tests/fail/intrinsics/simd-rem-by-zero.stderr
src/tools/miri/tests/fail/intrinsics/simd-scatter.stderr
src/tools/miri/tests/fail/intrinsics/simd-select-bitmask-invalid.stderr
src/tools/miri/tests/fail/intrinsics/simd-select-invalid-bool.stderr
src/tools/miri/tests/fail/intrinsics/simd-shl-too-far.stderr
src/tools/miri/tests/fail/intrinsics/simd-shr-too-far.stderr
src/tools/miri/tests/fail/intrinsics/unchecked_add1.stderr
src/tools/miri/tests/fail/intrinsics/unchecked_add2.stderr
src/tools/miri/tests/fail/intrinsics/unchecked_div1.stderr
src/tools/miri/tests/fail/intrinsics/unchecked_mul1.stderr
src/tools/miri/tests/fail/intrinsics/unchecked_mul2.stderr
src/tools/miri/tests/fail/intrinsics/unchecked_sub1.stderr
src/tools/miri/tests/fail/intrinsics/unchecked_sub2.stderr
src/tools/miri/tests/fail/intrinsics/uninit_uninhabited_type.stderr
src/tools/miri/tests/fail/intrinsics/write_bytes_null.stderr
src/tools/miri/tests/fail/intrinsics/write_bytes_overflow.stderr
src/tools/miri/tests/fail/intrinsics/zero_fn_ptr.stderr
src/tools/miri/tests/fail/invalid_bool.stderr
src/tools/miri/tests/fail/invalid_char.stderr
src/tools/miri/tests/fail/invalid_enum_tag.stderr
src/tools/miri/tests/fail/invalid_int.stderr
src/tools/miri/tests/fail/issue-miri-1112.stderr
src/tools/miri/tests/fail/issue-miri-2432.stderr
src/tools/miri/tests/fail/modifying_constants.stderr
src/tools/miri/tests/fail/never_say_never.stderr
src/tools/miri/tests/fail/never_transmute_humans.stderr
src/tools/miri/tests/fail/never_transmute_void.stderr
src/tools/miri/tests/fail/panic/bad_miri_start_panic.stderr
src/tools/miri/tests/fail/panic/bad_unwind.stderr
src/tools/miri/tests/fail/panic/double_panic.stderr
src/tools/miri/tests/fail/panic/no_std.stderr
src/tools/miri/tests/fail/panic/panic_abort1.stderr
src/tools/miri/tests/fail/panic/panic_abort2.stderr
src/tools/miri/tests/fail/panic/panic_abort3.stderr
src/tools/miri/tests/fail/panic/panic_abort4.stderr
src/tools/miri/tests/fail/panic/unwind_panic_abort.stderr
src/tools/miri/tests/fail/provenance/pointer_partial_overwrite.stderr
src/tools/miri/tests/fail/provenance/provenance_transmute.stderr
src/tools/miri/tests/fail/provenance/ptr_int_unexposed.stderr
src/tools/miri/tests/fail/provenance/ptr_invalid.stderr
src/tools/miri/tests/fail/provenance/ptr_invalid_offset.stderr
src/tools/miri/tests/fail/provenance/strict_provenance_cast.stderr
src/tools/miri/tests/fail/rc_as_ptr.stderr
src/tools/miri/tests/fail/reading_half_a_pointer.stderr
src/tools/miri/tests/fail/shims/backtrace/bad-backtrace-decl.stderr
src/tools/miri/tests/fail/shims/backtrace/bad-backtrace-flags.stderr
src/tools/miri/tests/fail/shims/backtrace/bad-backtrace-ptr.stderr
src/tools/miri/tests/fail/shims/backtrace/bad-backtrace-resolve-flags.stderr
src/tools/miri/tests/fail/shims/backtrace/bad-backtrace-resolve-names-flags.stderr
src/tools/miri/tests/fail/shims/backtrace/bad-backtrace-size-flags.stderr
src/tools/miri/tests/fail/shims/fs/close_stdout.stderr
src/tools/miri/tests/fail/shims/fs/isolated_file.stderr
src/tools/miri/tests/fail/shims/fs/isolated_stdin.stderr
src/tools/miri/tests/fail/shims/fs/mkstemp_immutable_arg.stderr
src/tools/miri/tests/fail/shims/fs/read_from_stdout.stderr
src/tools/miri/tests/fail/shims/fs/unix_open_missing_required_mode.stderr
src/tools/miri/tests/fail/shims/fs/write_to_stdin.stderr
src/tools/miri/tests/fail/shims/shim_arg_size.stderr
src/tools/miri/tests/fail/shims/sync/libc_pthread_cond_double_destroy.stderr
src/tools/miri/tests/fail/shims/sync/libc_pthread_condattr_double_destroy.stderr
src/tools/miri/tests/fail/shims/sync/libc_pthread_mutex_NULL_deadlock.stderr
src/tools/miri/tests/fail/shims/sync/libc_pthread_mutex_deadlock.stderr
src/tools/miri/tests/fail/shims/sync/libc_pthread_mutex_default_deadlock.stderr
src/tools/miri/tests/fail/shims/sync/libc_pthread_mutex_destroy_locked.stderr
src/tools/miri/tests/fail/shims/sync/libc_pthread_mutex_double_destroy.stderr
src/tools/miri/tests/fail/shims/sync/libc_pthread_mutex_normal_deadlock.stderr
src/tools/miri/tests/fail/shims/sync/libc_pthread_mutex_normal_unlock_unlocked.stderr
src/tools/miri/tests/fail/shims/sync/libc_pthread_mutex_wrong_owner.stderr
src/tools/miri/tests/fail/shims/sync/libc_pthread_mutexattr_double_destroy.stderr
src/tools/miri/tests/fail/shims/sync/libc_pthread_rwlock_destroy_read_locked.stderr
src/tools/miri/tests/fail/shims/sync/libc_pthread_rwlock_destroy_write_locked.stderr
src/tools/miri/tests/fail/shims/sync/libc_pthread_rwlock_double_destroy.stderr
src/tools/miri/tests/fail/shims/sync/libc_pthread_rwlock_read_write_deadlock_single_thread.stderr
src/tools/miri/tests/fail/shims/sync/libc_pthread_rwlock_read_wrong_owner.stderr
src/tools/miri/tests/fail/shims/sync/libc_pthread_rwlock_unlock_unlocked.stderr
src/tools/miri/tests/fail/shims/sync/libc_pthread_rwlock_write_read_deadlock.stderr
src/tools/miri/tests/fail/shims/sync/libc_pthread_rwlock_write_read_deadlock_single_thread.stderr
src/tools/miri/tests/fail/shims/sync/libc_pthread_rwlock_write_write_deadlock.stderr
src/tools/miri/tests/fail/shims/sync/libc_pthread_rwlock_write_write_deadlock_single_thread.stderr
src/tools/miri/tests/fail/shims/sync/libc_pthread_rwlock_write_wrong_owner.stderr
src/tools/miri/tests/fail/should-pass/cpp20_rwc_syncs.stderr
src/tools/miri/tests/fail/stacked_borrows/alias_through_mutation.stderr
src/tools/miri/tests/fail/stacked_borrows/aliasing_mut1.stderr
src/tools/miri/tests/fail/stacked_borrows/aliasing_mut2.stderr
src/tools/miri/tests/fail/stacked_borrows/aliasing_mut3.stderr
src/tools/miri/tests/fail/stacked_borrows/aliasing_mut4.stderr
src/tools/miri/tests/fail/stacked_borrows/box_exclusive_violation1.stderr
src/tools/miri/tests/fail/stacked_borrows/buggy_as_mut_slice.stderr
src/tools/miri/tests/fail/stacked_borrows/buggy_split_at_mut.stderr
src/tools/miri/tests/fail/stacked_borrows/deallocate_against_protector1.stderr
src/tools/miri/tests/fail/stacked_borrows/deallocate_against_protector2.stderr
src/tools/miri/tests/fail/stacked_borrows/disable_mut_does_not_merge_srw.stderr
src/tools/miri/tests/fail/stacked_borrows/exposed_only_ro.stderr
src/tools/miri/tests/fail/stacked_borrows/fnentry_invalidation.stderr
src/tools/miri/tests/fail/stacked_borrows/fnentry_invalidation2.stderr
src/tools/miri/tests/fail/stacked_borrows/illegal_read1.stderr
src/tools/miri/tests/fail/stacked_borrows/illegal_read2.stderr
src/tools/miri/tests/fail/stacked_borrows/illegal_read3.stderr
src/tools/miri/tests/fail/stacked_borrows/illegal_read4.stderr
src/tools/miri/tests/fail/stacked_borrows/illegal_read5.stderr
src/tools/miri/tests/fail/stacked_borrows/illegal_read6.stderr
src/tools/miri/tests/fail/stacked_borrows/illegal_read7.stderr
src/tools/miri/tests/fail/stacked_borrows/illegal_read8.stderr
src/tools/miri/tests/fail/stacked_borrows/illegal_read_despite_exposed1.stderr
src/tools/miri/tests/fail/stacked_borrows/illegal_read_despite_exposed2.stderr
src/tools/miri/tests/fail/stacked_borrows/illegal_write1.stderr
src/tools/miri/tests/fail/stacked_borrows/illegal_write2.stderr
src/tools/miri/tests/fail/stacked_borrows/illegal_write3.stderr
src/tools/miri/tests/fail/stacked_borrows/illegal_write4.stderr
src/tools/miri/tests/fail/stacked_borrows/illegal_write5.stderr
src/tools/miri/tests/fail/stacked_borrows/illegal_write6.stderr
src/tools/miri/tests/fail/stacked_borrows/illegal_write_despite_exposed1.stderr
src/tools/miri/tests/fail/stacked_borrows/interior_mut1.stderr
src/tools/miri/tests/fail/stacked_borrows/interior_mut2.stderr
src/tools/miri/tests/fail/stacked_borrows/invalidate_against_protector1.stderr
src/tools/miri/tests/fail/stacked_borrows/invalidate_against_protector2.stderr
src/tools/miri/tests/fail/stacked_borrows/invalidate_against_protector3.stderr
src/tools/miri/tests/fail/stacked_borrows/issue-miri-1050-1.stderr
src/tools/miri/tests/fail/stacked_borrows/issue-miri-1050-2.stderr
src/tools/miri/tests/fail/stacked_borrows/load_invalid_mut.stderr
src/tools/miri/tests/fail/stacked_borrows/load_invalid_shr.stderr
src/tools/miri/tests/fail/stacked_borrows/mut_exclusive_violation1.stderr
src/tools/miri/tests/fail/stacked_borrows/mut_exclusive_violation2.stderr
src/tools/miri/tests/fail/stacked_borrows/newtype_pair_retagging.stderr
src/tools/miri/tests/fail/stacked_borrows/newtype_retagging.stderr
src/tools/miri/tests/fail/stacked_borrows/outdated_local.stderr
src/tools/miri/tests/fail/stacked_borrows/pass_invalid_mut.stderr
src/tools/miri/tests/fail/stacked_borrows/pass_invalid_shr.stderr
src/tools/miri/tests/fail/stacked_borrows/pointer_smuggling.stderr
src/tools/miri/tests/fail/stacked_borrows/raw_tracking.stderr
src/tools/miri/tests/fail/stacked_borrows/return_invalid_mut.stderr
src/tools/miri/tests/fail/stacked_borrows/return_invalid_mut_option.stderr
src/tools/miri/tests/fail/stacked_borrows/return_invalid_mut_tuple.stderr
src/tools/miri/tests/fail/stacked_borrows/return_invalid_shr.stderr
src/tools/miri/tests/fail/stacked_borrows/return_invalid_shr_option.stderr
src/tools/miri/tests/fail/stacked_borrows/return_invalid_shr_tuple.stderr
src/tools/miri/tests/fail/stacked_borrows/shared_rw_borrows_are_weak1.stderr
src/tools/miri/tests/fail/stacked_borrows/shared_rw_borrows_are_weak2.stderr
src/tools/miri/tests/fail/stacked_borrows/shr_frozen_violation1.stderr
src/tools/miri/tests/fail/stacked_borrows/static_memory_modification.stderr
src/tools/miri/tests/fail/stacked_borrows/track_caller.stderr
src/tools/miri/tests/fail/stacked_borrows/transmute-is-no-escape.stderr
src/tools/miri/tests/fail/stacked_borrows/unescaped_local.stderr
src/tools/miri/tests/fail/stacked_borrows/unescaped_static.stderr
src/tools/miri/tests/fail/stacked_borrows/zst_slice.stderr
src/tools/miri/tests/fail/static_memory_modification1.stderr
src/tools/miri/tests/fail/static_memory_modification2.stderr
src/tools/miri/tests/fail/static_memory_modification3.stderr
src/tools/miri/tests/fail/transmute-pair-uninit.stderr
src/tools/miri/tests/fail/type-too-large.stderr
src/tools/miri/tests/fail/unaligned_pointers/alignment.stderr
src/tools/miri/tests/fail/unaligned_pointers/atomic_unaligned.stderr
src/tools/miri/tests/fail/unaligned_pointers/dyn_alignment.stderr
src/tools/miri/tests/fail/unaligned_pointers/intptrcast_alignment_check.stderr
src/tools/miri/tests/fail/unaligned_pointers/reference_to_packed.stderr
src/tools/miri/tests/fail/unaligned_pointers/unaligned_ptr1.stderr
src/tools/miri/tests/fail/unaligned_pointers/unaligned_ptr2.stderr
src/tools/miri/tests/fail/unaligned_pointers/unaligned_ptr3.stderr
src/tools/miri/tests/fail/unaligned_pointers/unaligned_ptr4.stderr
src/tools/miri/tests/fail/unaligned_pointers/unaligned_ptr_addr_of.stderr
src/tools/miri/tests/fail/unaligned_pointers/unaligned_ptr_zst.stderr
src/tools/miri/tests/fail/uninit_buffer.stderr
src/tools/miri/tests/fail/uninit_buffer_with_provenance.stderr
src/tools/miri/tests/fail/uninit_byte_read.stderr
src/tools/miri/tests/fail/unreachable.stderr
src/tools/miri/tests/fail/unsized-local.stderr
src/tools/miri/tests/fail/unsupported_foreign_function.stderr
src/tools/miri/tests/fail/unsupported_signal.stderr
src/tools/miri/tests/fail/validity/cast_fn_ptr1.stderr
src/tools/miri/tests/fail/validity/cast_fn_ptr2.stderr
src/tools/miri/tests/fail/validity/dangling_ref1.stderr
src/tools/miri/tests/fail/validity/dangling_ref2.stderr
src/tools/miri/tests/fail/validity/dangling_ref3.stderr
src/tools/miri/tests/fail/validity/invalid_bool.stderr
src/tools/miri/tests/fail/validity/invalid_bool_uninit.stderr
src/tools/miri/tests/fail/validity/invalid_char.stderr
src/tools/miri/tests/fail/validity/invalid_char_uninit.stderr
src/tools/miri/tests/fail/validity/invalid_enum_tag.stderr
src/tools/miri/tests/fail/validity/invalid_fnptr_null.stderr
src/tools/miri/tests/fail/validity/invalid_fnptr_uninit.stderr
src/tools/miri/tests/fail/validity/invalid_wide_raw.stderr
src/tools/miri/tests/fail/validity/nonzero.stderr
src/tools/miri/tests/fail/validity/ref_to_uninhabited1.stderr
src/tools/miri/tests/fail/validity/ref_to_uninhabited2.stderr
src/tools/miri/tests/fail/validity/too-big-slice.stderr
src/tools/miri/tests/fail/validity/too-big-unsized.stderr
src/tools/miri/tests/fail/validity/transmute_through_ptr.stderr
src/tools/miri/tests/fail/validity/uninit_float.stderr
src/tools/miri/tests/fail/validity/uninit_integer.stderr
src/tools/miri/tests/fail/validity/uninit_raw_ptr.stderr
src/tools/miri/tests/fail/weak_memory/racing_mixed_size.stderr
src/tools/miri/tests/fail/weak_memory/racing_mixed_size_read.stderr
src/tools/miri/tests/fail/zst1.stderr
src/tools/miri/tests/fail/zst2.stderr
src/tools/miri/tests/fail/zst3.stderr
src/tools/miri/tests/pass/box.stderr
src/tools/miri/tests/pass/extern_types.stderr
src/tools/miri/tests/pass/stacked-borrows/issue-miri-2389.stderr

index 074fa032dcc427537ef840c750aeee4830e657f3..e354287453bad604fbe5c7f9cd8b9f701de3bfab 100644 (file)
@@ -364,7 +364,10 @@ fn report_msg<'tcx>(
         if is_local && idx > 0 {
             err.span_note(frame_info.span, &frame_info.to_string());
         } else {
-            err.note(&frame_info.to_string());
+            let sm = sess.source_map();
+            let lo = sm.lookup_char_pos(frame_info.span.lo());
+            let filename = sm.filename_for_diagnostics(&lo.file.name);
+            err.note(format!("{frame_info} at {}:{}:{}", filename, lo.line, lo.col.0 + 1));
         }
     }
 
index 473b49a6fbacb1001f287fd3cbad07a405e3f0f3..f649f0ae43e30992634235fd3f6b160d6e857ec1 100644 (file)
@@ -6,7 +6,7 @@ LL |         foo();
    |
    = help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/function_not_in_so.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index d95afcb05a4039792a9228ce115502ca675339ea..2d3275f6b19011eda917967475e5cf9d3c77cc1c 100644 (file)
@@ -9,7 +9,7 @@ LL | |     panic!()
 LL | | }
    | |_^ the program aborted execution
    |
-   = note: inside `panic_abort`
+   = note: inside `panic_abort` at $DIR/abort-terminator.rs:LL:CC
 note: inside `main`
   --> $DIR/abort-terminator.rs:LL:CC
    |
index 23b0835465499dc2d6d5879cc480c4f8692c8f22..095eeeb79de7b2d4e58ec72f945f85fbee7d4cd5 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { __rust_dealloc(ptr, layout.size(), layout.align()) }
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `std::alloc::dealloc`
+   = note: inside `std::alloc::dealloc` at RUSTLIB/alloc/src/alloc.rs:LL:CC
 note: inside `main`
   --> $DIR/deallocate-bad-alignment.rs:LL:CC
    |
index 7e903bdd3c640fd7494eb4975165725e1f859d61..5fe93c841b22c80c963456a3f77fe230a29ee89b 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { __rust_dealloc(ptr, layout.size(), layout.align()) }
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `std::alloc::dealloc`
+   = note: inside `std::alloc::dealloc` at RUSTLIB/alloc/src/alloc.rs:LL:CC
 note: inside `main`
   --> $DIR/deallocate-bad-size.rs:LL:CC
    |
index a4721fbe25d31c19fee151a0df66a714a12c40b5..fa7a74ee13cfe64cb12d27181463715ef1c92767 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { __rust_dealloc(ptr, layout.size(), layout.align()) }
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `std::alloc::dealloc`
+   = note: inside `std::alloc::dealloc` at RUSTLIB/alloc/src/alloc.rs:LL:CC
 note: inside `main`
   --> $DIR/deallocate-twice.rs:LL:CC
    |
index 17953ad90e4f68c46447d8bb26124fe2e6bc3e55..62ffb8142a3fb36c971153894af5f7734c4cbd8f 100644 (file)
@@ -7,8 +7,8 @@ LL |         FREE();
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `std::sys::PLATFORM::alloc::<impl std::alloc::GlobalAlloc for std::alloc::System>::dealloc`
-   = note: inside `<std::alloc::System as std::alloc::Allocator>::deallocate`
+   = note: inside `std::sys::PLATFORM::alloc::<impl std::alloc::GlobalAlloc for std::alloc::System>::dealloc` at RUSTLIB/std/src/sys/PLATFORM/alloc.rs:LL:CC
+   = note: inside `<std::alloc::System as std::alloc::Allocator>::deallocate` at RUSTLIB/std/src/alloc.rs:LL:CC
 note: inside `main`
   --> $DIR/global_system_mixup.rs:LL:CC
    |
index ee7887352a7b7650b33f90c6058018f339c9f001..ea70970ae0fefbf499318cf12de8a12d68fb35dc 100644 (file)
@@ -6,7 +6,7 @@ LL |         __rust_alloc(1, 1);
    |
    = help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
    = note: BACKTRACE:
-   = note: inside `start`
+   = note: inside `start` at $DIR/no_global_allocator.rs:LL:CC
 
 error: aborting due to previous error
 
index e7c8a45bca03624d4a0bc19f2e2711a9a541569c..24cabb395649c21766fd4234f7a89826ff9a846e 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { __rust_realloc(ptr, layout.size(), layout.align(), new_size) }
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `std::alloc::realloc`
+   = note: inside `std::alloc::realloc` at RUSTLIB/alloc/src/alloc.rs:LL:CC
 note: inside `main`
   --> $DIR/reallocate-bad-size.rs:LL:CC
    |
index de1e456d1ca6777a985d3a39246751757dce134d..5631dcb4cc084f50c73dfe5e88bf0d842c23d4e7 100644 (file)
@@ -7,7 +7,7 @@ LL |         let _z = *x;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/reallocate-change-alloc.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 7e61dbe601769c26d6bee766af8ed35b39d2cfc7..b1460bfb763eed3d219accd982bdfbef528c11b8 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { __rust_realloc(ptr, layout.size(), layout.align(), new_size) }
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `std::alloc::realloc`
+   = note: inside `std::alloc::realloc` at RUSTLIB/alloc/src/alloc.rs:LL:CC
 note: inside `main`
   --> $DIR/reallocate-dangling.rs:LL:CC
    |
index 62809dec13398b177db9f39594fd3d0f14fdd181..b1636050a78ca70972762891a49342f57d66049c 100644 (file)
@@ -7,11 +7,11 @@ LL |     unsafe { __rust_dealloc(ptr, layout.size(), layout.align()) }
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `std::alloc::dealloc`
-   = note: inside `<std::alloc::Global as std::alloc::Allocator>::deallocate`
-   = note: inside `alloc::alloc::box_free::<i32, std::alloc::Global>`
-   = note: inside `std::ptr::drop_in_place::<std::boxed::Box<i32>> - shim(Some(std::boxed::Box<i32>))`
-   = note: inside `std::mem::drop::<std::boxed::Box<i32>>`
+   = note: inside `std::alloc::dealloc` at RUSTLIB/alloc/src/alloc.rs:LL:CC
+   = note: inside `<std::alloc::Global as std::alloc::Allocator>::deallocate` at RUSTLIB/alloc/src/alloc.rs:LL:CC
+   = note: inside `alloc::alloc::box_free::<i32, std::alloc::Global>` at RUSTLIB/alloc/src/alloc.rs:LL:CC
+   = note: inside `std::ptr::drop_in_place::<std::boxed::Box<i32>> - shim(Some(std::boxed::Box<i32>))` at RUSTLIB/core/src/ptr/mod.rs:LL:CC
+   = note: inside `std::mem::drop::<std::boxed::Box<i32>>` at RUSTLIB/core/src/mem/mod.rs:LL:CC
 note: inside `main`
   --> $DIR/stack_free.rs:LL:CC
    |
index d7a409d9202ac09a483c7883a4a71f1fc63928e4..f57b52c4bda7a14943ba15cc87f305851f85c4d6 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x1] by a Unique retag
 LL |     let res = helper(val, ptr);
    |                      ^^^
    = note: BACKTRACE:
-   = note: inside `helper`
+   = note: inside `helper` at $DIR/box-cell-alias.rs:LL:CC
 note: inside `main`
   --> $DIR/box-cell-alias.rs:LL:CC
    |
index dbd180a11e54a1d60a3231eb7782b586861255fb..96f2ff3282c82a4955ec44bd1e30abb3eea32433 100644 (file)
@@ -11,7 +11,7 @@ LL | |             )
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/branchless-select-i128-pointer.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 0b63599dadf0d334bd0ab66deaad51b3128b0c49..7b9bbdb382895a75b589e37b65e279571458db02 100644 (file)
@@ -4,7 +4,7 @@ error: abnormal termination: Trace/breakpoint trap
 LL |         core::intrinsics::breakpoint()
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Trace/breakpoint trap
    |
-   = note: inside `main`
+   = note: inside `main` at $DIR/breakpoint.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index a91ca7c3445cba78dd121434b4a0b1dbc4c22ee0..94463bef8f0fe9731cfda7ae7e4699655b0799da 100644 (file)
@@ -7,7 +7,7 @@ LL |     panic!()
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `thread_start`
+   = note: inside `thread_start` at RUSTLIB/std/src/panic.rs:LL:CC
    = note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
 
 error: aborting due to previous error
index 9f706bdd61daf3245538a1bb5b04a6122f6ab9b4..fdbe91cc8a803986f08fd32c29bde95d92ecf788 100644 (file)
@@ -7,7 +7,7 @@ LL |     panic!()
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `thread_start`
+   = note: inside `thread_start` at RUSTLIB/std/src/panic.rs:LL:CC
    = note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
 
 error: aborting due to previous error
index 5ccdf2cabbdaa15a1335d318044fd831c1755825..763e0d3665d8f6bae4c27a7bb03878a518db5ca0 100644 (file)
@@ -7,7 +7,7 @@ LL |         assert_eq!(libc::pthread_join(native, ptr::null_mut()), 0);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/libc_pthread_join_detached.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 459e8252b98d901eb3a44a177ea61bb517e5a131..a3253e2ef933bf712b0acfea7a9ca409007b6d4f 100644 (file)
@@ -7,7 +7,7 @@ LL |         assert_eq!(libc::pthread_join(native, ptr::null_mut()), 0);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/libc_pthread_join_joined.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index b3cb8cdc2fa13018bc7c34c61dabcbcec42347f3..09e14d46a967f708fae5a1dabbb51fce7e8fe837 100644 (file)
@@ -7,7 +7,7 @@ LL |             assert_eq!(libc::pthread_join(thread_id, ptr::null_mut()), 0);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/libc_pthread_join_main.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index e26f51f57a933db3049066130a5069ace42826b1..db5d7bfd5daef9d80d1b8b5438fa31766ba0c000 100644 (file)
@@ -7,7 +7,7 @@ LL | ...   assert_eq!(libc::pthread_join(native_copy, ptr::null_mut()), 0);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/libc_pthread_join_multiple.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index e6226532558f710a251d58aefa8a14be6ef91f47..8db4a83f9cebb3d71f41df2aaab37c16d55eed01 100644 (file)
@@ -7,7 +7,7 @@ LL |             assert_eq!(libc::pthread_join(native, ptr::null_mut()), 0);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/libc_pthread_join_self.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 59dac7afa55f62ac7847c8f86e7629dfc93a56c9..d51fdee0b256fca3acdad3ccd756965a1007f49a 100644 (file)
@@ -13,7 +13,7 @@ please report an issue at <https://github.com/rust-lang/miri/issues> if this is
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/read_only_atomic_cmpxchg.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 3610dcb14e04bb36fb533a7ee9fe1233ecac3a47..17851d6b470b4883fd68a62b22db08c8789d9cac 100644 (file)
@@ -13,7 +13,7 @@ please report an issue at <https://github.com/rust-lang/miri/issues> if this is
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/read_only_atomic_load.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index c343a8d1051831b01e0b387047c53c21894f6905..cc3e56398781bf6e59e5df80538f2199ef945b5c 100644 (file)
@@ -7,7 +7,7 @@ LL |         let _val = *dangling_ptr.0;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/thread_local_static_dealloc.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 826c883a7a9888b455f13559efe0723adc5f407f..98db33e3206bd11bde8beb13550bd410a0235f36 100644 (file)
@@ -12,7 +12,7 @@ LL | | }
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `thread_start`
+   = note: inside `thread_start` at $DIR/unwind_top_of_stack.rs:LL:CC
 
 error: aborting due to previous error
 
index 20f34cf104d63f1b6f1f83c641ce34cf79b82600..7b297b260d87ab2ce141265147188e8a195132ce 100644 (file)
@@ -10,7 +10,7 @@ LL |         let rc = unsafe { c::WaitForSingleObject(self.handle.as_raw_handle(
    = note: inside `std::sys::PLATFORM::thread::Thread::join` at RUSTLIB/std/src/sys/PLATFORM/thread.rs:LL:CC
    = note: inside `std::thread::JoinInner::<'_, ()>::join` at RUSTLIB/std/src/thread/mod.rs:LL:CC
    = note: inside `std::thread::JoinHandle::<()>::join` at RUSTLIB/std/src/thread/mod.rs:LL:CC
-note: inside `main` at $DIR/windows_join_detached.rs:LL:CC
+note: inside `main`
   --> $DIR/windows_join_detached.rs:LL:CC
    |
 LL |     thread.join().unwrap();
index 462e09ee57fe081488589232b9ec573d08a2a5ad..5f081afe68af89458165ed1dcd244c7eea7ef428 100644 (file)
@@ -7,7 +7,7 @@ LL |     let x = unsafe { ptr::addr_of!(*p) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at RUSTLIB/core/src/ptr/mod.rs:LL:CC
    = note: this error originates in the macro `ptr::addr_of` (in Nightly builds, run with -Z macro-backtrace for more info)
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
index 9d113479cc7eb8caa9c0937976659e7433b7eee0..cb323818845df248cf36e34b025a8b18355b9d62 100644 (file)
@@ -7,7 +7,7 @@ LL |     let x = unsafe { *p };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/dangling_pointer_deref.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index e1264d2a3756035be656a35b392dde5bf9c80e92..02db6302a0a1ea671efd1587af94fb6e64dc4f21 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _x = unsafe { *p };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/dangling_zst_deref.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index c4a820f45097a6a3cb40890ffe6b79466927a875..3e2c3903b7e47fc572412a6a870b89a8564b3325 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _y = unsafe { &*x as *const u32 };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/deref-invalid-ptr.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 05b0c979a39709b77408d6917dd3fd6958d3fca5..fe039ef3adaf96d5cf1ac6fb95d61afa10882693 100644 (file)
@@ -7,7 +7,7 @@ LL |     let val = unsafe { (*xptr).1 };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/deref-partially-dangling.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 513fecb33a6769c90bc460bb9d64faf0285b2e4e..33aa6c844101775e30cda9ceff6d33ad1ae8e93e 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _ptr = unsafe { &*ptr };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/dyn_size.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index a99264e416d27d81444997431217cecda2bddc2a..3e492a170c8b14270f8bd12a3927380280433042 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _x: () = unsafe { *ptr };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/maybe_null_pointer_deref_zst.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 1dd25d428ed60dfcdf21e46cacc0905646c2f7ac..c41c20aaf4a7bb7665295de821a6b7780b5f5fe1 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { *ptr = zst_val };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/maybe_null_pointer_write_zst.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 54080a3fda3d318ef55deffaaa8f39ae33b1459c..64dcaa4548476876afd2e252fff55c5e93ab7a7c 100644 (file)
@@ -7,7 +7,7 @@ LL |     let x: i32 = unsafe { *std::ptr::null() };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/null_pointer_deref.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 59cf70eb72bb1b1e2618d21c5ce2c23cd20ece3f..301578a4f5fb411bb4c19099080820d4c7c51de3 100644 (file)
@@ -7,7 +7,7 @@ LL |     let x: () = unsafe { *std::ptr::null() };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/null_pointer_deref_zst.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index c0662579768947ddfc69bdacaf3fa4b54cee3ed1..0e5858a96f9d78cc59b599c27917843d6f29ebeb 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { *std::ptr::null_mut() = 0i32 };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/null_pointer_write.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index f6752c8916b0b2dd21990c8f90db2eded11c4af7..2953d85c25f3f96b631fac89066963ede32c4963 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { std::ptr::null_mut::<[u8; 0]>().write(zst_val) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/null_pointer_write_zst.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 2ad54ff784137ad3d6a54dffb12c825e21080177..b2461ce4230ad79f94604d25cc1890fa3883d3c2 100644 (file)
@@ -7,7 +7,7 @@ LL |     let x = unsafe { *v.as_ptr().wrapping_offset(5) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/out_of_bounds_read1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index ff064768bf3d915626de91359d4a4b07067a7a4c..b17058b406298a649fe5cf50505755f84c1540b1 100644 (file)
@@ -7,7 +7,7 @@ LL |     let x = unsafe { *v.as_ptr().wrapping_offset(5) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/out_of_bounds_read2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index d7e967eb60f7db917b61b8ea82e871be5614b390..679e4809ca663bc2dbfdfcb3db2bcc2272834f02 100644 (file)
@@ -7,7 +7,7 @@ LL |         let val = *x;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/stack_temporary.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 58c5c37db0305829b3338a5279b54c27346eea00..2ba8116cadc247ca710e303e2a2b2fd529c2cfd7 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { &mut *(LEAK as *mut i32) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `evil`
+   = note: inside `evil` at $DIR/storage_dead_dangling.rs:LL:CC
 note: inside `main`
   --> $DIR/storage_dead_dangling.rs:LL:CC
    |
index f0620faa7c2e949d255eda7f3887c887446e19c5..658fb228174e56bf17380408c7282bd1dc08288a 100644 (file)
@@ -7,7 +7,7 @@ LL |     let x = unsafe { *p };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/wild_pointer_deref.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index cab54c2403448aff88ba5df9815cdf67a0676694..c6bfd12b241101d7f1c0fdc4710c2f0e8807f4fe 100644 (file)
@@ -7,7 +7,7 @@ LL |             *pointer.load(Ordering::Relaxed)
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/alloc_read_race.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 10ff7991e40a83bfefb998a1ab15dafa4504e856..c4efc175c207764bb8404bc3ba9956b05c6a7081 100644 (file)
@@ -7,7 +7,7 @@ LL |             *pointer.load(Ordering::Relaxed) = 2;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/alloc_write_race.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 3813cde23836174fe1b86e99fd3dc180012390b5..04adf0a98b6c55d32bacdc7b3d1c84c892178a15 100644 (file)
@@ -7,7 +7,7 @@ LL |             (&*c.0).load(Ordering::SeqCst)
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/atomic_read_na_write_race1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 689e1c9460f1a33aac4cf4916983b33e4cb394a4..b48f927b8fcae501556bf93bf230f44bfe997686 100644 (file)
@@ -7,7 +7,7 @@ LL |             *atomic_ref.get_mut() = 32;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/atomic_read_na_write_race2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 2d289e01ae3f000edc0f027a4a20a1e1797bcaa3..fdb9b353a67bf42f4268a63ec11068ddf6245fee 100644 (file)
@@ -7,7 +7,7 @@ LL |             *atomic_ref.get_mut()
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/atomic_write_na_read_race1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 244a8be0a75ef04532edafb46689b8c0eaa65211..ec581e322b7d1da928d6c0da30bdf7a9c73a8edf 100644 (file)
@@ -7,7 +7,7 @@ LL |             (&*c.0).store(32, Ordering::SeqCst);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/atomic_write_na_read_race2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index aaaa33a892a427a90a796cf5c4946dd7bf7efd81..4c75f94d71cf55a0a4f6daf7808a7b34c7e485d4 100644 (file)
@@ -7,7 +7,7 @@ LL |             (&*c.0).store(64, Ordering::SeqCst);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/atomic_write_na_write_race1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 64a94813f38ace733f6bd18bd5d3112f4dffc407..8c7f14081c87b2634d705cc9770d4c347b76a495 100644 (file)
@@ -7,7 +7,7 @@ LL |             *atomic_ref.get_mut() = 32;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/atomic_write_na_write_race2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 8386578d9ad42b5780e397a8e5b863985feac1b6..663bb8d4af5122e24f171cfc9d21637209ff8392 100644 (file)
@@ -7,7 +7,7 @@ LL |             *c.0 = 64;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/dangling_thread_async_race.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index fdfd85b89e79d26a825c969642e8ba4e652bde2c..ad3e1735378f37711f4f54bc2d10ed709d56d35f 100644 (file)
@@ -7,7 +7,7 @@ LL |         *c.0 = 64;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/dangling_thread_race.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 847e42750f88af147ec01dc10dd540f7888de7bf..194c2260baaab478d8ac78d05fa5ca9cd5bceebb 100644 (file)
@@ -12,7 +12,7 @@ LL | |             );
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/dealloc_read_race1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 0170c9cc66283d5feacfff4a8104a8f79b49cdb1..f303d57c8bd9caa78af3eb2ec5e2823cd969099f 100644 (file)
@@ -7,7 +7,7 @@ LL |             *ptr.0
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/dealloc_read_race2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 2939d4f4399aec4702fb3c5c26c81a72af477a14..c986e912f03baa3a3afa50fed8daae10bde0136c 100644 (file)
@@ -7,7 +7,7 @@ LL |             }
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/dealloc_read_race_stack.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 74df8802241a117ea8f11d66c72be14afe648c14..56eb0b519c484dcd6bdd62479df5254d20b8791b 100644 (file)
@@ -12,7 +12,7 @@ LL | |             );
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/dealloc_write_race1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index e7eedb0a44899a7544f962ad543693bd5e9e7a2f..23b8e9ade0e0efe929a60ebbccaecb87117537cd 100644 (file)
@@ -7,7 +7,7 @@ LL |             *ptr.0 = 2;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/dealloc_write_race2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index eb47b3ac9e380295608d3631cae9a5098c18c19f..7b77e2470a1ab597ce20866ab09bb0bd6728548d 100644 (file)
@@ -7,7 +7,7 @@ LL |             }
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/dealloc_write_race_stack.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 5229aa4567e1c28f0acf8a80f111e0716a82e2ba..26c07ae6962b56b87ca26405e70102c6176de97b 100644 (file)
@@ -7,7 +7,7 @@ LL |             *c.0 = 64;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/enable_after_join_to_main.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 65b5a06e62f980c74e24b4a3725fb8a32dbb9ddf..0abfe213db17dbf559f7c8e3983a93733e7d7f93 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { V = 2 }
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/fence_after_load.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 1c9f583bda1a546f8cb1818d59f3c61b00ed43aa..08a19537312cf957c5dc5f2f11317ccc0bf4e341 100644 (file)
@@ -7,7 +7,7 @@ LL |             *c.0 = 64;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/read_write_race.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 2bc8352429c012f2d9f4344071b6c47c80c86b60..20f137afe732996661cd82566d05c63968e8f7e7 100644 (file)
@@ -7,7 +7,7 @@ LL |             stack_var
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/read_write_race_stack.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index c08fc43873025578dea3d9a43b99d196cdb76fb2..6121c25db22d7c809b97700775ab912b4456ed19 100644 (file)
@@ -7,7 +7,7 @@ LL |                 *c.0
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/relax_acquire_race.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index faa10d880de818fa516b19933594312e2e49abd2..777bc4adadc6d20f3039a9c48c9f208bf7013f1b 100644 (file)
@@ -7,7 +7,7 @@ LL |                 *c.0
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/release_seq_race.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 64960e42c6a3299f84c02860ab26e0e1592f87cd..0fcb192d920fd03293f0b61864de7dbd054ce366 100644 (file)
@@ -7,7 +7,7 @@ LL |                 *c.0
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/release_seq_race_same_thread.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index d47d7c143aeb0dabd02aeafd62ce8ad5bedadb60..3ae6f3b84fe12449cd0b0ea731e47dba8e2d13ba 100644 (file)
@@ -7,7 +7,7 @@ LL |                 *c.0
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/rmw_race.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 8aa06a74c6859def1c91e280e941a55f41ea9c65..0075f877b29dc9b12fb6afceaaaaad85a6e91938 100644 (file)
@@ -7,7 +7,7 @@ LL | }
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `race`
+   = note: inside `race` at $DIR/stack_pop_race.rs:LL:CC
 note: inside `main`
   --> $DIR/stack_pop_race.rs:LL:CC
    |
index 0046aa9cd289eb0820b8bb64f8ed616cd172ed27..ee7072ccf5d17dc47d865f024ea731b7a9441429 100644 (file)
@@ -7,7 +7,7 @@ LL |             *c.0 = 64;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/write_write_race.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index ab26d9c9598984738b960aa45d3f38110d8ad9c1..ceb473c2a4a41c7aa99e4c0c8b33ebe98df1be90 100644 (file)
@@ -7,7 +7,7 @@ LL |             stack_var = 1usize;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/write_write_race_stack.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 892bfc95d78d94c52c4f8b4cf4801d36d6635950..03272105c4146fa84096bc832627697e418dcca5 100644 (file)
@@ -7,7 +7,7 @@ LL |     r2.method2();
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/dyn-call-trait-mismatch.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 4453a3af6e91a2e41df866f23c90520cd09b404f..21870ef3733e82cbda3d74f8bb54620b5792d71d 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _err = baz_fake as &dyn Foo;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/dyn-upcast-trait-mismatch.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 205c861a5d3e345628f91d6adf387e8e0d632ec5..a2d343bf8651c92dafd1000135ca9d40f8774354 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _y = unsafe { *pointer };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/environ-gets-deallocated.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 517cff2a726741c54db411d0d3f779ea05a498a5..fa0d55e5f6781f51fbe071a6907ba18e63eaf32f 100644 (file)
@@ -6,7 +6,7 @@ LL |     let _val = unsafe { std::ptr::addr_of!(FOO) };
    |
    = help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/extern_static.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index b9835d6ca880e02a76170bef48e8fd34def1ac83..e4ee8f1acba29fd40e5e62a1ec51d9fc7b71644d 100644 (file)
@@ -6,7 +6,7 @@ LL |     let _val = X;
    |
    = help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/extern_static_in_const.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index cbf084ecd5d88260d6532815f1e99870b02f0b1b..a56eba09df98fcdcbf88d415873c6015c23ba8a9 100644 (file)
@@ -6,7 +6,7 @@ LL |     let _val = unsafe { environ };
    |
    = help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/extern_static_wrong_size.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 3ebfe49ad219c87b8e8a307d8f147e00099c5204..2a0759f8a3ba79720746173017a878c65bf7701c 100644 (file)
@@ -7,7 +7,7 @@ LL | ...: f32 = core::intrinsics::fsub_fast(f32::NAN, f32::NAN);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/fast_math_both.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index cc385c0e9e39890e948e761f9582ccba69cb9799..766662ca14ba93452f658fc76c34a0351b347cd5 100644 (file)
@@ -7,7 +7,7 @@ LL | ...   let _x: f32 = core::intrinsics::frem_fast(f32::NAN, 3.2);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/fast_math_first.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 0d5d822989cad6ddd90fcf6ba4a7849c19bfc7cd..ce93f9398f2cdbaf0594b1c071d81d720b5310dd 100644 (file)
@@ -7,7 +7,7 @@ LL | ...f32 = core::intrinsics::fmul_fast(3.4f32, f32::INFINITY);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/fast_math_second.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 40d4f73a32a321168774e121f8372bd2aa145477..406ccb070bab5d6c57cbd99c7b92a61e4adddc60 100644 (file)
@@ -7,7 +7,7 @@ LL |         let _ = malloc(0);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/check_arg_abi.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 3ed14b18f381366992d7ee454e7052bf90aa1f39..d90a7e31d6ee9df09ce08fbbb95a31234087a41b 100644 (file)
@@ -7,7 +7,7 @@ LL |         abort(1);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/check_arg_count_abort.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 8b363d5ba4705fd00c15cfc1383e34dcbe02496a..9e2751a216bcb99bce6679d086c66414ebe88934 100644 (file)
@@ -7,7 +7,7 @@ LL |         let _ = malloc();
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/check_arg_count_too_few_args.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 71b7e6235c4bab262726040ac838a419e25124dc..e9a38b5ae421853ba47bff5b39414e07e0e1015d 100644 (file)
@@ -7,7 +7,7 @@ LL |         let _ = malloc(1, 2);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/check_arg_count_too_many_args.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 23e8fce7baaa1c64fd68ca1874505dde791633e8..50afc1097974902ad8cd4e13ddea8fa056444596 100644 (file)
@@ -12,7 +12,7 @@ LL | |         );
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/check_callback_abi.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 9e123ffb203979045ba4a44a6df192822d2c490e..ae5c6cb72b3c9b741bdbd4b7a9b2b4c0e31f83ef 100644 (file)
@@ -7,7 +7,7 @@ LL |             foo();
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/exported_symbol_abi_mismatch.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 9e6b12466ae3da730a08dc414969023b09cf9e3c..17d56793ac5c64d8e810f8639ba01eeaef19ef5c 100644 (file)
@@ -7,7 +7,7 @@ LL |         std::mem::transmute::<unsafe fn(), unsafe extern "C" fn()>(foo)();
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/exported_symbol_abi_mismatch.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 9e123ffb203979045ba4a44a6df192822d2c490e..ae5c6cb72b3c9b741bdbd4b7a9b2b4c0e31f83ef 100644 (file)
@@ -7,7 +7,7 @@ LL |             foo();
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/exported_symbol_abi_mismatch.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index a36389047ed6d081b45fda1505d27475e5d95dd3..7f87ec6f3bb693a0b397416f0fc540721076708a 100644 (file)
@@ -9,7 +9,7 @@ LL |     unsafe { unwind() }
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/exported_symbol_bad_unwind1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index bd41683160c5da76a0bb3f1f42857bbe9a1a8354..484f703f9c1b52dba2f20f664a4a73eb45174e99 100644 (file)
@@ -10,7 +10,7 @@ LL | |     panic!();
 LL | | }
    | |_^ the program aborted execution
    |
-   = note: inside `nounwind`
+   = note: inside `nounwind` at $DIR/exported_symbol_bad_unwind2.rs:LL:CC
 note: inside `main`
   --> $DIR/exported_symbol_bad_unwind2.rs:LL:CC
    |
index bd41683160c5da76a0bb3f1f42857bbe9a1a8354..484f703f9c1b52dba2f20f664a4a73eb45174e99 100644 (file)
@@ -10,7 +10,7 @@ LL | |     panic!();
 LL | | }
    | |_^ the program aborted execution
    |
-   = note: inside `nounwind`
+   = note: inside `nounwind` at $DIR/exported_symbol_bad_unwind2.rs:LL:CC
 note: inside `main`
   --> $DIR/exported_symbol_bad_unwind2.rs:LL:CC
    |
index a661e72639967194c48f1272210169303105ea1f..b23c05a530357e101b5cd557c9a2f75f62d1621e 100644 (file)
@@ -9,7 +9,7 @@ LL |     unsafe { nounwind() }
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/exported_symbol_bad_unwind2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 5827e042d07ffdc21e3a896ceac47b78445717f3..8eb9fa4ff5c27d02828f11e6502355e012eebfac 100644 (file)
@@ -15,7 +15,7 @@ help: then it's defined here again, in crate `exported_symbol_clashing`
 LL | fn bar() {}
    | ^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/exported_symbol_clashing.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index d39a26a5429da7ac55d55bf1e0608fdb81ddcaeb..58a996e64530e73fa8b38df66f175fce008e4367 100644 (file)
@@ -13,7 +13,7 @@ LL | |     unreachable!()
 LL | | }
    | |_^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/exported_symbol_shim_clashing.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 3d0a5ce56bb5b7012dbdbe7705f62619cf9583ad..1aa13ce4389538f5f3cd602515b8e455871a2f36 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { foo(1) }
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/exported_symbol_wrong_arguments.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 7d495e3f46bedb8be91d8f23de130d560fa41f12..abfd7a9a6c4d9858e5fa3bad14dd74cb3de5183f 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { FOO() }
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/exported_symbol_wrong_type.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 2b5b46d6c4b40a6b822a0592c9655c9382f9e254..ad43c2c9d3fe7a045943204074e4e9620af696c0 100644 (file)
@@ -7,7 +7,7 @@ LL |     (*g)(42)
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/cast_box_int_to_fn_ptr.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index a8218469607f198e5c7561ca1ebff900a57ae0c3..bb2a263795980a9473e5e336290ce15967ed4ad1 100644 (file)
@@ -7,7 +7,7 @@ LL |     g(42)
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/cast_fn_ptr1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index d2de935848f20af2365e7e98421115aa3e083138..086712e0d13bd0abf235196731924e9a4d1ba3c5 100644 (file)
@@ -7,7 +7,7 @@ LL |     g(42)
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/cast_fn_ptr2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index caa29343aff044eb5614647513e87f0a02a035bf..55fd7d6072089eda01e6ecad8bc532df0af4d9c8 100644 (file)
@@ -7,7 +7,7 @@ LL |     g()
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/cast_fn_ptr3.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 1d84fdb0c9dadbd2a55deced222adbf159ae36db..610425658fe1f2c8cc5f4ec6beced4982c35254a 100644 (file)
@@ -7,7 +7,7 @@ LL |     g(&42 as *const i32)
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/cast_fn_ptr4.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 7187d1ff2d7eb84f57bb15d68779a95158c2126d..c4e08b58430a27a689bc5537cc9377a6e3bf5126 100644 (file)
@@ -7,7 +7,7 @@ LL |     g()
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/cast_fn_ptr5.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index a27fe21d6cdb6554e6f95354c830bc7a4b134b7a..81fc9716a4156378a0f0c48c2c20db00f2601c2b 100644 (file)
@@ -7,7 +7,7 @@ LL |     g(42)
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/cast_int_to_fn_ptr.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 56b82fe2560de8e50dabc70bc82c66ed189b8e35..7ce0b08695ebb877882df05783a8b9e4dd463481 100644 (file)
@@ -7,7 +7,7 @@ LL |         *std::mem::transmute::<fn(), *const u8>(f)
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/deref_fn_ptr.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index aeea7f36ff6bd9a494d2d39e9e58213ce0dfa223..10c53ca2beaee4ffcfd1f79f0fb7bc7ba4ab399a 100644 (file)
@@ -7,7 +7,7 @@ LL |         f()
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/execute_memory.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 1e0e6f33d1b6a11739c6e75dbf29b468b1caef55..f8c519c1b54b0c703575dcaca823b50fe18522bd 100644 (file)
@@ -7,7 +7,7 @@ LL |     x();
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/fn_ptr_offset.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 071642cde8a8a918f6b3f4eb9a79aade203d6e4f..80c5794736a9f9b1bcc309e3262cd4482bf8902d 100644 (file)
@@ -7,13 +7,13 @@ LL |         *num += 1;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/generator-pinned-moved.rs:LL:CC
 note: inside `<GeneratorIteratorAdapter<[static generator@$DIR/generator-pinned-moved.rs:LL:CC]> as std::iter::Iterator>::next`
   --> $DIR/generator-pinned-moved.rs:LL:CC
    |
 LL |         match me.resume(()) {
    |               ^^^^^^^^^^^^^
-   = note: inside `<std::boxed::Box<GeneratorIteratorAdapter<[static generator@$DIR/generator-pinned-moved.rs:LL:CC]>> as std::iter::Iterator>::next`
+   = note: inside `<std::boxed::Box<GeneratorIteratorAdapter<[static generator@$DIR/generator-pinned-moved.rs:LL:CC]>> as std::iter::Iterator>::next` at RUSTLIB/alloc/src/boxed.rs:LL:CC
 note: inside `main`
   --> $DIR/generator-pinned-moved.rs:LL:CC
    |
index 0d81f2e9d995dcc83afaf93cd6a2a081d99bde8f..c1909570d99f28d112be71027ad88f91acb86ea8 100644 (file)
@@ -7,7 +7,7 @@ LL |         std::intrinsics::assume(x > 42);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/assume.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index b4f08e2b484472c930aefb42698303d11635eba4..6e3215d9f1c9cd8b5f00c1dae4df61712d83bb05 100644 (file)
@@ -7,7 +7,7 @@ LL |         copy_nonoverlapping(std::ptr::null(), ptr, 0);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/copy_null.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 0039d3ee80b08ceef111613d6382f085270ee6d6..23a4adbd0ed6f0034e78aaf2fef4b8ae6b483a77 100644 (file)
@@ -7,7 +7,7 @@ LL |         (&mut y as *mut i32).copy_from(&x, 1usize << (mem::size_of::<usize>
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/copy_overflow.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 5d5f3abc46c23752b6501f9b5bba47cde1753785..cdb3da74ca954ebc7d120bf92f857e6caa102f60 100644 (file)
@@ -7,7 +7,7 @@ LL |         copy_nonoverlapping(a, b, 2);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/copy_overlapping.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 3cd149ced5b44ef755b3336320c08264fa35b129..a275979e6be13d75e8dd08c740556b969d92a620 100644 (file)
@@ -7,7 +7,7 @@ LL |         copy_nonoverlapping(&data[5], ptr, 0);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/copy_unaligned.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index ba55324b3b4efba7781f2665b10ffb960c867d7e..5ae14472a8a63672da68dad00066e8a6e33bcb55 100644 (file)
@@ -7,7 +7,7 @@ LL |         ctlz_nonzero(0u8);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/ctlz_nonzero.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 5479e92ca049f986abc17c42a1643118bb4fd8ce..ae013fb3d97940d8a7ce9791ae706ce61d4480f6 100644 (file)
@@ -7,7 +7,7 @@ LL |         cttz_nonzero(0u8);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/cttz_nonzero.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 92f0e20497c5f868ed21d473b62014a25754907a..8c2910de3eef43b48b20aa180c67cf153f33f2fe 100644 (file)
@@ -7,7 +7,7 @@ LL |         let _n = unchecked_div(1i64, 0);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/div-by-zero.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 7c909e59b2fabf384f1baff9b2ff9e225b87ccd5..2c7bbc00e1b1bce5cd850ccf58fee8cb2e9a39a2 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { std::intrinsics::exact_div(2, 0) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/exact_div1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index de1c6c2de96df00a45e6d45e9a87f0898cb5dc3f..6a264b8b4476f2d6c86a729c9748f034197e9d99 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { std::intrinsics::exact_div(2u16, 3) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/exact_div2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index b56c9fce5d3e6df36187acfb6af7d12ac54273ea..1a73822c300f3babbcb8316b909c72c33c088f4c 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { std::intrinsics::exact_div(-19i8, 2) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/exact_div3.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 9135ecfaaaf64c721843d109db75732757f72b35..27201d9c7cf65a79b613138fc2696980f1cd9f3c 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { std::intrinsics::exact_div(i64::MIN, -1) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/exact_div4.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index f3baa65a4298be64a77dacaaac51309f5615bf11..c82d6b30224fca09abe53588c89366b0a702054f 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f32, i32>(f32::INFINITY);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_32_inf1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index e9876aeb1de6a33b59e9c280ec71f95d1aa59080..4ca41b676e9c366ac42d8a50d57c958cb6b75844 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f32, i32>(f32::NEG_INFINITY);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_32_infneg1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index a783134f1730df564e04c49785c5a2e31da4d72f..88b8948b0c29e967be0f94e30a09be01d2fba821 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f32, u32>(f32::NAN);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_32_nan.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 19696314d1965775fccf5555ca7acdadc34e734c..ca798dd391aa9edce3df6348a6c88451af473474 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f32, u32>(-f32::NAN);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_32_nanneg.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index e316b3e50aa2c4c3b6515e6a488b0db271c98190..4ff6eb809854040112afabf5373c104338221c45 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f32, u32>(-1.000000001f32);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_32_neg.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index e1ae541a9c7a469fbbad3e373623519a0354fddb..fd17709d164b1c84e0023c819ef818cd6c7c6859 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f32, i32>(2147483648.0f32);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_32_too_big1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 6b363ad90918d42f3ea51fe9e2138582c2c17f63..fdc1f65dc148562f6ec0b44319323914c65ebcaf 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f32, u32>((u32::MAX - 127) as f32);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_32_too_big2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 48a18bd9839eed366db72eb0cbf822b23558c5d2..9e743a321444998c8a3658d96a183358600953ed 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f32, i32>(-2147483904.0f32);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_32_too_small1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index f0da1e48efa97fda991f8b277df6d5adcb87471a..ee01143dc8dfc518e0d836f314b9176abcecab58 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f64, u128>(f64::INFINITY);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_64_inf1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 31a7a9fa4bdde6ef01f702fb55eee40e53a6da4c..f37b8ae550643a82b4f2a2f86e559475f66071e3 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f64, u128>(f64::NEG_INFINITY);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_64_infneg1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index bd4d2b0566cb46922dddf83a20ca53aa656fa65e..05dcd5ebcf69aca82b9e3a2cbf584cc4fe0ba75b 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f64, i128>(f64::NEG_INFINITY);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_64_infneg2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 13c1fe72aab4967e00fdf292c0a9bd5142f7d4ef..0a914abb2ce78f61edbe1c991f0dee43d6c198e8 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f64, u32>(f64::NAN);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_64_nan.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 5abc854596a36dae1872e66c1a7de9d0accf21a6..7e24f45f653d1e0e771931cda266d3d8f36099f7 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f64, u128>(-1.0000000000001f64);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_64_neg.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 38563416455623f80d4531c2e4af44d0309af8f8..42da33321f371be55ce6bb78b77302c791f547cd 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f64, i32>(2147483648.0f64);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_64_too_big1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index c688a9b930d2b50b5e551d2223531256f60b2601..af4c4ceb3f73f8c6ebcb2e686090777476919177 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f64, i64>(9223372036854775808.0f64);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_64_too_big2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 6ce4afb493cee343a58f38f4584ad927441e8c2a..6e384a6fbc7cba6c45c9839d905c15bb0159732b 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f64, u64>(18446744073709551616.0f64);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_64_too_big3.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 5c41cdcaa246a92f91c41772662667245314af83..77f05ff91e3b59009e6d3143f8036ddf326b40a5 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f64, u128>(u128::MAX as f64);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_64_too_big4.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 8595b3dac901a9d5abdf0cbcdd1d6640ba434e7d..cb5eba490b447dd66e1aa5596100345c3e2474d2 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f64, i128>(2402823669209384634633746074317
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_64_too_big5.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index d62df4c83c934e4fff43b871bb4c9055c65ed0c9..d899d2f808a5d20daba082fc657f81e33401da4c 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f64, u128>(f64::MAX);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_64_too_big6.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index d54b0efdfb37b666c2b94ec9291676e744245c5e..443b2759c260667ee7daae03c671c0687e3d4e52 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f64, i128>(f64::MIN);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_64_too_big7.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 1d8cd75e3e688fef43e1339e4ab38303901b9d12..f8d88c44aa80d40fa9c287e7437994b4697dcd90 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f64, i32>(-2147483649.0f64);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_64_too_small1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index de4f355a55e5fd59e1c12ef2fbb65d2b9667c5b7..d94e57b1e67c22f337590f3bd119d9ba42867d9f 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f64, i64>(-9223372036854777856.0f64);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_64_too_small2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index a2e17d5a963ee84f21ebbdf8fc33635ce8021b08..59b74f5f51f377a964f057db3cf4ab08ba2f5683 100644 (file)
@@ -7,7 +7,7 @@ LL |         float_to_int_unchecked::<f64, i128>(-240282366920938463463374607431
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/float_to_int_64_too_small3.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 8f164a2aee3b37c359d49f8e28e7aac853994713..4422310870a6416f0eff7d5b6a48d7147adc1e77 100644 (file)
@@ -7,7 +7,7 @@ LL |     let x = unsafe { x.offset(5) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/out_of_bounds_ptr_1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index b98e0f295f29a02f69cabeac7bfc095c3f905d73..6a11ebae108f0be392873e0d9394d327bafd89e9 100644 (file)
@@ -7,7 +7,7 @@ LL |     let x = unsafe { x.offset(isize::MIN) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/out_of_bounds_ptr_2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index b24eb6fc519d7b79692ec3a9fdfbc44cc0b1d44a..1364e0f9009d8e30190f642cec2285c9b0588b6a 100644 (file)
@@ -7,7 +7,7 @@ LL |     let x = unsafe { x.offset(-1) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/out_of_bounds_ptr_3.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 3473d53f3e2a28ecc7561e5e438f2caefceae742..9c5d0d13108cef7b068346c85c38438c4f09ab6d 100644 (file)
@@ -7,7 +7,7 @@ LL |         let _n = 1i64.unchecked_shr(64);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/overflowing-unchecked-rsh.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index c4fa6e655fba06879205624f9b0adaff951d44b2..9c1c387d5499128090df1f01c8fe23a2cb31a669 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _x = unsafe { x.offset(0) }; // UB despite offset 0, NULL is never
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/ptr_offset_0_plus_0.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 4fd811f937ba63c37291b1e02a17dcb983917919..a31b929d7a7aeeafa9978bc3e28458a52ffaa96c 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { end_ptr.offset_from(end_ptr) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/ptr_offset_from_oob.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 002fe1927bdd478b66b67098117cbfec73de36da..803aaaa55c21ecbda30405070f9a5c1c94926c40 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _val = unsafe { ptr1.sub_ptr(ptr2) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/ptr_offset_from_unsigned_neg.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 2ca2009d809017684f5b9ba5df2e3be0697c1779..f76881011d0791584df8e3b68091c26465718e3e 100644 (file)
@@ -7,7 +7,7 @@ LL |         let _val = (1 as *mut u8).offset(1);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/ptr_offset_int_plus_int.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 8ec8cb6654c2fb79d3efcf06eea8876a3c891c7c..6e0744b7d5c395678eff21288f3c1dff25ad21eb 100644 (file)
@@ -7,7 +7,7 @@ LL |         let _val = (1 as *mut u8).offset(ptr as isize);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/ptr_offset_int_plus_ptr.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index b3d50bae0cfcf3ca47563bb3bf0c95df72e1bea0..6fb94cf5f8122e80c235a376ed672425852acb5b 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _val = unsafe { x.offset(isize::MIN) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/ptr_offset_overflow.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index e4f71c8a0647da9e9d9dd379b41d2a9efb0d3d7b..b18147ce379d73e204b286595dc36b227a8bcbf5 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _x = unsafe { x.offset(0) }; // UB despite offset 0, the pointer is
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/ptr_offset_ptr_plus_0.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index d6dd00f729ebfd57f4b6a838fdb69ca0f1e90c56..2236ad9839c5e8c3e2b6a024171743b6a3299c72 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { raw_eq(&x, &x) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/raw_eq_on_ptr.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index b3c0e51521964edde520d10093734f7cdc782ccb..1fc39188e5a9449f0ff44bce1c359cb17d902424 100644 (file)
@@ -7,7 +7,7 @@ LL |         let _n = unchecked_rem(3u32, 0);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/rem-by-zero.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index d333e85599bcd9a9cc7e9046457fec3fa50b8378..ddab24d0c1639e6d0faabdfe3720177d9f4b4a40 100644 (file)
@@ -7,7 +7,7 @@ LL |         simd_div(x, y);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/simd-div-by-zero.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 9fbc4f9cc655a4867ee1e2fb3dfaa3b94c3e7ef6..27d4dd9e3e73f11d2ead9576eb0f7f5d4900cb05 100644 (file)
@@ -7,7 +7,7 @@ LL |         simd_div(x, y);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/simd-div-overflow.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index bdb7dbf9264ab9c50ba0842c78a2bb959506890e..5c73c76a1613d3119ca8eae60cf92dcc880d6d1b 100644 (file)
@@ -7,7 +7,7 @@ LL |         unsafe { intrinsics::simd_cast(self) }
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `std::simd::Simd::<f32, 2>::to_int_unchecked::<i32>`
+   = note: inside `std::simd::Simd::<f32, 2>::to_int_unchecked::<i32>` at RUSTLIB/core/src/../../portable-simd/crates/core_simd/src/vector.rs:LL:CC
 note: inside `main`
   --> $DIR/simd-float-to-int.rs:LL:CC
    |
index 718bd572627fde170484fdedd0a180b72e7e7591..7512d57f6720e3836a21d8044882923fe665169f 100644 (file)
@@ -7,7 +7,7 @@ LL |         unsafe { intrinsics::simd_gather(or, ptrs, enable.to_int()) }
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `std::simd::Simd::<i8, 4>::gather_select_unchecked`
+   = note: inside `std::simd::Simd::<i8, 4>::gather_select_unchecked` at RUSTLIB/core/src/../../portable-simd/crates/core_simd/src/vector.rs:LL:CC
 note: inside `main`
   --> $DIR/simd-gather.rs:LL:CC
    |
index eeae3f906549c55a0e7544396378e300820df742..1e5ac5277e6dcfae8d6f0fe7d344d208ef05fafe 100644 (file)
@@ -7,7 +7,7 @@ LL |         simd_reduce_any(x);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/simd-reduce-invalid-bool.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 5af18d671bcbd9e1fe73239d468a578fadb0a628..96248e7e599ccb17c1e423c8e96d49f2ee07a9c3 100644 (file)
@@ -7,7 +7,7 @@ LL |         simd_rem(x, y);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/simd-rem-by-zero.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index e2928e899ea89fca6a438375e97e3d695086d4c9..a9ad60a0e5be2218a57b1a29b5b5cf5afbfccd1f 100644 (file)
@@ -7,7 +7,7 @@ LL |             intrinsics::simd_scatter(self, ptrs, enable.to_int())
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `std::simd::Simd::<i8, 4>::scatter_select_unchecked`
+   = note: inside `std::simd::Simd::<i8, 4>::scatter_select_unchecked` at RUSTLIB/core/src/../../portable-simd/crates/core_simd/src/vector.rs:LL:CC
 note: inside `main`
   --> $DIR/simd-scatter.rs:LL:CC
    |
index 1aeda92400cbc7202eeb4265efd0ee5aea01d98b..e72cce998d0ed25b7c26c78383ef832bfd187710 100644 (file)
@@ -7,7 +7,7 @@ LL |         simd_select_bitmask(0b11111111u8, x, x);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/simd-select-bitmask-invalid.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 420178ed722eb7afd52ce070ff0c278a76a73d06..277ceb54ec71e5dc5d6050ce0f5eb1d840c5c9a9 100644 (file)
@@ -7,7 +7,7 @@ LL |         simd_select(x, x, x);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/simd-select-invalid-bool.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 33c00b412ae3ce1fec2d51dbf28f2d69e9a90c14..c8445bb3cdc7566032bacf3e49eeb0ca7c8e65ef 100644 (file)
@@ -7,7 +7,7 @@ LL |         simd_shl(x, y);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/simd-shl-too-far.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 7210f133309d198bf070bfee24f3d4fad67ec303..8eec30c5a52f203ef18fd56e500f92bed95c2b69 100644 (file)
@@ -7,7 +7,7 @@ LL |         simd_shr(x, y);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/simd-shr-too-far.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 0c5873fd28b46af7a2a9aabb468bcc8a1b17b3d8..f5e96198ee4c9fc439fbf2749a953f6185a4056a 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _val = unsafe { 40000u16.unchecked_add(30000) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/unchecked_add1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 0b132c4739d6c5b3bf620a918f2888fad1f1d34a..5a5c7070ae0b4dc298358040ebb623b5ee604973 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _val = unsafe { (-30000i16).unchecked_add(-8000) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/unchecked_add2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 3d95487fe66d09f9bcce7b23e47c742451e7ce36..9267e0c49473145334053dc1d6bf2643005deeec 100644 (file)
@@ -7,7 +7,7 @@ LL |         std::intrinsics::unchecked_div(i16::MIN, -1);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/unchecked_div1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 1c7bae9ebd6a2315a4ae5f60728f6e97f3dbbed0..9a5a585e1cce48b0a8229fd49da49dc6b8fb6840 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _val = unsafe { 300u16.unchecked_mul(250u16) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/unchecked_mul1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 7b9b040b85f2609cd5772a5666b1b42e32d0f68b..46b9f6182172828b2cf7991668f987ed441d586d 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _val = unsafe { 1_000_000_000i32.unchecked_mul(-4) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/unchecked_mul2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 2dbf39836ec576d2b1672978c5d4cb1f68628377..01e569767bac09634757451a9548298974379583 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _val = unsafe { 14u32.unchecked_sub(22) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/unchecked_sub1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index b5266fe40a77296d9ebd5cbfac5d2f8fce3c8360..38c1647b4f49f44536091907a391b31e039cb359 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _val = unsafe { 30000i16.unchecked_sub(-7000) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/unchecked_sub2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index d44ba4f18119f34876ea68d76240081c34644cc1..150128ba2a41c1d4665fd5f57c8f2ff62e189e49 100644 (file)
@@ -4,7 +4,7 @@ error: abnormal termination: aborted execution: attempted to instantiate uninhab
 LL |     unsafe { std::mem::uninitialized::<!>() };
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aborted execution: attempted to instantiate uninhabited type `!`
    |
-   = note: inside `main`
+   = note: inside `main` at $DIR/uninit_uninhabited_type.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 857e8581e73009d04488bade2bbd06d541eb99bb..b2969ca3b59296f4289a7047f10e8c12daf0d485 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { write_bytes::<u8>(std::ptr::null_mut(), 0, 0) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/write_bytes_null.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 7f0307348e9493b7514fa9969d75e22b135b6dd9..f88afde879acf1863784ab3634da54fedd5c8334 100644 (file)
@@ -7,7 +7,7 @@ LL |         (&mut y as *mut i32).write_bytes(0u8, 1usize << (mem::size_of::<usi
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/write_bytes_overflow.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index cc22de306bf2b0f0eee98cfb50874b0308ed39f1..9d44ba9f746adb2a7440afd1967a93850855d0a7 100644 (file)
@@ -4,7 +4,7 @@ error: abnormal termination: aborted execution: attempted to zero-initialize typ
 LL |     unsafe { std::mem::zeroed::<fn()>() };
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^ aborted execution: attempted to zero-initialize type `fn()`, which is invalid
    |
-   = note: inside `main`
+   = note: inside `main` at $DIR/zero_fn_ptr.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 7a69bcb42f5715e5cd0b535c09ae588cf5190b03..a522f6cd4fffedfcdc99c7c148d99dcf32960e8f 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _x = b == std::hint::black_box(true);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/invalid_bool.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 53372e72052fbe4da0dc557319d5fb68bad6a159..d49d753d9e185b0d81bd9a598c87a2ddc39645b4 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _x = c == 'x';
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/invalid_char.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index e6dce409ced2aa54cf3c92d978c40c04412f99c0..01d931de919a47ab4a90db4a6c6ed964defde0bf 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _val = mem::discriminant(&f);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/invalid_enum_tag.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 3a7f44422574192bd90a89424711fb3a987dbc16..eccdbff604574a15e2b014c127f76b0702a013c8 100644 (file)
@@ -7,7 +7,7 @@ LL |     let i = unsafe { std::mem::MaybeUninit::<i32>::uninit().assume_init() }
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/invalid_int.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index b2c1e2f446f36f280544d7bb6a44fe157deeff24..f1cb50ab9be788b384ed98693b0812f7baa2142c 100644 (file)
@@ -7,7 +7,7 @@ LL |         let obj = std::mem::transmute::<FatPointer, *mut FunnyPointer>(obj)
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `FunnyPointer::from_data_ptr`
+   = note: inside `FunnyPointer::from_data_ptr` at $DIR/issue-miri-1112.rs:LL:CC
 note: inside `main`
   --> $DIR/issue-miri-1112.rs:LL:CC
    |
index d31968364850a1131a5ac1c9cd5e05aa232713be..b8e13b61ceb60c5191f291b61de5ff41b229899c 100644 (file)
@@ -7,7 +7,7 @@ LL |     <dyn X as X>::foo(&());
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/issue-miri-2432.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index fce0a79b7bea9f3c7d4cd289abd5b62cfc0c7269..6425a5d7a0ad40c42d1f6e350818c4c8c05cd1bd 100644 (file)
@@ -7,7 +7,7 @@ LL |     *y = 42;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/modifying_constants.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 6fb6c03406e93cacfbb7e0f27a758708a3db245f..a2a63b8baf5945480051dfa486ac029dd09249cb 100644 (file)
@@ -7,7 +7,7 @@ LL |         *(y as *const _ as *const !)
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/never_say_never.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index a3a3f132427f8010f0a45576965675c3a694973a..e8df4739f9bcb4faca7e5767a3038e6743bb5a95 100644 (file)
@@ -7,7 +7,7 @@ LL |         std::mem::transmute::<Human, !>(Human)
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/never_transmute_humans.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 1387ccfdae4fe8f86296fe5b0a9be4cf970c8466..413172b25464a683451b6652cced69565b029d4c 100644 (file)
@@ -7,7 +7,7 @@ LL |         match v.0 {}
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `m::f`
+   = note: inside `m::f` at $DIR/never_transmute_void.rs:LL:CC
 note: inside `main`
   --> $DIR/never_transmute_void.rs:LL:CC
    |
index 958597fce1893e28d38501294b022edec3e164db..3bd2be03ea1ff2aff213a232e6f6e1277a164db2 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { miri_start_panic(&mut 0) }
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/bad_miri_start_panic.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 76867f8c288369ec369041da55cfc4cef73f4851..5d7f01f4786561ffe5700a2927c47672d56f867a 100644 (file)
@@ -9,10 +9,10 @@ LL |     std::panic::catch_unwind(|| unwind()).unwrap_err();
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
-   = note: inside `std::panicking::r#try::do_call::<[closure@$DIR/bad_unwind.rs:LL:CC], ()>`
-   = note: inside `std::panicking::r#try::<(), [closure@$DIR/bad_unwind.rs:LL:CC]>`
-   = note: inside `std::panic::catch_unwind::<[closure@$DIR/bad_unwind.rs:LL:CC], ()>`
+   = note: inside closure at $DIR/bad_unwind.rs:LL:CC
+   = note: inside `std::panicking::r#try::do_call::<[closure@$DIR/bad_unwind.rs:LL:CC], ()>` at RUSTLIB/std/src/panicking.rs:LL:CC
+   = note: inside `std::panicking::r#try::<(), [closure@$DIR/bad_unwind.rs:LL:CC]>` at RUSTLIB/std/src/panicking.rs:LL:CC
+   = note: inside `std::panic::catch_unwind::<[closure@$DIR/bad_unwind.rs:LL:CC], ()>` at RUSTLIB/std/src/panic.rs:LL:CC
 note: inside `main`
   --> $DIR/bad_unwind.rs:LL:CC
    |
index b6185effdece5a35e4e65124b44405b61f110e61..6bf13f21601503766daadfb984df0585078d9511 100644 (file)
@@ -71,16 +71,16 @@ error: abnormal termination: the program aborted execution
 LL |     ABORT();
    | ^ the program aborted execution
    |
-   = note: inside `std::sys::PLATFORM::abort_internal`
-   = note: inside `std::panicking::rust_panic_with_hook`
-   = note: inside closure
-   = note: inside `std::sys_common::backtrace::__rust_end_short_backtrace::<[closure@std::rt::begin_panic<&str>::{closure#0}], !>`
+   = note: inside `std::sys::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
+   = note: inside `std::panicking::rust_panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
+   = note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
+   = note: inside `std::sys_common::backtrace::__rust_end_short_backtrace::<[closure@std::rt::begin_panic<&str>::{closure#0}], !>` at RUSTLIB/std/src/sys_common/backtrace.rs:LL:CC
 note: inside `<Foo as std::ops::Drop>::drop`
   --> $DIR/double_panic.rs:LL:CC
    |
 LL |         panic!("second");
    | ^
-   = note: inside `std::ptr::drop_in_place::<Foo> - shim(Some(Foo))`
+   = note: inside `std::ptr::drop_in_place::<Foo> - shim(Some(Foo))` at RUSTLIB/core/src/ptr/mod.rs:LL:CC
 note: inside `main`
   --> $DIR/double_panic.rs:LL:CC
    |
index 36afd962b66424684ac77d8ca378db307909d3c1..39ad0d268b94ea9b9e58f515a1b3e467abf32efe 100644 (file)
@@ -5,7 +5,7 @@ error: abnormal termination: the program aborted execution
 LL |     core::intrinsics::abort();
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ the program aborted execution
    |
-   = note: inside `panic_handler`
+   = note: inside `panic_handler` at $DIR/no_std.rs:LL:CC
 note: inside `start`
   --> $DIR/no_std.rs:LL:CC
    |
index 9c586534ecbfa04d6b153442cec956e097e0f1a8..d25dd7be63596e3761edc033cef1df496d65cfac 100644 (file)
@@ -6,12 +6,12 @@ error: abnormal termination: the program aborted execution
 LL |                 ABORT();
    | ^ the program aborted execution
    |
-   = note: inside `panic_abort::__rust_start_panic::abort`
-   = note: inside `panic_abort::__rust_start_panic`
-   = note: inside `std::panicking::rust_panic`
-   = note: inside `std::panicking::rust_panic_with_hook`
-   = note: inside closure
-   = note: inside `std::sys_common::backtrace::__rust_end_short_backtrace::<[closure@std::rt::begin_panic<&str>::{closure#0}], !>`
+   = note: inside `panic_abort::__rust_start_panic::abort` at RUSTLIB/panic_abort/src/lib.rs:LL:CC
+   = note: inside `panic_abort::__rust_start_panic` at RUSTLIB/panic_abort/src/lib.rs:LL:CC
+   = note: inside `std::panicking::rust_panic` at RUSTLIB/std/src/panicking.rs:LL:CC
+   = note: inside `std::panicking::rust_panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
+   = note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
+   = note: inside `std::sys_common::backtrace::__rust_end_short_backtrace::<[closure@std::rt::begin_panic<&str>::{closure#0}], !>` at RUSTLIB/std/src/sys_common/backtrace.rs:LL:CC
 note: inside `main`
   --> $DIR/panic_abort1.rs:LL:CC
    |
index 2bcb1c206e4c6c700ebc90e7f19ab4bfe6db2123..f56d509a697b4661f22c9e9bf092adf87a05bdcc 100644 (file)
@@ -6,13 +6,13 @@ error: abnormal termination: the program aborted execution
 LL |                 ABORT();
    | ^ the program aborted execution
    |
-   = note: inside `panic_abort::__rust_start_panic::abort`
-   = note: inside `panic_abort::__rust_start_panic`
-   = note: inside `std::panicking::rust_panic`
-   = note: inside `std::panicking::rust_panic_with_hook`
-   = note: inside closure
-   = note: inside `std::sys_common::backtrace::__rust_end_short_backtrace::<[closure@std::panicking::begin_panic_handler::{closure#0}], !>`
-   = note: inside `std::panicking::begin_panic_handler`
+   = note: inside `panic_abort::__rust_start_panic::abort` at RUSTLIB/panic_abort/src/lib.rs:LL:CC
+   = note: inside `panic_abort::__rust_start_panic` at RUSTLIB/panic_abort/src/lib.rs:LL:CC
+   = note: inside `std::panicking::rust_panic` at RUSTLIB/std/src/panicking.rs:LL:CC
+   = note: inside `std::panicking::rust_panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
+   = note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
+   = note: inside `std::sys_common::backtrace::__rust_end_short_backtrace::<[closure@std::panicking::begin_panic_handler::{closure#0}], !>` at RUSTLIB/std/src/sys_common/backtrace.rs:LL:CC
+   = note: inside `std::panicking::begin_panic_handler` at RUSTLIB/std/src/panicking.rs:LL:CC
 note: inside `main`
   --> $DIR/panic_abort2.rs:LL:CC
    |
index 2218d75917bf453f030036b9dde1fb8322ea9699..43792f769930b6a7964dce2220018619d03cfccc 100644 (file)
@@ -6,13 +6,13 @@ error: abnormal termination: the program aborted execution
 LL |                 ABORT();
    | ^ the program aborted execution
    |
-   = note: inside `panic_abort::__rust_start_panic::abort`
-   = note: inside `panic_abort::__rust_start_panic`
-   = note: inside `std::panicking::rust_panic`
-   = note: inside `std::panicking::rust_panic_with_hook`
-   = note: inside closure
-   = note: inside `std::sys_common::backtrace::__rust_end_short_backtrace::<[closure@std::panicking::begin_panic_handler::{closure#0}], !>`
-   = note: inside `std::panicking::begin_panic_handler`
+   = note: inside `panic_abort::__rust_start_panic::abort` at RUSTLIB/panic_abort/src/lib.rs:LL:CC
+   = note: inside `panic_abort::__rust_start_panic` at RUSTLIB/panic_abort/src/lib.rs:LL:CC
+   = note: inside `std::panicking::rust_panic` at RUSTLIB/std/src/panicking.rs:LL:CC
+   = note: inside `std::panicking::rust_panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
+   = note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
+   = note: inside `std::sys_common::backtrace::__rust_end_short_backtrace::<[closure@std::panicking::begin_panic_handler::{closure#0}], !>` at RUSTLIB/std/src/sys_common/backtrace.rs:LL:CC
+   = note: inside `std::panicking::begin_panic_handler` at RUSTLIB/std/src/panicking.rs:LL:CC
 note: inside `main`
   --> $DIR/panic_abort3.rs:LL:CC
    |
index 645532c7e5acdf2701bcee5970bcd3f1c84ec402..89e181bfb276c984a5deb2bb9eee286fbe09d8d5 100644 (file)
@@ -6,13 +6,13 @@ error: abnormal termination: the program aborted execution
 LL |                 ABORT();
    | ^ the program aborted execution
    |
-   = note: inside `panic_abort::__rust_start_panic::abort`
-   = note: inside `panic_abort::__rust_start_panic`
-   = note: inside `std::panicking::rust_panic`
-   = note: inside `std::panicking::rust_panic_with_hook`
-   = note: inside closure
-   = note: inside `std::sys_common::backtrace::__rust_end_short_backtrace::<[closure@std::panicking::begin_panic_handler::{closure#0}], !>`
-   = note: inside `std::panicking::begin_panic_handler`
+   = note: inside `panic_abort::__rust_start_panic::abort` at RUSTLIB/panic_abort/src/lib.rs:LL:CC
+   = note: inside `panic_abort::__rust_start_panic` at RUSTLIB/panic_abort/src/lib.rs:LL:CC
+   = note: inside `std::panicking::rust_panic` at RUSTLIB/std/src/panicking.rs:LL:CC
+   = note: inside `std::panicking::rust_panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
+   = note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
+   = note: inside `std::sys_common::backtrace::__rust_end_short_backtrace::<[closure@std::panicking::begin_panic_handler::{closure#0}], !>` at RUSTLIB/std/src/sys_common/backtrace.rs:LL:CC
+   = note: inside `std::panicking::begin_panic_handler` at RUSTLIB/std/src/panicking.rs:LL:CC
 note: inside `main`
   --> $DIR/panic_abort4.rs:LL:CC
    |
index 6212f9758cd750e9943066bd29ed8d57fd1060a0..363e69ba41db94e03843fd2e55a23b4d4275b8b1 100644 (file)
@@ -7,7 +7,7 @@ LL |         miri_start_panic(&mut 0);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/unwind_panic_abort.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 0af63c2bbaed40573ec17b417aa6597e2d07edde..06e5ede8c7788447bb204c9df009d115331d1027 100644 (file)
@@ -7,7 +7,7 @@ LL |     let x = *p;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/pointer_partial_overwrite.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 008a48580a99be2e01205bf0d75a57666a2f983f..042d8cd4afe79a99d13573491d3925a3b85c5f46 100644 (file)
@@ -7,7 +7,7 @@ LL |         let _val = *left_ptr;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `deref`
+   = note: inside `deref` at $DIR/provenance_transmute.rs:LL:CC
 note: inside `main`
   --> $DIR/provenance_transmute.rs:LL:CC
    |
index a674705682f133f4788cd9b0b7b9915ed703f871..4ad885ddabdc05d6d76cc5d1dadaa0a3d6a32217 100644 (file)
@@ -7,7 +7,7 @@ LL |     assert_eq!(unsafe { *ptr }, 3);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/ptr_int_unexposed.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index e042138f6572370148a5c0042aa4a01f864398c1..ef9dcad97cbdc10608eef46a47fc5926d5c2993a 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _val = unsafe { *xptr_invalid };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/ptr_invalid.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 98d00deebf508787e72677da915e5ba525963011..3607635c8fbe5be2f98f52e7f1258a31a5583b39 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _ = unsafe { roundtrip.offset(1) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/ptr_invalid_offset.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index a6bad09fcb6b31ed77b410f16461494c2149c754..998ccc8bb49c683f9c2455059b902b4438b4f54e 100644 (file)
@@ -6,7 +6,7 @@ LL |     let _ptr = std::ptr::from_exposed_addr::<i32>(addr);
    |
    = help: use Strict Provenance APIs (https://doc.rust-lang.org/nightly/std/ptr/index.html#strict-provenance, https://crates.io/crates/sptr) instead
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/strict_provenance_cast.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index bc5f780e48770f5dde12a6b90690a2315ee2d13f..70bdd157bdc34719b3859df543f55e8b0f7eebc6 100644 (file)
@@ -7,7 +7,7 @@ LL |     assert_eq!(42, **unsafe { &*Weak::as_ptr(&weak) });
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at RUSTLIB/core/src/macros/mod.rs:LL:CC
    = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
index 5bf736ffa41043295c781a8c20a88dd532ab8ba2..61a7161a98bb3c9880f5901eb3f52c5f8d338c73 100644 (file)
@@ -7,7 +7,7 @@ LL |         let _val = *x;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/reading_half_a_pointer.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 0c2d9073bb6f8f4b713c6a2873a052bf5837abff..200f5f56213d609816e720fccdd9c2de14c00f46 100644 (file)
@@ -7,7 +7,7 @@ LL | ...   miri_resolve_frame(*frame, 0);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/bad-backtrace-decl.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index f2164edb3aa188e73f15595bac76f7d8201c0aa9..5d51790f8a5c105e0105a8d76122d0973381c22c 100644 (file)
@@ -6,7 +6,7 @@ LL |         miri_get_backtrace(2, std::ptr::null_mut());
    |
    = help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/bad-backtrace-flags.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 0b370bfee2f916e42a8e9a606b84f6254b8da799..f23f834000aa1a69663c83a0c0cfa4ee26314617 100644 (file)
@@ -7,7 +7,7 @@ LL |         miri_resolve_frame(std::ptr::null_mut(), 0);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/bad-backtrace-ptr.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 75b9342ad8e7cf94b1958515e886c3fcbae367be..fe123c2352f0af3b4814dc9ed8143ac4c15ae560 100644 (file)
@@ -6,7 +6,7 @@ LL |         miri_resolve_frame(buf[0], 2);
    |
    = help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/bad-backtrace-resolve-flags.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 8fb5fccf0dc5bffe00b2af89566c2dc107801ca3..a3003c9093f728573dfd49d470c95df44cd0d209 100644 (file)
@@ -6,7 +6,7 @@ LL | ...   miri_resolve_frame_names(buf[0], 2, std::ptr::null_mut(), std::ptr::n
    |
    = help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/bad-backtrace-resolve-names-flags.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 29ef78afcc38c9fc71d42061d20903f4f2fd5c7f..b4a02c0e363ed6ba8f4ede3c08394f1ed8c7ecdd 100644 (file)
@@ -6,7 +6,7 @@ LL |         miri_backtrace_size(2);
    |
    = help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/bad-backtrace-size-flags.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 8d44ae8ddf6188f83862a93591a65fa48f97c09a..02f1eee97fc044737ea5cc9ebba80823f37ec15e 100644 (file)
@@ -6,7 +6,7 @@ LL |         libc::close(1);
    |
    = help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/close_stdout.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 177ff0fe821fdbdd103555e85bd3ae4a0f4d6844..2385439c8a5f7f85ae007287cfeb6e08313cf33b 100644 (file)
@@ -7,16 +7,16 @@ LL |         let fd = cvt_r(|| unsafe { open64(path.as_ptr(), flags, opts.mode a
    = help: pass the flag `-Zmiri-disable-isolation` to disable isolation;
    = help: or pass `-Zmiri-isolation-error=warn` to configure Miri to return an error code from isolated operations (if supported for that operation) and continue with a warning
    = note: BACKTRACE:
-   = note: inside closure
-   = note: inside `std::sys::PLATFORM::cvt_r::<i32, [closure@std::sys::PLATFORM::fs::File::open_c::{closure#0}]>`
-   = note: inside `std::sys::PLATFORM::fs::File::open_c`
-   = note: inside closure
-   = note: inside `std::sys::PLATFORM::small_c_string::run_with_cstr::<std::sys::PLATFORM::fs::File, [closure@std::sys::PLATFORM::fs::File::open::{closure#0}]>`
-   = note: inside `std::sys::PLATFORM::small_c_string::run_path_with_cstr::<std::sys::PLATFORM::fs::File, [closure@std::sys::PLATFORM::fs::File::open::{closure#0}]>`
-   = note: inside `std::sys::PLATFORM::fs::File::open`
-   = note: inside `std::fs::OpenOptions::_open`
-   = note: inside `std::fs::OpenOptions::open::<&std::path::Path>`
-   = note: inside `std::fs::File::open::<&str>`
+   = note: inside closure at RUSTLIB/std/src/sys/PLATFORM/fs.rs:LL:CC
+   = note: inside `std::sys::PLATFORM::cvt_r::<i32, [closure@std::sys::PLATFORM::fs::File::open_c::{closure#0}]>` at RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
+   = note: inside `std::sys::PLATFORM::fs::File::open_c` at RUSTLIB/std/src/sys/PLATFORM/fs.rs:LL:CC
+   = note: inside closure at RUSTLIB/std/src/sys/PLATFORM/fs.rs:LL:CC
+   = note: inside `std::sys::PLATFORM::small_c_string::run_with_cstr::<std::sys::PLATFORM::fs::File, [closure@std::sys::PLATFORM::fs::File::open::{closure#0}]>` at RUSTLIB/std/src/sys/PLATFORM/small_c_string.rs:LL:CC
+   = note: inside `std::sys::PLATFORM::small_c_string::run_path_with_cstr::<std::sys::PLATFORM::fs::File, [closure@std::sys::PLATFORM::fs::File::open::{closure#0}]>` at RUSTLIB/std/src/sys/PLATFORM/small_c_string.rs:LL:CC
+   = note: inside `std::sys::PLATFORM::fs::File::open` at RUSTLIB/std/src/sys/PLATFORM/fs.rs:LL:CC
+   = note: inside `std::fs::OpenOptions::_open` at RUSTLIB/std/src/fs.rs:LL:CC
+   = note: inside `std::fs::OpenOptions::open::<&std::path::Path>` at RUSTLIB/std/src/fs.rs:LL:CC
+   = note: inside `std::fs::File::open::<&str>` at RUSTLIB/std/src/fs.rs:LL:CC
 note: inside `main`
   --> $DIR/isolated_file.rs:LL:CC
    |
index fd371cbaeaf0898ea1ca8ae3d8b093923cb0c55f..ed826147e3bdbb13fb73dcc587c3789cc8f08e74 100644 (file)
@@ -7,7 +7,7 @@ LL |         libc::read(0, bytes.as_mut_ptr() as *mut libc::c_void, 512);
    = help: pass the flag `-Zmiri-disable-isolation` to disable isolation;
    = help: or pass `-Zmiri-isolation-error=warn` to configure Miri to return an error code from isolated operations (if supported for that operation) and continue with a warning
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/isolated_stdin.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index c889e44b526c1f4f5d0be17df881bad0ea8e8d6c..35ff1926b065740d35e30966228e67c0af9d4e78 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _fd = unsafe { libc::mkstemp(s) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `test_mkstemp_immutable_arg`
+   = note: inside `test_mkstemp_immutable_arg` at $DIR/mkstemp_immutable_arg.rs:LL:CC
 note: inside `main`
   --> $DIR/mkstemp_immutable_arg.rs:LL:CC
    |
index 3f46a475e55a9c7706914774d50f93302ab656ac..bcece7ad4e55d4257e4f37e9448d140a50672b67 100644 (file)
@@ -6,7 +6,7 @@ LL |         libc::read(1, bytes.as_mut_ptr() as *mut libc::c_void, 512);
    |
    = help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/read_from_stdout.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index f319e57345d309e93f76792b3e8b3b55009813bd..5a8e7352c768618f53b3cc47ef3b9b95481fc494 100644 (file)
@@ -7,7 +7,7 @@ LL | ...safe { libc::open(name_ptr, libc::O_CREAT) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `test_file_open_missing_needed_mode`
+   = note: inside `test_file_open_missing_needed_mode` at $DIR/unix_open_missing_required_mode.rs:LL:CC
 note: inside `main`
   --> $DIR/unix_open_missing_required_mode.rs:LL:CC
    |
index 0dfb68a8b2eea9041ce8b2cfc0d25dbf3ac89ff5..d4a38e1ca9615f4dad28e0b3f635cad1b2ff6d5f 100644 (file)
@@ -6,7 +6,7 @@ LL |         libc::write(0, bytes.as_ptr() as *const libc::c_void, 5);
    |
    = help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/write_to_stdin.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 2a2dbe58667dafc1b0511d0b73eb894d8ccae22b..d951f81810ef63e8e9c8eae71bd4117c3d0c3ce9 100644 (file)
@@ -7,7 +7,7 @@ LL |         memchr(std::ptr::null(), 0, 0);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/shim_arg_size.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index c5b550eab1d18dbb661317f77076047d9168268c..ecfedf753703dc3576a405aa6cddd0a101345c22 100644 (file)
@@ -7,7 +7,7 @@ LL |         libc::pthread_cond_destroy(cond.as_mut_ptr());
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/libc_pthread_cond_double_destroy.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 2e28d31e74ef341a4e976d33bf6d420848d6c8da..f39d909adbd64c76fd1bcadb58bea7cb3f6fb072 100644 (file)
@@ -7,7 +7,7 @@ LL |         libc::pthread_condattr_destroy(attr.as_mut_ptr());
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/libc_pthread_condattr_double_destroy.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 22c35cf7a72dbd383ba07ed56da370ab99ee0ac3..4a138e6f8a25cc4f07cc3541c33f0efb596580c1 100644 (file)
@@ -7,7 +7,7 @@ LL |         libc::pthread_mutex_lock(&mut mutex as *mut _);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/libc_pthread_mutex_NULL_deadlock.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index fb3da39eeec478a88fc299949b99fa1a27f1ae18..599655a8692b1b334fa92b1fca60eb257ecba496 100644 (file)
@@ -4,7 +4,7 @@ error: deadlock: the evaluated program deadlocked
 LL |             assert_eq!(libc::pthread_mutex_lock(lock_copy.0.get() as *mut _), 0);
    |                                                                            ^ the evaluated program deadlocked
    |
-   = note: inside closure
+   = note: inside closure at $DIR/libc_pthread_mutex_deadlock.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 8ab2fb0b743dbea7c5c4c6b4dd50e683ffb99726..8aea3f5c6932ffb22940280f72a9a829d73a9e3b 100644 (file)
@@ -7,7 +7,7 @@ LL |         libc::pthread_mutex_lock(&mut mutex as *mut _);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/libc_pthread_mutex_default_deadlock.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 483bf431c8310b5866ff88b286a81104ed61f259..a8ab948116e14ba3b4b3c222bf85a7642c1d63d9 100644 (file)
@@ -7,7 +7,7 @@ LL |         libc::pthread_mutex_destroy(&mut mutex as *mut _);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/libc_pthread_mutex_destroy_locked.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index d28d12b009abde10288b4fc2eed2110abdcf6ee1..9620fdbd18b2ff1d7f3722efda8b6e225c7a588f 100644 (file)
@@ -7,7 +7,7 @@ LL |         libc::pthread_mutex_destroy(mutex.as_mut_ptr());
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/libc_pthread_mutex_double_destroy.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 89a248c628463febbc756444c5e45a71e57fb6c0..b7877d3aa397d71c8051e317cf9c33adcb10f5b0 100644 (file)
@@ -4,7 +4,7 @@ error: deadlock: the evaluated program deadlocked
 LL |         libc::pthread_mutex_lock(&mut mutex as *mut _);
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program deadlocked
    |
-   = note: inside `main`
+   = note: inside `main` at $DIR/libc_pthread_mutex_normal_deadlock.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 4449b4ada93e7344ad9f66955c8dfbbf1141f0b1..754137b85b9af0581c42aa423e755c13d2f6ad4f 100644 (file)
@@ -7,7 +7,7 @@ LL |         libc::pthread_mutex_unlock(&mut mutex as *mut _);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/libc_pthread_mutex_normal_unlock_unlocked.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 084deb6b1ba69baee90ad90fea8cbce0a691475c..aa81b06fc80af6c4fcb145269a441c1e83a343a6 100644 (file)
@@ -7,7 +7,7 @@ LL | ...t_eq!(libc::pthread_mutex_unlock(lock_copy.0.get() as *mut _), 0);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/libc_pthread_mutex_wrong_owner.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 9a546b5ecad2fb1bd94e41c76be534f783c53df2..82949047d2aab0a4e870b07e492aed77789b42ae 100644 (file)
@@ -7,7 +7,7 @@ LL |         libc::pthread_mutexattr_destroy(attr.as_mut_ptr());
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/libc_pthread_mutexattr_double_destroy.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 3dc538c5ba5d1e8f140485066f2a99f8981280c6..be73e7f1e2ad44d53ccba3c234780e2a7197d04c 100644 (file)
@@ -7,7 +7,7 @@ LL |         libc::pthread_rwlock_destroy(rw.get());
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/libc_pthread_rwlock_destroy_read_locked.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 92ae22fe003854db4a1fdcbaece97e4e21f6b280..bc2713a5ffbfad68a36646b1076a4119d8009b6d 100644 (file)
@@ -7,7 +7,7 @@ LL |         libc::pthread_rwlock_destroy(rw.get());
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/libc_pthread_rwlock_destroy_write_locked.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index f88e7bf5ed7b85a9a609d8b184a6d68aeca8497b..5004f84358da80ee7ca50c2a121cbb27e7fb3be8 100644 (file)
@@ -7,7 +7,7 @@ LL |         libc::pthread_rwlock_destroy(&mut lock);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/libc_pthread_rwlock_double_destroy.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index f665baac58b3677e0edb55c5d6e9a500f1cf11de..075c8f0ef529cbbe6caced928c2834b212040e34 100644 (file)
@@ -4,7 +4,7 @@ error: deadlock: the evaluated program deadlocked
 LL |         libc::pthread_rwlock_wrlock(rw.get());
    |                                             ^ the evaluated program deadlocked
    |
-   = note: inside `main`
+   = note: inside `main` at $DIR/libc_pthread_rwlock_read_write_deadlock_single_thread.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 45959dc0b96a08560b1c809040e75f21d9c5e233..7dfa27b43d073a6e05fbeffaed3c6587d5c5d6a2 100644 (file)
@@ -7,7 +7,7 @@ LL | ...   assert_eq!(libc::pthread_rwlock_unlock(lock_copy.0.get() as *mut _),
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/libc_pthread_rwlock_read_wrong_owner.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index da31193804d678e64f7a295d34940eddb36e90a2..1c25ac2c048fb7e50bf88c6626697718f23a7f4f 100644 (file)
@@ -7,7 +7,7 @@ LL |         libc::pthread_rwlock_unlock(rw.get());
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/libc_pthread_rwlock_unlock_unlocked.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 768a7eee99067651296f1b8f27fde049686ca2c7..333fb1afb91b7a6bf7ae5e32ab7c90193ef82b24 100644 (file)
@@ -4,7 +4,7 @@ error: deadlock: the evaluated program deadlocked
 LL |             assert_eq!(libc::pthread_rwlock_wrlock(lock_copy.0.get() as *mut _), 0);
    |                                                                               ^ the evaluated program deadlocked
    |
-   = note: inside closure
+   = note: inside closure at $DIR/libc_pthread_rwlock_write_read_deadlock.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 3655bdff20a45de2f1c79099bdc730ef99005598..caab19a782f97fbdbc04b97e2ebd15dd0873c463 100644 (file)
@@ -4,7 +4,7 @@ error: deadlock: the evaluated program deadlocked
 LL |         libc::pthread_rwlock_rdlock(rw.get());
    |                                             ^ the evaluated program deadlocked
    |
-   = note: inside `main`
+   = note: inside `main` at $DIR/libc_pthread_rwlock_write_read_deadlock_single_thread.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 0085db9d47fbf6b94d277cc5621e7eea48b1b6f9..93bede54fcf1838df52a48f154bdeccba268e2b7 100644 (file)
@@ -4,7 +4,7 @@ error: deadlock: the evaluated program deadlocked
 LL |             assert_eq!(libc::pthread_rwlock_wrlock(lock_copy.0.get() as *mut _), 0);
    |                                                                               ^ the evaluated program deadlocked
    |
-   = note: inside closure
+   = note: inside closure at $DIR/libc_pthread_rwlock_write_write_deadlock.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 14289cd2e13a1c3832ecf68cce90575d7d5d5a3d..30f5f447c717c9d4fc70ac4d9ea1f938781aa84f 100644 (file)
@@ -4,7 +4,7 @@ error: deadlock: the evaluated program deadlocked
 LL |         libc::pthread_rwlock_wrlock(rw.get());
    |                                             ^ the evaluated program deadlocked
    |
-   = note: inside `main`
+   = note: inside `main` at $DIR/libc_pthread_rwlock_write_write_deadlock_single_thread.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index b1a12badf03c3a318e4ae337bc41c0dfe5ede666..5bf402c775ae53860c8b6e63394a14c8076a897d 100644 (file)
@@ -7,7 +7,7 @@ LL | ...   assert_eq!(libc::pthread_rwlock_unlock(lock_copy.0.get() as *mut _),
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/libc_pthread_rwlock_write_wrong_owner.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 1e3173b60729fc1357b68c7c9d6f032634a64db4..325565fa1e786aa327cd337838c91979fa9aa080 100644 (file)
@@ -7,7 +7,7 @@ LL |             std::hint::unreachable_unchecked();
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `test_cpp20_rwc_syncs`
+   = note: inside `test_cpp20_rwc_syncs` at $DIR/cpp20_rwc_syncs.rs:LL:CC
 note: inside `main`
   --> $DIR/cpp20_rwc_syncs.rs:LL:CC
    |
index 84480307164cb7791bf9e1b2ea6ad84c6132bb93..461275c3fa346a872a8f9b9d86f9657011b340e4 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a write access
 LL |     *target = 13;
    |     ^^^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/alias_through_mutation.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 5736ecfed828c341d5ccb0139c18d20f0b1d0849..4514abb4ab2e47900200bc4dde0ababfa159fe4a 100644 (file)
@@ -17,7 +17,7 @@ help: <TAG> is this argument
 LL | pub fn safe(_x: &mut i32, _y: &mut i32) {}
    |             ^^
    = note: BACKTRACE:
-   = note: inside `safe`
+   = note: inside `safe` at $DIR/aliasing_mut1.rs:LL:CC
 note: inside `main`
   --> $DIR/aliasing_mut1.rs:LL:CC
    |
index e9ef219a3db9e9017999e7299c1237f59a5a41d5..9ca9743cbd929be46fb3418a504316321bb3cc9c 100644 (file)
@@ -17,7 +17,7 @@ help: <TAG> is this argument
 LL | pub fn safe(_x: &i32, _y: &mut i32) {}
    |             ^^
    = note: BACKTRACE:
-   = note: inside `safe`
+   = note: inside `safe` at $DIR/aliasing_mut2.rs:LL:CC
 note: inside `main`
   --> $DIR/aliasing_mut2.rs:LL:CC
    |
index 7aabfe9938737641789f4e9c538b36731c522054..b504097a3c91f2541339f527e04e3edf93c545af 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a Unique FnEntry reta
 LL |     safe_raw(xraw, xshr);
    |     ^^^^^^^^^^^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `safe`
+   = note: inside `safe` at $DIR/aliasing_mut3.rs:LL:CC
 note: inside `main`
   --> $DIR/aliasing_mut3.rs:LL:CC
    |
index 07995cdec447d5de715d5ee0d85075909c67e709..6fe0d70902930fe864390ec1e7c0f9914d77dc21 100644 (file)
@@ -17,7 +17,7 @@ help: <TAG> is this argument
 LL | pub fn safe(_x: &i32, _y: &mut Cell<i32>) {}
    |             ^^
    = note: BACKTRACE:
-   = note: inside `safe`
+   = note: inside `safe` at $DIR/aliasing_mut4.rs:LL:CC
 note: inside `main`
   --> $DIR/aliasing_mut4.rs:LL:CC
    |
index 9d356dc84ae4e86add56bee6265d55415f73ed4e..f114130f6fafdabece908fc8999b7a357ffc0d0e 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a write access
 LL |     *our = 5;
    |     ^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `unknown_code_2`
+   = note: inside `unknown_code_2` at $DIR/box_exclusive_violation1.rs:LL:CC
 note: inside `demo_box_advanced_unique`
   --> $DIR/box_exclusive_violation1.rs:LL:CC
    |
index 320dbacfbdd992fb690f406d0f0cd26c09587fbb..6aa14361287e3824d15ee21e9683529cb968d34e 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0xc] by a Unique retag
 LL |         unsafe { from_raw_parts_mut(self_.as_ptr() as *mut T, self_.len()) }
    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/buggy_as_mut_slice.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 4a1cfc88c092e662d0cbbb61a3a50cf5c7c38c1a..cdeccc0855a959c428bc8d7916e20e0644a8ce98 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x10] by a Unique retag
 LL |                 from_raw_parts_mut(ptr.offset(mid as isize), len - mid),
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/buggy_split_at_mut.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 66b08da58fab9db7b18f0db7244bb1f934d4c529..516964b9a4e6f11a95cc3195d2af7da83ab5ef86 100644 (file)
@@ -7,17 +7,17 @@ LL |     unsafe { __rust_dealloc(ptr, layout.size(), layout.align()) }
    = help: this indicates a potential bug in the program: it performed an invalid operation, but the Stacked Borrows rules it violated are still experimental
    = help: see https://github.com/rust-lang/unsafe-code-guidelines/blob/master/wip/stacked-borrows.md for further information
    = note: BACKTRACE:
-   = note: inside `std::alloc::dealloc`
-   = note: inside `<std::alloc::Global as std::alloc::Allocator>::deallocate`
-   = note: inside `alloc::alloc::box_free::<i32, std::alloc::Global>`
-   = note: inside `std::ptr::drop_in_place::<std::boxed::Box<i32>> - shim(Some(std::boxed::Box<i32>))`
-   = note: inside `std::mem::drop::<std::boxed::Box<i32>>`
+   = note: inside `std::alloc::dealloc` at RUSTLIB/alloc/src/alloc.rs:LL:CC
+   = note: inside `<std::alloc::Global as std::alloc::Allocator>::deallocate` at RUSTLIB/alloc/src/alloc.rs:LL:CC
+   = note: inside `alloc::alloc::box_free::<i32, std::alloc::Global>` at RUSTLIB/alloc/src/alloc.rs:LL:CC
+   = note: inside `std::ptr::drop_in_place::<std::boxed::Box<i32>> - shim(Some(std::boxed::Box<i32>))` at RUSTLIB/core/src/ptr/mod.rs:LL:CC
+   = note: inside `std::mem::drop::<std::boxed::Box<i32>>` at RUSTLIB/core/src/mem/mod.rs:LL:CC
 note: inside closure
   --> $DIR/deallocate_against_protector1.rs:LL:CC
    |
 LL |         drop(unsafe { Box::from_raw(raw) });
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-   = note: inside `<[closure@$DIR/deallocate_against_protector1.rs:LL:CC] as std::ops::FnOnce<(&mut i32,)>>::call_once - shim`
+   = note: inside `<[closure@$DIR/deallocate_against_protector1.rs:LL:CC] as std::ops::FnOnce<(&mut i32,)>>::call_once - shim` at RUSTLIB/core/src/ops/function.rs:LL:CC
 note: inside `inner`
   --> $DIR/deallocate_against_protector1.rs:LL:CC
    |
index 89aeb90d36ae1c9f973453f0cba2167d8ad0d47a..47cfa0de7258c1fe0263442c8387a6d7b3d7a7d9 100644 (file)
@@ -7,17 +7,17 @@ LL |     unsafe { __rust_dealloc(ptr, layout.size(), layout.align()) }
    = help: this indicates a potential bug in the program: it performed an invalid operation, but the Stacked Borrows rules it violated are still experimental
    = help: see https://github.com/rust-lang/unsafe-code-guidelines/blob/master/wip/stacked-borrows.md for further information
    = note: BACKTRACE:
-   = note: inside `std::alloc::dealloc`
-   = note: inside `<std::alloc::Global as std::alloc::Allocator>::deallocate`
-   = note: inside `alloc::alloc::box_free::<NotUnpin, std::alloc::Global>`
-   = note: inside `std::ptr::drop_in_place::<std::boxed::Box<NotUnpin>> - shim(Some(std::boxed::Box<NotUnpin>))`
-   = note: inside `std::mem::drop::<std::boxed::Box<NotUnpin>>`
+   = note: inside `std::alloc::dealloc` at RUSTLIB/alloc/src/alloc.rs:LL:CC
+   = note: inside `<std::alloc::Global as std::alloc::Allocator>::deallocate` at RUSTLIB/alloc/src/alloc.rs:LL:CC
+   = note: inside `alloc::alloc::box_free::<NotUnpin, std::alloc::Global>` at RUSTLIB/alloc/src/alloc.rs:LL:CC
+   = note: inside `std::ptr::drop_in_place::<std::boxed::Box<NotUnpin>> - shim(Some(std::boxed::Box<NotUnpin>))` at RUSTLIB/core/src/ptr/mod.rs:LL:CC
+   = note: inside `std::mem::drop::<std::boxed::Box<NotUnpin>>` at RUSTLIB/core/src/mem/mod.rs:LL:CC
 note: inside closure
   --> $DIR/deallocate_against_protector2.rs:LL:CC
    |
 LL |         drop(unsafe { Box::from_raw(raw) });
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-   = note: inside `<[closure@$DIR/deallocate_against_protector2.rs:LL:CC] as std::ops::FnOnce<(&mut NotUnpin,)>>::call_once - shim`
+   = note: inside `<[closure@$DIR/deallocate_against_protector2.rs:LL:CC] as std::ops::FnOnce<(&mut NotUnpin,)>>::call_once - shim` at RUSTLIB/core/src/ops/function.rs:LL:CC
 note: inside `inner`
   --> $DIR/deallocate_against_protector2.rs:LL:CC
    |
index 4e0dfe3227d12d70326f6c2be620ba94886ce60c..e05f44fac9d2fff578aba7d142a8700e00d20f8e 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a write access
 LL |         *base = 1;
    |         ^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/disable_mut_does_not_merge_srw.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index ea49d7f481673c67b60e82b32c7be754bb63da7e..cb5e7bffde480d2e148bc7ad6090368551f90cac 100644 (file)
@@ -10,7 +10,7 @@ LL |     unsafe { *ptr = 0 };
    = help: this indicates a potential bug in the program: it performed an invalid operation, but the Stacked Borrows rules it violated are still experimental
    = help: see https://github.com/rust-lang/unsafe-code-guidelines/blob/master/wip/stacked-borrows.md for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/exposed_only_ro.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 799669f71f41d76a4c269aa9dcdc909dd2967a91..e81411bbdd86cf86122907b831d9bf7fa4bedfff 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a Unique FnEntry reta
 LL |     x.do_bad();
    |     ^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/fnentry_invalidation.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 238a99a37131287e2888cb78a50766f3ebb813b2..d6d0084fa2a77cf49dd6dad50fa703b9fa7aebb8 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0xc] by a Unique FnEntry reta
 LL |     let _ = t.sli.as_mut_ptr();
    |             ^^^^^^^^^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/fnentry_invalidation2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index c6db00b01f3028a7fde8432dfc54a00e57235d48..95ff05d70c30ec5a5fa77a0e828c030eb926cd9f 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a read access
 LL |     let _val = unsafe { *xraw };
    |                         ^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/illegal_read1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index f200d55d853334ea86264dee799008f6919f6b2b..5cfdf77dee402f3190df136ae4c679e92877afc7 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a SharedReadOnly reta
 LL |     let shr = unsafe { &*xraw };
    |                        ^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/illegal_read2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 7e2e7244914f0f9f174432a0f02ecdac0d176d4a..dacf71fa3ee39a1da6d83727ad37ebae27337762 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a read access
 LL |     let _val = unsafe { *xref1.r };
    |                         ^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/illegal_read3.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 46231a3d405242df58bbf9523af0a7792b62d6f2..5ce0cba617914d5d1d364c085e8d0498f2bea8d9 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a read access
 LL |     let _val = unsafe { *xraw }; // use the raw again, this invalidates xref2 *even* with the special read except for uniq refs
    |                         ^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/illegal_read4.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 8d12930bc47b3bb730736d22fa68de739a45b7b5..63532f87944eb7ab50ce406bdb543a55acbefc86 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [$HEX..$HEX] by a read access
 LL |     mem::forget(unsafe { ptr::read(xshr) }); // but after reading through the shared ref
    |                          ^^^^^^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/illegal_read5.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 2a8c5990ffd4ac1ab005315667320981bda1bab8..93a96ab601ea3e5f39431714c26c85cacce1679b 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a Unique retag
 LL |         let x = &mut *x; // kill `raw`
    |                 ^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/illegal_read6.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index d7bb30e8e18205ad2a7929310798b08640c5a510..2e8ac207beafb486a8512a4fe9567d9bdcef1563 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a read access
 LL |         let _val = ptr::read(raw);
    |                    ^^^^^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/illegal_read7.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 52087e471c71f0fb442ce3d901ea50c50ecca910..c34fa2d8955ddd6daf81eb781a4946ca7b7b7c63 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a write access
 LL |         *y2 += 1;
    |         ^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/illegal_read8.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index e93d338b288fd12ac099f6ec0c9c1f58c90b89c1..43b4ec2ba652b3b73e7aebbb580f9353f063b712 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a write access
 LL |         *exposed_ptr = 0;
    |         ^^^^^^^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/illegal_read_despite_exposed1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 4639bc018c5e040510786c2b1b783d8f1449d554..832320fc202e126558318553453d5bb538c8fa5f 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a read access
 LL |         let _val = *exposed_ptr;
    |                    ^^^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/illegal_read_despite_exposed2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 8c47c2a3076a772b8147067e1b5d7d361af9b7e7..3bf27f4815e9a1da5aa60005614323b266fbf6c5 100644 (file)
@@ -15,7 +15,7 @@ help: <TAG> was created by a SharedReadOnly retag at offsets [0x0..0x4]
 LL |         let x: *mut u32 = xref as *const _ as *mut _;
    |                           ^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/illegal_write1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 63e7968ab3e62c5d547807c601b1f9ddd9d13e29..a9fe8cb6ccc026efaf556d703f079436335528ae 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a Unique retag
 LL |     drop(&mut *target); // reborrow
    |          ^^^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/illegal_write2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 7145610f40e2b694c62ef983aea5eda6e8e91328..d64f2ddd87670b9b83db185973620de1e35b1245 100644 (file)
@@ -15,7 +15,7 @@ help: <TAG> was created by a SharedReadOnly retag at offsets [0x0..0x4]
 LL |     let ptr = r#ref as *const _ as *mut _; // raw ptr, with raw tag
    |               ^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/illegal_write3.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 6e3a619e4acbfc0fc93a96a169b51b6e1a5f244b..e3b8621eb74f2daab17b197ca3448135abad0240 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a Unique retag
 LL |     let _mut_ref: &mut i32 = unsafe { mem::transmute(raw) }; // &mut, with raw tag
    |                                       ^^^^^^^^^^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/illegal_write4.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 05c63be0752cbf0f2e0ff4089e5f25350dbb737e..bbeb81258bde6a0483fded5d174843e72b561e0e 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a write access
 LL |     unsafe { *xraw = 15 };
    |              ^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/illegal_write5.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 36ada28e28520ca9ed85cc854e223562f3f89b49..49d9050f3094771d1f44672fec01770dc6b0c89c 100644 (file)
@@ -17,7 +17,7 @@ help: <TAG> is this argument
 LL | fn foo(a: &mut u32, y: *mut u32) -> u32 {
    |        ^
    = note: BACKTRACE:
-   = note: inside `foo`
+   = note: inside `foo` at $DIR/illegal_write6.rs:LL:CC
 note: inside `main`
   --> $DIR/illegal_write6.rs:LL:CC
    |
index 574e6dd17bf3173d8ecb566ca8a2053c582210b1..87ddf61d7586cfdd8d0ad68aac873412b1b4af6d 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a write access
 LL |         *exposed_ptr = 0;
    |         ^^^^^^^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/illegal_write_despite_exposed1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 44d7688f61d1337764983756bde2e19bdad6c15b..1d68727c82af4176c72d7d01f2e587a262dc3c3c 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a write access
 LL |         *c.get() = UnsafeCell::new(1); // invalidates inner_shr
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/interior_mut1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index f32b0967388ff34d45942af828b8880e553f2ed2..8a3357142261b07a783ee6bfb82e03ec11c07854 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a write access
 LL |         *c.get() = UnsafeCell::new(0); // now inner_shr gets invalidated
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/interior_mut2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index c676ac321287487f3a345a87fcbfa77084814537..a53c633c3813076df0bc1a336970017d5430fc5a 100644 (file)
@@ -17,7 +17,7 @@ help: <TAG> is this argument
 LL | fn inner(x: *mut i32, _y: &mut i32) {
    |                       ^^
    = note: BACKTRACE:
-   = note: inside `inner`
+   = note: inside `inner` at $DIR/invalidate_against_protector1.rs:LL:CC
 note: inside `main`
   --> $DIR/invalidate_against_protector1.rs:LL:CC
    |
index e84bba107fe4196ec4016aa8993b6745fc55c407..6ee78d1aac682fd9c79e4286525f627dcf37e269 100644 (file)
@@ -17,7 +17,7 @@ help: <TAG> is this argument
 LL | fn inner(x: *mut i32, _y: &i32) {
    |                       ^^
    = note: BACKTRACE:
-   = note: inside `inner`
+   = note: inside `inner` at $DIR/invalidate_against_protector2.rs:LL:CC
 note: inside `main`
   --> $DIR/invalidate_against_protector2.rs:LL:CC
    |
index 54cb87570774228180186ee8c46b650c0187ed1a..2b38dea9dbb719221b89285fd97ba785fd53fa6a 100644 (file)
@@ -17,7 +17,7 @@ help: <TAG> is this argument
 LL | fn inner(x: *mut i32, _y: &i32) {
    |                       ^^
    = note: BACKTRACE:
-   = note: inside `inner`
+   = note: inside `inner` at $DIR/invalidate_against_protector3.rs:LL:CC
 note: inside `main`
   --> $DIR/invalidate_against_protector3.rs:LL:CC
    |
index 270481bc1fe8ea1fabf1783aec1902be07ceae79..c69a3af293c13b1e6b59556a00cf6b64088cb780 100644 (file)
@@ -7,8 +7,8 @@ LL |         Box(unsafe { Unique::new_unchecked(raw) }, alloc)
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `std::boxed::Box::<u32>::from_raw_in`
-   = note: inside `std::boxed::Box::<u32>::from_raw`
+   = note: inside `std::boxed::Box::<u32>::from_raw_in` at RUSTLIB/alloc/src/boxed.rs:LL:CC
+   = note: inside `std::boxed::Box::<u32>::from_raw` at RUSTLIB/alloc/src/boxed.rs:LL:CC
 note: inside `main`
   --> $DIR/issue-miri-1050-1.rs:LL:CC
    |
index 72b46a505c8968e44313fa63b2fa7e409cddb5ce..23d7fdcd03bc5a3333d409cf0242696b66557ae5 100644 (file)
@@ -7,8 +7,8 @@ LL |         Box(unsafe { Unique::new_unchecked(raw) }, alloc)
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `std::boxed::Box::<i32>::from_raw_in`
-   = note: inside `std::boxed::Box::<i32>::from_raw`
+   = note: inside `std::boxed::Box::<i32>::from_raw_in` at RUSTLIB/alloc/src/boxed.rs:LL:CC
+   = note: inside `std::boxed::Box::<i32>::from_raw` at RUSTLIB/alloc/src/boxed.rs:LL:CC
 note: inside `main`
   --> $DIR/issue-miri-1050-2.rs:LL:CC
    |
index e1924e14b1f9571bb990a34e58b283071bb79a49..08dc171c9eef0150ef401b090d8672c857751bd7 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a read access
 LL |     let _val = unsafe { *xraw }; // invalidate xref
    |                         ^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/load_invalid_mut.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 0abab19e9fd7b0e7b77a31e747a2611d06db68d3..50bbed2b295c925685fb7e14d9670eadc0ddb920 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a write access
 LL |     unsafe { *xraw = 42 }; // unfreeze
    |              ^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/load_invalid_shr.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index cd96eb292d7b35dccbf96b86928b36da6e80c25d..2f3900c40d7261fd8f342e6ecc94d2eacc6e3f07 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a write access
 LL |     *our = 5;
    |     ^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `unknown_code_2`
+   = note: inside `unknown_code_2` at $DIR/mut_exclusive_violation1.rs:LL:CC
 note: inside `demo_mut_advanced_unique`
   --> $DIR/mut_exclusive_violation1.rs:LL:CC
    |
index 173de1a4a3bde4160da7b7914394a470934a96be..43b5325fc541a77d18a8699a0e381503ad2e7635 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a Unique retag
 LL |         let _raw2 = ptr2.as_mut();
    |                     ^^^^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/mut_exclusive_violation2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index eae174d4f13eb9fbeef07178bd5ed26a9fef4c6c..90677dfaf555e4c8226919cb89f3d08cca536384 100644 (file)
@@ -17,8 +17,8 @@ help: <TAG> is this argument
 LL | fn dealloc_while_running(_n: Newtype<'_>, dealloc: impl FnOnce()) {
    |                          ^^
    = note: BACKTRACE:
-   = note: inside `std::boxed::Box::<i32>::from_raw_in`
-   = note: inside `std::boxed::Box::<i32>::from_raw`
+   = note: inside `std::boxed::Box::<i32>::from_raw_in` at RUSTLIB/alloc/src/boxed.rs:LL:CC
+   = note: inside `std::boxed::Box::<i32>::from_raw` at RUSTLIB/alloc/src/boxed.rs:LL:CC
 note: inside closure
   --> $DIR/newtype_pair_retagging.rs:LL:CC
    |
index 2a46d89a6aaaf727b31d6c118c830b93e5598365..f189d0483d12d9e459ed3862d1259375ff1cc5f6 100644 (file)
@@ -17,8 +17,8 @@ help: <TAG> is this argument
 LL | fn dealloc_while_running(_n: Newtype<'_>, dealloc: impl FnOnce()) {
    |                          ^^
    = note: BACKTRACE:
-   = note: inside `std::boxed::Box::<i32>::from_raw_in`
-   = note: inside `std::boxed::Box::<i32>::from_raw`
+   = note: inside `std::boxed::Box::<i32>::from_raw_in` at RUSTLIB/alloc/src/boxed.rs:LL:CC
+   = note: inside `std::boxed::Box::<i32>::from_raw` at RUSTLIB/alloc/src/boxed.rs:LL:CC
 note: inside closure
   --> $DIR/newtype_retagging.rs:LL:CC
    |
index 104c3ad1ba3085c7ee094862420dcfa43947c5b5..8c2bba53918885c1fb7e66772789b6b3d1a9bab2 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a write access
 LL |     x = 1; // this invalidates y by reactivating the lowermost uniq borrow for this local
    |     ^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/outdated_local.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 814524cad156a3de4b019f3885bab41df9c46295..d7ab930aa3785d7c0376b5b8a3991dbfb375788b 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a read access
 LL |     let _val = unsafe { *xraw }; // invalidate xref
    |                         ^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/pass_invalid_mut.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 4f3b96043df45b6aa51d86520be1a734b2b13603..c14b35c75c83df75183032b2f4ecb8915f9865db 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a write access
 LL |     unsafe { *xraw = 42 }; // unfreeze
    |              ^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/pass_invalid_shr.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 509baf44fe4d87f7c58775b817759998457a9b67..7d58d1aebbecd6154df1cbb535942b3b4356f735 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x1] by a write access
 LL |     *val = 2; // this invalidates any raw ptrs `fun1` might have created.
    |     ^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `fun2`
+   = note: inside `fun2` at $DIR/pointer_smuggling.rs:LL:CC
 note: inside `main`
   --> $DIR/pointer_smuggling.rs:LL:CC
    |
index b1a913595dac70707181d9333efdb9ffcdb6aaae..d75934445e6d21de8dc1ea86450adf9b081326ea 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a Unique retag
 LL |     let raw2 = &mut l as *mut _; // invalidates raw1
    |                ^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/raw_tracking.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index cf23134862e1310638770cc32a0bef92bf0b46f4..1b28f780c1c544a63f0ca9d9850f4539d77f4c09 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x8] by a read access
 LL |     let _val = unsafe { *xraw }; // invalidate xref
    |                         ^^^^^
    = note: BACKTRACE:
-   = note: inside `foo`
+   = note: inside `foo` at $DIR/return_invalid_mut.rs:LL:CC
 note: inside `main`
   --> $DIR/return_invalid_mut.rs:LL:CC
    |
index fef9397858cdf8c2e3b86ce50be71a13b19f4caf..db14dcafa008445530d4629312495cc4629ff18d 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x8] by a read access
 LL |     let _val = unsafe { *xraw }; // invalidate xref
    |                         ^^^^^
    = note: BACKTRACE:
-   = note: inside `foo`
+   = note: inside `foo` at $DIR/return_invalid_mut_option.rs:LL:CC
 note: inside `main`
   --> $DIR/return_invalid_mut_option.rs:LL:CC
    |
index 59d48d62696e36e92958907312641e54af11e1d8..81ed4218aade789d54d5ad5598725c862ec98b04 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x8] by a read access
 LL |     let _val = unsafe { *xraw }; // invalidate xref
    |                         ^^^^^
    = note: BACKTRACE:
-   = note: inside `foo`
+   = note: inside `foo` at $DIR/return_invalid_mut_tuple.rs:LL:CC
 note: inside `main`
   --> $DIR/return_invalid_mut_tuple.rs:LL:CC
    |
index d6b06d85e0cc138df348cbbdb8c148797c529bf2..9c8cc50b2d7ac7b4c87399b9f1ecd4c99a6b34d0 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x8] by a write access
 LL |     unsafe { *xraw = (42, 23) }; // unfreeze
    |              ^^^^^^^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `foo`
+   = note: inside `foo` at $DIR/return_invalid_shr.rs:LL:CC
 note: inside `main`
   --> $DIR/return_invalid_shr.rs:LL:CC
    |
index 09c095662a76765aba60662f3b5b6aa30d4f08f4..00ce6f6cd5fe129e6f13fe9c26c32b1fcc2440e3 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x8] by a write access
 LL |     unsafe { *xraw = (42, 23) }; // unfreeze
    |              ^^^^^^^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `foo`
+   = note: inside `foo` at $DIR/return_invalid_shr_option.rs:LL:CC
 note: inside `main`
   --> $DIR/return_invalid_shr_option.rs:LL:CC
    |
index c81c497dd0cad83a8fdb2a109079c7ba42d4be06..bbd17b1284c5e6b9508cf5e55de49edd544771a5 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x8] by a write access
 LL |     unsafe { *xraw = (42, 23) }; // unfreeze
    |              ^^^^^^^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `foo`
+   = note: inside `foo` at $DIR/return_invalid_shr_tuple.rs:LL:CC
 note: inside `main`
   --> $DIR/return_invalid_shr_tuple.rs:LL:CC
    |
index bfc0ccb3628f24cc89ce1b08067e11ecd5a6806b..3a139c3ab2120ec1b4a6a610537ae592ec19533f 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a Unique retag
 LL |         shr_rw.set(1);
    |         ^^^^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/shared_rw_borrows_are_weak1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index ebf3fdca9d1e62319f1906fecdd666a5a2e39a6e..0609a73e793157563668915d0c67a57bfbe909be 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [$HEX..$HEX] by a Unique retag
 LL |         shr_rw.replace(1);
    |         ^^^^^^^^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/shared_rw_borrows_are_weak2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index e3b77b4bb8f455ba70b101ddc016a07b33414ccd..fe0ac211318aac832bd587bf2a4a69fbc3b1fbcf 100644 (file)
@@ -15,7 +15,7 @@ help: <TAG> was created by a SharedReadOnly retag at offsets [0x0..0x4]
 LL |         *(x as *const i32 as *mut i32) = 7;
    |           ^
    = note: BACKTRACE:
-   = note: inside `unknown_code`
+   = note: inside `unknown_code` at $DIR/shr_frozen_violation1.rs:LL:CC
 note: inside `foo`
   --> $DIR/shr_frozen_violation1.rs:LL:CC
    |
index 90928a80e5aa6d939f5e5cadb84e0823bad96525..ca99a8262b8bd65b40ade72879bc395ef8969fc8 100644 (file)
@@ -7,7 +7,7 @@ LL |         std::mem::transmute::<&usize, &mut usize>(&X)
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/static_memory_modification.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index d8d21c8c0df67a9f0def808f3458fc09d657fe3b..6f1d0ccd348eca056820b4486be47686891cf83e 100644 (file)
@@ -20,7 +20,7 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a read access
 LL |     callee(xraw);
    |     ^^^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/track_caller.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index f62c713b2b2a73460b26f6733b8e51b454a08471..a2ecb07fd3117179c2eb372ec9ceac4c70d68e7f 100644 (file)
@@ -15,7 +15,7 @@ help: <TAG> was created by a SharedReadWrite retag at offsets [0x4..0x8]
 LL |     let raw = (&mut x[1] as *mut i32).wrapping_offset(-1);
    |                ^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/transmute-is-no-escape.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 6082d56dc11ed5d86ebe4099c3522576b1849b6f..4deafa890005b18d18f68138136c291bcbc47e2f 100644 (file)
@@ -10,7 +10,7 @@ LL |         *raw = 13;
    = help: this indicates a potential bug in the program: it performed an invalid operation, but the Stacked Borrows rules it violated are still experimental
    = help: see https://github.com/rust-lang/unsafe-code-guidelines/blob/master/wip/stacked-borrows.md for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/unescaped_local.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index ea79a4eb5b81eccef6c61b340aad290a58218940..01a4bf4340c78faf8aa446b829ab7a033d1bdb9e 100644 (file)
@@ -15,7 +15,7 @@ help: <TAG> was created by a SharedReadOnly retag at offsets [0x0..0x1]
 LL |     let ptr_to_first = &ARRAY[0] as *const u8;
    |                        ^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/unescaped_static.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index e81b122cf29375987b86f4a6a24c2ce065bd5b01..e134ee2845d05ea1871bdb3a23b3d1490cd09846 100644 (file)
@@ -15,7 +15,7 @@ help: <TAG> would have been created here, but this is a zero-size retag ([0x0..0
 LL |         assert_eq!(*s.get_unchecked(1), 2);
    |                     ^^^^^^^^^^^^^^^^^^
    = note: BACKTRACE:
-   = note: inside `core::slice::<impl [i32]>::get_unchecked::<usize>`
+   = note: inside `core::slice::<impl [i32]>::get_unchecked::<usize>` at RUSTLIB/core/src/slice/mod.rs:LL:CC
 note: inside `main`
   --> $DIR/zst_slice.rs:LL:CC
    |
index 4aec67a0904e21fb7ebdf303de83f8a203348ab4..5e7213ee6088efae0fd555a4d657be3f2f2634a5 100644 (file)
@@ -7,7 +7,7 @@ LL |         *std::mem::transmute::<&usize, &mut usize>(&X) = 6;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/static_memory_modification1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index ce017b4fd15bcab8b45b85fe537cb8cab03de2fb..4c160cd320688a4c541504d48bc6fad04e1edabf 100644 (file)
@@ -7,7 +7,7 @@ LL |         transmute::<&[u8], &mut [u8]>(s.as_bytes())[4] = 42;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/static_memory_modification2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 7eac0516751158753cb2f75082bc23d064624330..1986059c50a8eb904998913276b8f9d76d6c5f51 100644 (file)
@@ -7,7 +7,7 @@ LL |         transmute::<&[u8], &mut [u8]>(bs)[4] = 42;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/static_memory_modification3.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 41bd0d5005975cf4ad15233c8dc899c7bf69e64b..642bf0a7134364891f2333cf093b24927275db33 100644 (file)
@@ -7,7 +7,7 @@ LL |     let v = unsafe { *z.offset(first_undef) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/transmute-pair-uninit.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index de1f75631779a19794125a83645127abe1304940..cb1d725ec878c3a936b79386ab5698a072ca6838 100644 (file)
@@ -4,7 +4,7 @@ error: post-monomorphization error: values of the type `[u8; 2305843011361177600
 LL |     _fat = [0; (1u64 << 61) as usize + (1u64 << 31) as usize];
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ values of the type `[u8; 2305843011361177600]` are too big for the current architecture
    |
-   = note: inside `main`
+   = note: inside `main` at $DIR/type-too-large.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 310209716c7726ee29a023e0f819b70c58fa351f..bbebe3b89fd7e4ee5d8b748c529facf1e1b9b346 100644 (file)
@@ -7,7 +7,7 @@ LL |         *(x_ptr as *mut u32) = 42; *(x_ptr.add(1) as *mut u32) = 42;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/alignment.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 74a9bda42373c5978c7ddfabf1808e1dde557c91..8c3aa3429af5fa684d7450d76a51c2cfc69c5f67 100644 (file)
@@ -7,7 +7,7 @@ LL |         ::std::intrinsics::atomic_load_seqcst(zptr);
    = help: this usually indicates that your program performed an invalid operation and caused Undefined Behavior
    = help: but due to `-Zmiri-symbolic-alignment-check`, alignment errors can also be false positives
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/atomic_unaligned.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 14510899577b4ac15c3b261d880f5004d0793e0c..a900b46612b8a957ddd5dc624bba5a5ff3e0b393 100644 (file)
@@ -7,7 +7,7 @@ LL |         let _ptr = &*ptr;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/dyn_alignment.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 5499573be7160a5c5fcdd28bae4250227f120656..392495a386de74385a9c7258bf863ec13461f34b 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { *u16_ptr = 2 };
    = help: this usually indicates that your program performed an invalid operation and caused Undefined Behavior
    = help: but due to `-Zmiri-symbolic-alignment-check`, alignment errors can also be false positives
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/intptrcast_alignment_check.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index edb8abbb7cf2b68d86cd23b40053d5a8aeaab1d9..6c2a3dca2deef732bda30071701489a75f62ba2c 100644 (file)
@@ -7,7 +7,7 @@ LL |         let i = *p;
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/reference_to_packed.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 8b441b97c1ea09804bd5313ac199248523360062..49292be9cd15881bd3ba89064736a7fa015f7366 100644 (file)
@@ -7,7 +7,7 @@ LL |         let _x = unsafe { *x };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/unaligned_ptr1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 70f03faca3c3d49f543159f45ef43b7254e99d24..e75482f723b698d0675e3e8e4d55dd24b139ddf3 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _x = unsafe { *x };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/unaligned_ptr2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 46ac5e07c2619a87502f4b5eb9bc912e3fb121f5..50dd4fdfc89f50258ebb8e27129ec64a992a8dd9 100644 (file)
@@ -7,7 +7,7 @@ LL |         let _x = unsafe { *x };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/unaligned_ptr3.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index ce1733e5aede679145f01cc99a627035fe427d3d..182f3e0f876f5c2625dd4d8f5d9fc1316ae29759 100644 (file)
@@ -7,7 +7,7 @@ LL |         let _val = unsafe { *ptr };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/unaligned_ptr4.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 20065d0f1fbb099d869df727bb7bd5dc1b68f6fd..2d8b1bf74508a325628167dafd418bcb66605ee7 100644 (file)
@@ -7,7 +7,7 @@ LL |         let _x = unsafe { ptr::addr_of!(*x) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at RUSTLIB/core/src/ptr/mod.rs:LL:CC
    = note: this error originates in the macro `ptr::addr_of` (in Nightly builds, run with -Z macro-backtrace for more info)
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
index b0017e12e2db75bc67131d4d1c41759fbf6071c5..aa0cbe1623b6eb85bb8d6d8a8bea3672ebf2e51c 100644 (file)
@@ -7,7 +7,7 @@ LL |         let _x = unsafe { *x };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/unaligned_ptr_zst.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 2923395f12435a6a1263c05ab04ae802c020d141..8da532cfff05b38e458ce1052eb8ac2f13380ad1 100644 (file)
@@ -7,8 +7,8 @@ LL |         let mut order = unsafe { memcmp(left.as_ptr(), right.as_ptr(), len)
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `<u8 as core::slice::cmp::SliceOrd>::compare`
-   = note: inside `core::slice::cmp::<impl std::cmp::Ord for [u8]>::cmp`
+   = note: inside `<u8 as core::slice::cmp::SliceOrd>::compare` at RUSTLIB/core/src/slice/cmp.rs:LL:CC
+   = note: inside `core::slice::cmp::<impl std::cmp::Ord for [u8]>::cmp` at RUSTLIB/core/src/slice/cmp.rs:LL:CC
 note: inside `main`
   --> $DIR/uninit_buffer.rs:LL:CC
    |
index 0c0e99de2cff42c43d6cd51dc250206f9b22d2f5..210fc8e109aa4843d90de139b0235150c1540685 100644 (file)
@@ -7,8 +7,8 @@ LL |         let mut order = unsafe { memcmp(left.as_ptr(), right.as_ptr(), len)
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `<u8 as core::slice::cmp::SliceOrd>::compare`
-   = note: inside `core::slice::cmp::<impl std::cmp::Ord for [u8]>::cmp`
+   = note: inside `<u8 as core::slice::cmp::SliceOrd>::compare` at RUSTLIB/core/src/slice/cmp.rs:LL:CC
+   = note: inside `core::slice::cmp::<impl std::cmp::Ord for [u8]>::cmp` at RUSTLIB/core/src/slice/cmp.rs:LL:CC
 note: inside `main`
   --> $DIR/uninit_buffer_with_provenance.rs:LL:CC
    |
index 808add12f2d236de7dbfbdbf111af05e12e88e67..9f7638888d6432107331df3edb3d812c5bc23429 100644 (file)
@@ -7,7 +7,7 @@ LL |     let undef = unsafe { *v.get_unchecked(5) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/uninit_byte_read.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 2778eed23b25c7b880d5cc499c794b9ab9026b10..a57d731f1f71312d1e98b2687c2a48d9507b6b21 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { std::hint::unreachable_unchecked() }
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/unreachable.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index a1399d4ca86168b64bcfbe9c36e8f2054be80c07..66d93c6f503cb72f4d77fb0c3cf0b7604ae7704c 100644 (file)
@@ -6,7 +6,7 @@ LL |     let x = *(Box::new(A) as Box<dyn Foo>);
    |
    = help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/unsized-local.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 57b8a5aff984e7f4d139d1b160e92f74e45421e0..fde5fb78ac08a2c50d0f0de01c013900fc91538f 100644 (file)
@@ -6,7 +6,7 @@ LL |         foo();
    |
    = help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/unsupported_foreign_function.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 607c17b6bd7ab4681870d45b847e7cb1e004c563..d22ecbc11ff66352199fd213f073cc97da9e4455 100644 (file)
@@ -6,7 +6,7 @@ LL |         libc::signal(libc::SIGPIPE, libc::SIG_IGN);
    |
    = help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/unsupported_signal.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 1141ceffa1c6546fc8d5c5ebff9e7d49980d8241..133e4b2c16a10ed1a914e0a0c5df63d1a8bda0b0 100644 (file)
@@ -7,7 +7,7 @@ LL |     g(0usize as *const i32)
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/cast_fn_ptr1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 2b3b08af2866e4372dc8e5819ec433db17d1e448..21001f2b460966e997e3bc9d74a56b9f17d7ef9a 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _x = g();
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/cast_fn_ptr2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index de5f148b4a8876c7cd5226264990f5dfd21720ee..01ef071e86930ec1eb9b7f905f968bdc0a02a48e 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _x: &i32 = unsafe { mem::transmute(16usize) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/dangling_ref1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 3e5f119b25efb98ab7bd8449c4e7d874b2d7b19c..4be4e8075a728e9af50c83ebbe29e6178899a54c 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _x: &i32 = unsafe { mem::transmute(ptr) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/dangling_ref2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index f45b3a86e963512aa9990bcc133ed24d39af7f07..4b7bdf78236863c47e97a75c81152dcff0ab3db9 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _x: &i32 = unsafe { mem::transmute(dangling()) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/dangling_ref3.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index cfd4957ce70e25006d332c56fbeb2d7e6d838330..3972787a4d2fd42ae5d7d6b3706236186094e7a8 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _b = unsafe { std::mem::transmute::<u8, bool>(2) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/invalid_bool.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index dad0a60a4eedc49e5d040d387000849729f0a265..5a7bd80e40c15a1aa851cdbf814ed3cc6d70d9fe 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _b = unsafe { MyUninit { init: () }.uninit };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/invalid_bool_uninit.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 9e2bf78934ee16665cfde200e7f0e7f149ec202a..eeff289dfa4e1fa33b105966846de109ad691adf 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _val = match unsafe { std::mem::transmute::<i32, char>(-1) } {
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/invalid_char.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index f22e7704ba783451853512c4ab833ce780a85bee..fb5d3ee1f1f9c3687bb3f63e00ebafd3534a43fe 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _b = unsafe { MyUninit { init: () }.uninit };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/invalid_char_uninit.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 67cfa5e33cea57128b2e2187d308399df55008f6..9234b4d705a9d13c61d61512160fc429ad5b5ba5 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _f = unsafe { std::mem::transmute::<i32, Foo>(42) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/invalid_enum_tag.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 1162547bb2f58d01096040e3e9a3a0e4a1900ecd..63fad1d56e38bbee29fd4eeea87ccfc150bd2099 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _b: fn() = unsafe { std::mem::transmute(0usize) };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/invalid_fnptr_null.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 5b11d9a96eda238e2ae95cf94e870805a3fbc2b7..35309e90136cba3cc7eb4c03eef2b6cdf3a65a7a 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _b = unsafe { MyUninit { init: () }.uninit };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/invalid_fnptr_uninit.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index a358755b6e1cef9ecc5aad29283e2afedef7898d..cf12ab8dbd55a0fe25bec88b718cf958bc7c8372 100644 (file)
@@ -7,7 +7,7 @@ LL |     dbg!(S { x: unsafe { std::mem::transmute((0usize, 0usize)) } });
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/invalid_wide_raw.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 1314ea3421b4ad16c832acb369e0d48863bf6064..a9a68177ed973be2d0f13a6b8c2b9f08ad57ca5a 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _x = Some(unsafe { NonZero(0) });
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/nonzero.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index efe330b75ae9084fbd5bb222ffcb11b92ba2b125..4facd2159c8d0468aa15819965d4d4fcfef04e66 100644 (file)
@@ -7,7 +7,7 @@ LL |         let x: Box<!> = transmute(&mut 42);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/ref_to_uninhabited1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 32cfeccc0ee67856354b848b4794fa46309f450e..264465f939190e9d2c62fd19379be181d0e6b72b 100644 (file)
@@ -7,7 +7,7 @@ LL |         let _x: &(i32, Void) = transmute(&42);
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/ref_to_uninhabited2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index f5b3836c98cb26f62ef6e2b0d3b0aabf1faca069..6df00aefe7561c63854ada1c6721bf06efb2571d 100644 (file)
@@ -7,7 +7,7 @@ LL |         let _x: &[u8] = mem::transmute((ptr, usize::MAX));
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/too-big-slice.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 3a932c16f9a70a7a23a8d47c4d72897441f87229..cbcb31b29fc30fdcfa9bb4405e89953057f0160e 100644 (file)
@@ -7,7 +7,7 @@ LL |         let _x: &MySlice = mem::transmute((ptr, isize::MAX as usize));
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/too-big-unsized.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index acb68cccfef9e67ec9c667069fa743e3a244d202..ea155405cd610838dba9a4026f2fd01b9433d433 100644 (file)
@@ -7,7 +7,7 @@ LL |     let y = x; // reading this ought to be enough to trigger validation
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/transmute_through_ptr.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 5dd36e5d9f8e17b0bd722231f43d121e57082277..677a0fc5570d7901d9defc2dfd2e6bbfce5ba630 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _val: [f32; 1] = unsafe { std::mem::uninitialized() };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/uninit_float.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 5dfaad94aef1c699d799acfcf71461271def944c..a9ac2a6dc67e76ae35166247e99b60de362c9fca 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _val = unsafe { std::mem::MaybeUninit::<[usize; 1]>::uninit().assum
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/uninit_integer.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 7f16078c10cebe029ad4249c8866d9a562b135f8..bbae9cf69ffe17af4e70a1489ce18a527e92b8ea 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _val = unsafe { std::mem::MaybeUninit::<[*const u8; 1]>::uninit().a
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/uninit_raw_ptr.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 94f77b04b7e41fb4b2fa27f84f46002e5516d00e..dda22ac9ce24c110a2cc116c8c565cf3288834b0 100644 (file)
@@ -6,7 +6,7 @@ LL |             std::intrinsics::atomic_load_relaxed(hi);
    |
    = help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/racing_mixed_size.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index b34f127297745fd13511ae63d78d076b348c7e3a..59fa5c741023741aa0a8982783e39322285fb56d 100644 (file)
@@ -6,7 +6,7 @@ LL |             (*hi).load(Relaxed);
    |
    = help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
    = note: BACKTRACE:
-   = note: inside closure
+   = note: inside closure at $DIR/racing_mixed_size_read.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 9bff9098dcd89c3cb90cf2990e27ca21247040f4..b89f06af9589379625a74eed5436424de259cbd6 100644 (file)
@@ -7,7 +7,7 @@ LL |     let _val = unsafe { *x };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/zst1.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index f9d6d739b0c97e2694cac39ab0ad9826553c72ee..6c49656e4c67de405eee43061ce2fdf5ebf129db 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { *x = zst_val };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/zst2.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index 5034d927fbb82dd25ee7684f57160403e7f4542e..c9accf2c8fbebfd4cbf06fe37bfa2e11cef91c76 100644 (file)
@@ -7,7 +7,7 @@ LL |     unsafe { *(x as *mut [u8; 0]) = zst_val };
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/zst3.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
 
index da36aee999244b3ea3f8cf8e71711ac4eae01403..4c2fb40e1102179641d96233433afc38aedb4b8b 100644 (file)
@@ -11,7 +11,7 @@ LL |         let r2 = ((r as usize) + 0) as *mut i32;
    = help: You can then pass the `-Zmiri-strict-provenance` flag to Miri, to ensure you are not relying on `from_exposed_addr` semantics.
    = help: Alternatively, the `-Zmiri-permissive-provenance` flag disables this warning.
    = note: BACKTRACE:
-   = note: inside `into_raw`
+   = note: inside `into_raw` at $DIR/box.rs:LL:CC
 note: inside `main`
   --> $DIR/box.rs:LL:CC
    |
@@ -24,7 +24,7 @@ warning: integer-to-pointer cast
 LL |         let r = ((u.as_ptr() as usize) + 0) as *mut i32;
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ integer-to-pointer cast
    |
-   = note: inside `into_unique`
+   = note: inside `into_unique` at $DIR/box.rs:LL:CC
 note: inside `main`
   --> $DIR/box.rs:LL:CC
    |
index 1e7012e2520a13c0a4dc4e610fdb5438eace620e..2e18f69305896f27c73293a8e5b262851c3ab35f 100644 (file)
@@ -11,5 +11,5 @@ LL |     let x: &Foo = unsafe { &*(16 as *const Foo) };
    = help: You can then pass the `-Zmiri-strict-provenance` flag to Miri, to ensure you are not relying on `from_exposed_addr` semantics.
    = help: Alternatively, the `-Zmiri-permissive-provenance` flag disables this warning.
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/extern_types.rs:LL:CC
 
index 23e04cb01022e765794cd1352c976f5dac5010c4..f3ba052ae51304ecb5faf7d8ac758f2a7d1ec59b 100644 (file)
@@ -11,5 +11,5 @@ LL |         let wildcard = &root0 as *const Cell<i32> as usize as *const Cell<i
    = help: You can then pass the `-Zmiri-strict-provenance` flag to Miri, to ensure you are not relying on `from_exposed_addr` semantics.
    = help: Alternatively, the `-Zmiri-permissive-provenance` flag disables this warning.
    = note: BACKTRACE:
-   = note: inside `main`
+   = note: inside `main` at $DIR/issue-miri-2389.rs:LL:CC