mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
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…
Reference in New Issue
Block a user