2020-01-30 01:27:13 +01:00
|
|
|
[testing]
|
|
|
|
struct StructAttrTest {
|
|
|
|
foo string
|
|
|
|
bar int
|
|
|
|
}
|
|
|
|
|
|
|
|
[testing]
|
|
|
|
pub struct PubStructAttrTest {
|
|
|
|
foo string
|
|
|
|
bar int
|
|
|
|
}
|
|
|
|
|
|
|
|
[testing]
|
|
|
|
enum EnumAttrTest {
|
|
|
|
one
|
|
|
|
two
|
|
|
|
}
|
|
|
|
|
|
|
|
[testing]
|
|
|
|
pub enum PubEnumAttrTest {
|
|
|
|
one
|
|
|
|
two
|
|
|
|
}
|
|
|
|
|
|
|
|
[testing]
|
2020-02-01 08:59:34 +01:00
|
|
|
fn test_fn_attribute() {
|
2020-01-30 01:27:13 +01:00
|
|
|
assert true
|
|
|
|
}
|
|
|
|
|
|
|
|
[testing]
|
2020-02-01 08:59:34 +01:00
|
|
|
pub fn test_pub_fn_attribute() {
|
2020-01-30 01:27:13 +01:00
|
|
|
assert true
|
|
|
|
}
|