mirror of
https://github.com/eyre-rs/eyre.git
synced 2025-10-02 15:26:08 +00:00

* fix(miri): box transmute and invalid references The general causes for the miri invalidation is the prevelant use of `Box` and its references to `ErrorImpl<()>`. `mem::transmute` does not preserve the tag stack for transmuting the boxes. Additionally, having references to `ErrorImpl<()>` which has a different layout than the allocation or `ErrorImpl<E>` for some unknown `E`. This causes the new "untyped" reference to now have a provenance that includes the size of E and thus is outside the provenance. * fix(miri): downcast_mut using `&mut _ => *const _ => *mut` * fix(miri): stub file reading * fix(miri): don't construct temp references of shunk provenance * ci: miri * fix: `unsafe_op_in_unsafe_fn` * chore!: bump MSRV * chore: address PR comments * fix: ci workflow names * chore: raise msrv to 1.65 (addr2line) * chore: revert distinctive CI names due to branch protection rules The new names, such as `Test Platform Matrix` which do make it easier to see which jobs failed, rather than msrv, test, and miri all being called `Test Suite`, the in-place branch protection rules wait forever until the now non-existent `Test Suite` passes
8 lines
166 B
Rust
8 lines
166 B
Rust
#[rustversion::attr(not(nightly), ignore)]
|
|
#[cfg_attr(miri, ignore)]
|
|
#[test]
|
|
fn ui() {
|
|
let t = trybuild::TestCases::new();
|
|
t.compile_fail("tests/ui/*.rs");
|
|
}
|