From eec3c3db88dff8ed429ca2f584138f252c60d4fe Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 19 Jul 2024 18:32:33 +0200 Subject: Add GUI test for trait bounds display --- tests/rustdoc-gui/src/test_docs/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/rustdoc-gui/src') diff --git a/tests/rustdoc-gui/src/test_docs/lib.rs b/tests/rustdoc-gui/src/test_docs/lib.rs index 7e34178e56f..6c638dc3b9d 100644 --- a/tests/rustdoc-gui/src/test_docs/lib.rs +++ b/tests/rustdoc-gui/src/test_docs/lib.rs @@ -614,3 +614,9 @@ pub mod private { B, } } + +pub mod trait_bounds { + pub trait OneBound: Sized {} + pub trait TwoBounds: Sized + Copy {} + pub trait ThreeBounds: Sized + Copy + Eq {} +} -- cgit 1.4.1-3-g733a5