Niko Matsakis
20744c6b85
Allow shift operator to take any integral type (and add a test).
2015-01-08 11:02:24 -05:00
Felix S. Klock II
a0f53b0a5b
Update graphviz tests to accommodate new isize/usize types and is/us suffixes.
2015-01-08 11:02:24 -05:00
Felix S. Klock II
b2e93e2767
Update the compile-fail-fulldeps tests with new isize/usize literal suffixes.
2015-01-08 11:02:24 -05:00
Felix S. Klock II
2259fe1214
Accommodate the "int literal is too large" error message currently embedded in rustc.
2015-01-08 11:02:24 -05:00
Huon Wilson
dc1ba08d16
Test fixes.
2015-01-08 11:02:24 -05:00
Huon Wilson
441044f071
Update compile-fail tests to use is/us, not i/u.
2015-01-08 11:02:24 -05:00
Huon Wilson
85f961e2cc
Update compile fail tests to use usize.
2015-01-08 11:02:24 -05:00
Huon Wilson
0c70ce1424
Update compile fail tests to use isize.
2015-01-08 11:02:24 -05:00
Huon Wilson
4f5a57e80e
Remove warning from the libraries.
...
This adds the int_uint feature to *every* library, whether or not it
needs it.
2015-01-08 11:02:23 -05:00
Huon Wilson
d12514bc58
Add a warning feature gate for int/uint in types and i/u suffixes.
2015-01-08 11:02:23 -05:00
Huon Wilson
e95779554e
Store deprecated status of i/u-suffixed literals.
2015-01-08 11:02:23 -05:00
Manish Goregaokar
6342aa62ef
Ignore extra error from test for now
2015-01-08 20:20:31 +05:30
Niko Matsakis
ba87b540a4
Add new test for #20232 .
2015-01-08 09:19:56 -05:00
Niko Matsakis
9b5fb6091a
Update regionck to discharge the binder safely (using
...
`assert_no_late_bound_regions`) and to give more helpful debug output.
2015-01-08 09:19:56 -05:00
Niko Matsakis
92425496e5
Fix the actual bug for #20232 : when creating the cmt for the implicit
...
deref that is associated with an overloaded index, we should not
consult the method lookup table. This deref is *always* a deref of an
`&T` and hence is never overloaded (and is also not present in the
tables; it has no "id" or other associated key).
2015-01-08 09:19:27 -05:00
Niko Matsakis
2387651f7d
Update the "English-language" to-string function of a cmt
to use
...
more modern terminology and update tests accordingly.
2015-01-08 09:19:27 -05:00
Niko Matsakis
0a32010e43
Add comments to autoderef() helper and refactor it to take
...
an `Option<&Expr>` like everything else.
2015-01-08 09:19:07 -05:00
bors
2f99a41fe1
auto merge of #20744 : huonw/rust/fix-string-slicing, r=pnkfelix
2015-01-08 12:39:56 +00:00
Flavio Percoco
0d0869ad73
Remove the deprecated opt_out_copy feature
2015-01-08 13:39:14 +01:00
Björn Steinbrink
114d2bdad1
Restore indentation in common.rs
...
Most of the file lost one level of indentation in a recent rollup. Most
likely an accident during merge conflict resolution.
2015-01-08 13:14:07 +01:00
Huon Wilson
3155b31011
Let ToString work with unsized types, importantly, str
.
2015-01-08 22:48:32 +11:00
Brian Anderson
1f70acbf4c
Improvements to feature staging
...
This gets rid of the 'experimental' level, removes the non-staged_api
case (i.e. stability levels for out-of-tree crates), and lets the
staged_api attributes use 'unstable' and 'deprecated' lints.
This makes the transition period to the full feature staging design
a bit nicer.
2015-01-08 03:07:23 -08:00
Manish Goregaokar
f4a2672600
Add test for -Z extra-plugins
2015-01-08 14:47:27 +05:30
bors
5364c4853f
auto merge of #20737 : aturon/rust/stab-stragglers, r=alexcrichton
...
Marks `vec`, `char` and `fmt` as stable module names.
2015-01-08 09:04:49 +00:00
Aaron Turon
e7d00ebec7
Add missing module stability attributes
2015-01-08 00:26:21 -08:00
Manish Goregaokar
0bd022c893
libsyntax: add COMMAND_LINE_SP and use it for spans generated from the command line
2015-01-08 13:40:50 +05:30
Manish Goregaokar
c41cafb10c
librustc_driver: Add support for loading plugins via command line ( fixes #15446 )
2015-01-08 13:40:50 +05:30
Manish Goregaokar
9f5f706f96
librustc::plugin : make PluginLoader usable for loading argument-specified plugins
2015-01-08 13:40:48 +05:30
Manish Goregaokar
efaf613497
librustc::metadata : Allow passing a string to read_plugin_metadata
2015-01-08 13:39:27 +05:30
Manish Goregaokar
7e87ea9fc5
librustc::session : Make DebuggingOpts use the options! macro
2015-01-08 13:38:43 +05:30
Manish Goregaokar
3248bc5bd0
librustc::session : Make cgoptions macro more generic
2015-01-08 13:37:50 +05:30
Akos Kiss
78c7faf5a6
Fix: libc::c_char
is not always i8
2015-01-08 07:12:19 +00:00
Tshepang Lekhonkhobe
0f4ee2d87e
bench: fix a few compiler warnings
2015-01-08 09:11:16 +02:00
Kevin Rauwolf
b88ae323d1
Spelling fix compatibel -> compatible
2015-01-07 21:47:15 -08:00
bors
5b3cd3900c
auto merge of #20733 : alexcrichton/rust/rollup, r=alexcrichton
2015-01-08 05:35:51 +00:00
Alex Crichton
0abf458348
More test fixes and rebase conflicts
2015-01-07 20:08:37 -08:00
Alex Crichton
ef46caebcc
rollup merge of #20731 : nick29581/assoc-inherant
2015-01-07 19:30:20 -08:00
Alex Crichton
0dc48b47a8
Test fixes and rebase conflicts
2015-01-07 19:27:27 -08:00
Nick Cameron
4d98cbb3f3
Forbid associated items in inherent impls
...
Closes #20359
2015-01-08 15:43:00 +13:00
Alex Crichton
11e265c2e0
rollup merge of #20707 : nikomatsakis/issue-20582
2015-01-07 17:44:24 -08:00
Alex Crichton
373cbab5b0
rollup merge of #20723 : pnkfelix/feature-gate-box-syntax
...
Conflicts:
src/compiletest/compiletest.rs
src/libcollections/lib.rs
src/libserialize/lib.rs
src/libsyntax/feature_gate.rs
2015-01-07 17:42:47 -08:00
Felix S. Klock II
ae4bcd41e8
fallout: part of changes to compile-fail tests. (follows same pattern as prior two commits.)
2015-01-08 02:41:23 +01:00
Alex Crichton
d11bfba71b
rollup merge of #20720 : nick29581/assoc-ice-missing
2015-01-07 17:38:03 -08:00
Felix S. Klock II
d859816715
fallout: run-fail tests that use box. (many/all could be ported to Box::new
instead.)
2015-01-08 02:37:58 +01:00
Alex Crichton
6621325601
rollup merge of #20657 : alexcrichton/stabilize-macros
2015-01-07 17:36:16 -08:00
Nick Cameron
68a783a89f
Remove String impls and fix for make tidy
2015-01-08 14:35:53 +13:00
Alex Crichton
bcebec5084
rollup merge of #20706 : nikomatsakis/assoc-types-projections-in-structs-issue-20470
...
Conflicts:
src/librustc_trans/trans/expr.rs
2015-01-07 17:35:00 -08:00
Alex Crichton
51357e04be
rollup merge of #20665 : nikomatsakis/assoc-types-method-dispatch-projection
...
Conflicts:
src/librustc/middle/ty.rs
2015-01-07 17:33:41 -08:00
Felix S. Klock II
a7a2dd96ec
fallout: run-pass tests that use box. (many could be ported to Box::new
instead in the future.)
2015-01-08 02:31:37 +01:00
Alex Crichton
6afda64d0d
rollup merge of #20728 : huonw/type-param-shadowing
...
Conflicts:
src/librustc_typeck/check/wf.rs
2015-01-07 17:30:15 -08:00