Add GUI tests for comments highlighting in items declaration
This commit is contained in:
parent
05bf5b764a
commit
768a614380
6 changed files with 118 additions and 1 deletions
|
@ -593,3 +593,21 @@ pub mod foreign_impl_order {
|
|||
fn f(&mut self, fg: [u8; 3]) {}
|
||||
}
|
||||
}
|
||||
|
||||
pub mod private {
|
||||
pub struct Tuple(u32, u8);
|
||||
pub struct Struct {
|
||||
a: u8,
|
||||
}
|
||||
|
||||
pub union Union {
|
||||
a: u8,
|
||||
b: u16,
|
||||
}
|
||||
|
||||
pub enum Enum {
|
||||
A,
|
||||
#[doc(hidden)]
|
||||
B,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue