mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-21 12:07:31 +00:00
12 lines
233 B
Rust
12 lines
233 B
Rust
use super::*;
|
|
|
|
// Are ASTs encodable?
|
|
#[test]
|
|
fn check_asts_encodable() {
|
|
fn assert_encodable<
|
|
T: for<'a> rustc_serialize::Encodable<rustc_serialize::json::Encoder<'a>>,
|
|
>() {
|
|
}
|
|
assert_encodable::<Crate>();
|
|
}
|