Add a pretty printer test of impl<T> const Trait
This commit is contained in:
parent
2b67c30bfe
commit
f3df63f8ee
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue