Add a pretty printer test of impl<T> const Trait
This commit is contained in:
parent
2b67c30bfe
commit
f3df63f8ee
@ -611,6 +611,12 @@ fn test_item() {
|
||||
),
|
||||
"pub impl Trait for Struct {}",
|
||||
);
|
||||
assert_eq!(
|
||||
stringify_item!(
|
||||
impl<T> const Trait for T {}
|
||||
),
|
||||
"impl const <T> Trait for T {}", // FIXME
|
||||
);
|
||||
assert_eq!(
|
||||
stringify_item!(
|
||||
impl ~const Struct {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user