google / google/googletest-rust

Importing `googletest::prelude::*` should not bring in a conflicting Result type

Open
#782 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
432
Forks
36
Avg merge
7d 17h
Merged PRs (30d)
2

Description

Right now `use googletest::prelude::*` brings in the gtest-specific alias `pub type Result = std::result::Result`; this shadows a lot of existing code in our test that uses `std::result::Result`. Consider omitting it from prelude, or providing a different alias for the gtest-specific Result type?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.