mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-12-23 08:48:10 +00:00
Some checks failed
Book / Book (push) Has been cancelled
Release-plz / Release-plz release (push) Has been cancelled
Release-plz / Release-plz PR (push) Has been cancelled
Test / Test (push) Has been cancelled
Test / Miri (push) Has been cancelled
Test / Shuttle (push) Has been cancelled
Test / Benchmarks (push) Has been cancelled
Book / Deploy (push) Has been cancelled
* Fully qualify std Result type The prior macro expansion could produce errors if the macros were called in a context where `Result` is redefined, for example in a crate with its own `Result` type which pre-fills the error type. This replaces existing `Result` uses with `std::result::Result` to avoid the compilation error in that case. Signed-off-by: Andrew Lilley Brinker <alilleybrinker@gmail.com> * Use qualified names --------- Signed-off-by: Andrew Lilley Brinker <alilleybrinker@gmail.com> Co-authored-by: Micha Reiser <micha@reiser.io>
8 lines
212 B
Rust
8 lines
212 B
Rust
#![cfg(all(feature = "inventory", feature = "persistence"))]
|
|
|
|
#[rustversion::all(stable, since(1.90))]
|
|
#[test]
|
|
fn compile_pass() {
|
|
let t = trybuild::TestCases::new();
|
|
t.pass("tests/compile-pass/*.rs");
|
|
}
|