1
Fork 0

Remove support for -Zast-json and -Zast-json-noexpand

This commit is contained in:
bjorn3 2021-06-04 16:36:40 +02:00
parent a2591639ec
commit 15e0d8bdb1
11 changed files with 2 additions and 112 deletions

View file

@ -41,9 +41,6 @@ use std::convert::TryFrom;
use std::fmt;
use std::mem;
#[cfg(test)]
mod tests;
/// A "Label" is an identifier of some point in sources,
/// e.g. in the following code:
///

View file

@ -1,11 +0,0 @@
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>();
}