bors
97005c0068
auto merge of #11401 : michaelwoerister/rust/issue11322, r=alexcrichton
...
`expand_include_str()` in libsyntax seems to have corrupted the CodeMap by always setting the BytePos of any included files to zero. It now uses `CodeMap::new_filemap()` which should set everything properly. This should fix issue #11322 but I don't want to close it before I have confirmation from the reporters that the problem is indeed fixed.
2014-01-08 11:26:30 -08:00
bors
430652c970
auto merge of #11370 : alexcrichton/rust/issue-10465, r=pwalton
...
Turned out to be a 2-line fix, but the compiler fallout was huge.
2014-01-08 10:06:45 -08:00
Michael Woerister
ad3a179954
Fix CodeMap issue in expand_include_str()
2014-01-08 16:38:58 +01:00
bors
464d1d044e
auto merge of #11405 : huonw/rust/moredocs, r=huonw
...
Various documentation changes, change the 'borrowed pointer' terminology to 'reference', fix a problem with 'make dist' on windows.
2014-01-08 07:26:41 -08:00
Alex Crichton
0547fb9cad
Fixup the rest of the tests in the compiler
2014-01-07 23:51:38 -08:00
Alex Crichton
c4d36b85a0
Fix remaining cases of leaking imports
2014-01-07 23:51:38 -08:00
Brian Anderson
2d8dd6afd4
doc: Add rustc and syntax to the index
2014-01-07 21:23:26 -08:00
Brian Anderson
d323632669
'borrowed pointer' -> 'reference'
2014-01-07 18:49:13 -08:00
Marvin Löbel
90b394514d
Renamed Option::map_default and mutate_default to map_or and mutate_or_set
2014-01-08 00:53:40 +01:00
bors
bae091e517
auto merge of #11332 : sfackler/rust/de-at-se, r=huonw
...
This is necessary for #11151 to make sure dtors run before the libraries
are unloaded.
2014-01-06 07:26:48 -08:00
Eduard Burtescu
3119d18e55
Disowned the Visitor.
2014-01-06 14:00:46 +02:00
Steven Fackler
bb49916d21
Use ~-objects instead of @-objects for syntax exts
...
This is necessary for #11151 to make sure dtors run before the libraries
are unloaded.
2014-01-05 18:02:57 -08:00
bors
4641287628
auto merge of #11314 : adridu59/rust/patch-license, r=brson
...
- don't check for an hardcoded copyright claim year, check the 2 surrounding strings instead
- logic: if either the `//` or `#`-style copyright patterns are found, don't invalidate
- cleanup hardcoded content and streamline the few files with different line breaks
r? @brson
2014-01-04 21:31:51 -08:00
Brian Anderson
3b1862a82f
Don't allow newtype structs to be dereferenced. #6246
2014-01-04 14:44:12 -08:00
Adrien Tétar
24f9a93872
etc: licenseck: don't hardcode a specific year
2014-01-04 21:49:52 +01:00
Patrick Walton
8092153634
libsyntax: Fix tests.
2014-01-03 22:22:40 -08:00
Patrick Walton
82a09b9a04
librustc: Remove @mut
support from the parser
2014-01-03 14:02:01 -08:00
Patrick Walton
88281290ff
librustc: Remove @mut
support from the typechecker and borrow checker
2014-01-03 14:02:01 -08:00
Patrick Walton
901df8a63b
libsyntax: Remove unused MultiRenamer
2014-01-03 14:02:00 -08:00
Patrick Walton
6043957d8d
libsyntax: De-@mut
ps::boxes
2014-01-03 14:02:00 -08:00
Patrick Walton
5eafcc4f93
libsyntax: De-@mut
(and de-@
) Printer::print_stack
2014-01-03 14:02:00 -08:00
Patrick Walton
982cb824ce
libsyntax: De-@mut
Interner::vect
2014-01-03 14:01:59 -08:00
Patrick Walton
4c85cf7a40
libsyntax: De-@mut
CodeMap::files
2014-01-03 14:01:59 -08:00
Patrick Walton
39f39ed40b
libsyntax: De-@mut
FileMap::multibyte_chars
2014-01-03 14:01:59 -08:00
Patrick Walton
27cc3d203b
libsyntax: De-@mut
FileMap::lines
2014-01-03 14:01:59 -08:00
Patrick Walton
ada9150abf
libsyntax: Correctly de-@mut
the pretty printer writer
2014-01-03 14:01:59 -08:00
Patrick Walton
39f0270544
libsyntax: Remove an unnecessary @mut io::Reader
2014-01-03 14:01:59 -08:00
Patrick Walton
1dbeb5b2ac
libsyntax: De-@mut
SCTable
2014-01-03 14:01:59 -08:00
Patrick Walton
b476d979d2
libsyntax: De-@mut
SCTable::rename_memo
2014-01-03 14:01:59 -08:00
Patrick Walton
4d6dde7f49
libsyntax: De-@mut
SCTable::mark_memo
2014-01-03 14:01:59 -08:00
Patrick Walton
be17a1b08c
libsyntax: De-@mut
SCTable::table
2014-01-03 14:01:59 -08:00
Patrick Walton
96f807def6
libsyntax: De-@mut
the interner map
2014-01-03 14:01:59 -08:00
Patrick Walton
9d6f8cdefa
libsyntax: De-@mut
(and de-@
) the AST mapping context
2014-01-03 14:01:59 -08:00
Patrick Walton
acdc998737
libsyntax: De-@mut
the path in the AST mapping context
2014-01-03 14:01:58 -08:00
Patrick Walton
4269f85d5b
libsyntax: De-@mut
name_idx
2014-01-03 14:01:58 -08:00
Patrick Walton
449ebeea08
librustc: De-@mut
the AST map
2014-01-03 14:01:58 -08:00
Patrick Walton
12ad1b0662
libsyntax: De-@mut
CurrentCommentAndLiteral
2014-01-03 14:01:58 -08:00
Patrick Walton
522a68d5bc
libsyntax: De-@mut
the resolve table
2014-01-03 14:01:58 -08:00
Patrick Walton
8ed6f3e78f
libsyntax: De-@mut
the handler
2014-01-03 14:01:58 -08:00
Patrick Walton
a2b7367a88
libsyntax: De-@mut
HandlerT::err_count
2014-01-03 14:01:58 -08:00
Patrick Walton
d347d5a762
libsyntax: De-@mut
TtFrame
2014-01-03 14:01:58 -08:00
Patrick Walton
a7f7482e79
libsyntax: De-@mut
TtFrame::idx
2014-01-03 14:01:58 -08:00
Patrick Walton
497b63ddf0
librustc: De-@mut
all writers
2014-01-03 14:01:58 -08:00
Patrick Walton
b26018cc89
librustc: De-@mut
(and de-@
) the pretty printer
2014-01-03 14:01:58 -08:00
Patrick Walton
4d66af2698
librustc: De-@mut
the span handler
2014-01-03 14:01:57 -08:00
Patrick Walton
7e1b535eb1
libsyntax: De-@mut
StringReader
, TtReader
, and reader
2014-01-03 14:01:57 -08:00
Patrick Walton
2b83377b29
libsyntax: De-@mut
TtReader::stack
2014-01-03 14:01:57 -08:00
Patrick Walton
b597207ced
libsyntax: De-@mut
TtReader::cur_span
2014-01-03 14:01:57 -08:00
Patrick Walton
c233c2edfd
libsyntax: De-@mut
TtReader::cur_tok
2014-01-03 14:01:57 -08:00
Patrick Walton
bac8b2e557
libsyntax: De-@mut
TtReader::repeat_len
2014-01-03 14:01:57 -08:00