Skip to content

Commit ac17cd4

Browse files
Googlercopybara-github
authored andcommitted
test_outcome: Include a pointer to the public alias. This will help if
someone follows a compiler error about `TestAssertionFailure` and let them find the relevant recommended alias. PiperOrigin-RevId: 824679322
1 parent 580ba19 commit ac17cd4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

googletest/src/internal/test_outcome.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ impl std::fmt::Display for TestFailure {
156156
/// A report that a single test assertion failed.
157157
///
158158
/// **For internal use only. API stablility is not guaranteed!**
159+
///
160+
/// See pub type Result in googletest/src/lib.rs for the public alias.
159161
#[doc(hidden)]
160162
#[derive(Clone)]
161163
pub struct TestAssertionFailure {

0 commit comments

Comments
 (0)