Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
dc3d878
Add support for macro expansion inside trait items
Jun 11, 2016
01a0877
Remove inherent method `attrs()` on AST nodes. `attrs()` is now a met…
jseyfried May 24, 2016
febe6a4
Refactor away field `ctxt` of `ast::Mac_`
jseyfried May 24, 2016
5bf7970
Change `fold_tt` and `fold_tts` to take token trees by value (instead…
jseyfried Jun 3, 2016
683e480
Refactor away `WithAttrs` trait
jseyfried Jun 10, 2016
0644aba
Remove the type parameter from `syntax::visit::Visitor`
jseyfried Jun 12, 2016
b5dbe01
Refactor away `ast::Decl` and refactor `ast::Stmt`
jseyfried Jun 17, 2016
962d5c1
Fix fallout
jseyfried Jun 17, 2016
f0b21c2
Rename `ast::ExprKind::Again` -> `ast::ExprKind::Continue`
jseyfried Jun 17, 2016
5033eca
Generalize and abstract `ThinAttributes`
jseyfried Jun 18, 2016
f903c97
Merge PatKind::QPath into PatKind::Path in AST
petrochenkov Jun 11, 2016
d59accf
Refactored tokentrees into their own files in preparation for tokenst…
Jun 20, 2016
f6fe5b6
Cleanup comments
jseyfried Jun 23, 2016
6ae3502
Move errors from libsyntax to its own crate
Jun 21, 2016
2829fbc
Address comments and fix travis warning
Jun 21, 2016
51deb4f
Address more travis errors
Jun 22, 2016
f2fe204
Consolidate codemap tests and fix more errors for travis
Jun 22, 2016
bad4869
Fix touchy test to work with old and new error format
Jun 22, 2016
b68e079
Actually consolidate the CodeMap tests
Jun 23, 2016
2b8bab0
Move test helper functions to consolidated codemap testing
Jun 23, 2016
d4e79de
Add missing refernce to RenderedLine
Jun 23, 2016
b7da35a
Remove field `expr` of `ast::Block`
jseyfried Jun 23, 2016
a48a4f5
Avoid wasting node ids
jseyfried Jun 23, 2016
94479ad
Add regression test
jseyfried Jun 23, 2016
80f1c78
make old school mode a bit more configurable
Jun 23, 2016
bdd3f8f
Updating test I missed for old school refactor
Jun 23, 2016
ea7ba12
Add missing 'extern crate' for test
Jun 23, 2016
060a84d
Refactor away duplicate method `ecx.block_all()`
jseyfried Jun 23, 2016
f960f9e
Fix up rpass tests missing imports
Jun 24, 2016
89da728
Fix rfail test missing import
Jun 24, 2016
8cad251
Add `ecx.stmt_semi()` and fix issues with the pretty-printer
jseyfried Jun 24, 2016
f5259ab
Reexport syntax_pos in codemap and fix some cfail tests
Jun 24, 2016
9f2a507
Fix codemap tests to not double import
Jun 24, 2016
bc14006
reexport errors from syntax. fix failing cfail test
Jun 24, 2016
f0310e0
Rollup merge of #34213 - josephDunne:trait_item_macros, r=jseyfried
jseyfried Jun 25, 2016
4e2e31c
Rollup merge of #34368 - petrochenkov:astqpath, r=Manishearth
jseyfried Jun 25, 2016
d3ae56d
Rollup merge of #34403 - jonathandturner:move_liberror, r=alexcrichton
jseyfried Jun 25, 2016
82a15a6
Rollup merge of #34385 - cgswords:tstream, r=nrc
jseyfried Jun 25, 2016
33ea1e3
Rollup merge of #33943 - jseyfried:libsyntax_cleanup, r=nrc
jseyfried Jun 26, 2016
8748cd9
Rollup merge of #34316 - jseyfried:refactor_ast_stmt, r=eddyb
jseyfried Jun 26, 2016
8eddf02
Rollup merge of #34339 - jseyfried:thin_vec, r=petrochenkov,Manishearth
jseyfried Jun 26, 2016
9bb3ea0
Rollup merge of #34436 - jseyfried:no_block_expr, r=eddyb
jseyfried Jun 26, 2016
542ba8c
Fix `Cargo.toml`s
jseyfried Jun 27, 2016
360dcae
Update `src/rustc/Cargo.lock`
jseyfried Jun 27, 2016
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Address more travis errors
  • Loading branch information
Jonathan Turner committed Jun 23, 2016
commit 51deb4fedbdab4b9b5a7610985c0be54e89cae73
1 change: 1 addition & 0 deletions src/libsyntax/codemap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -827,6 +827,7 @@ impl CodeMapper for CodeMap {
#[cfg(test)]
mod tests {
use super::*;
use syntax_pos::*;

#[test]
fn t1 () {
Expand Down
2 changes: 1 addition & 1 deletion src/libsyntax/ext/expand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,7 @@ mod tests {
use super::{PatIdentFinder, IdentRenamer, PatIdentRenamer, ExpansionConfig};
use ast;
use ast::Name;
use codemap;
use syntax_pos;
use ext::base::{ExtCtxt, DummyMacroLoader};
use ext::mtwt;
use fold::Folder;
Expand Down
2 changes: 1 addition & 1 deletion src/libsyntax/parse/lexer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1677,7 +1677,7 @@ fn ident_continue(c: Option<char>) -> bool {
mod tests {
use super::*;

use codemap::{BytePos, Span, NO_EXPANSION};
use syntax_pos::{BytePos, Span, NO_EXPANSION};
use codemap::CodeMap;
use errors;
use parse::token;
Expand Down
3 changes: 2 additions & 1 deletion src/libsyntax/parse/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,8 @@ pub fn integer_lit(s: &str,
mod tests {
use super::*;
use std::rc::Rc;
use syntax_pos::{Span, BytePos, Pos, Spanned, NO_EXPANSION};
use syntax_pos::{Span, BytePos, Pos, NO_EXPANSION};
use codemap::Spanned;
use ast::{self, TokenTree, PatKind};
use abi::Abi;
use attr::{first_attr_value_str_by_name, AttrMetaMethods};
Expand Down
3 changes: 2 additions & 1 deletion src/libsyntax/print/pprust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3105,6 +3105,7 @@ mod tests {
use ast;
use codemap;
use parse::token;
use syntax_pos;

#[test]
fn test_fun_to_string() {
Expand All @@ -3126,7 +3127,7 @@ mod tests {
fn test_variant_to_string() {
let ident = token::str_to_ident("principal_skinner");

let var = syntax_pos::respan(syntax_pos::DUMMY_SP, ast::Variant_ {
let var = codemap::respan(syntax_pos::DUMMY_SP, ast::Variant_ {
name: ident,
attrs: Vec::new(),
// making this up as I go.... ?
Expand Down
6 changes: 3 additions & 3 deletions src/test/compile-fail/bad-format-args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
// except according to those terms.

// error-pattern: requires at least a format string argument
// error-pattern: bad-format-args.rs:19:5: 19:15 note: in this expansion
// error-pattern: bad-format-args.rs:19:5: 19:15: note: in this expansion

// error-pattern: expected token: `,`
// error-pattern: bad-format-args.rs:20:5: 20:19 note: in this expansion
// error-pattern: bad-format-args.rs:21:5: 21:22 note: in this expansion
// error-pattern: bad-format-args.rs:20:5: 20:19: note: in this expansion
// error-pattern: bad-format-args.rs:21:5: 21:22: note: in this expansion

fn main() {
format!();
Expand Down
4 changes: 3 additions & 1 deletion src/test/run-make/execution-engine/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ extern crate rustc_lint;
extern crate rustc_llvm as llvm;
extern crate rustc_metadata;
extern crate rustc_resolve;
extern crate rustc_errors;
extern crate rustc_errors as errors;
#[macro_use] extern crate syntax;

use std::ffi::{CStr, CString};
Expand All @@ -38,7 +40,7 @@ use rustc_metadata::creader::read_local_crates;
use rustc_metadata::cstore::CStore;
use libc::c_void;

use syntax::diagnostics::registry::Registry;
use rustc_errors::registry::Registry;
use syntax::parse::token;

fn main() {
Expand Down
3 changes: 2 additions & 1 deletion src/test/run-make/issue-19371/foo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ extern crate rustc;
extern crate rustc_driver;
extern crate rustc_lint;
extern crate rustc_metadata;
extern crate rustc_errors;
extern crate syntax;

use rustc::dep_graph::DepGraph;
use rustc::session::{build_session, Session};
use rustc::session::config::{basic_options, build_configuration, Input, OutputType};
use rustc_driver::driver::{compile_input, CompileController, anon_src};
use rustc_metadata::cstore::CStore;
use syntax::diagnostics::registry::Registry;
use rustc_errors::registry::Registry;
use syntax::parse::token;

use std::path::PathBuf;
Expand Down