salsa/tests/compile-pass
Andrew Lilley Brinker 59aa1075e8
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 (#1025)
* 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>
2025-11-26 07:38:31 +00:00
..
redefine-result-input-struct-derive.rs Fully qualify std Result type (#1025) 2025-11-26 07:38:31 +00:00