bors
483600e65f
Auto merge of #28178 - christopherdumas:fix_ice, r=nikomatsakis
...
This fixes the ICE, and makes it just a compiler error/warning. I'm not exactly sure that's whats wanted, so tell me if it isn't.
2015-09-13 21:27:07 +00:00
bors
cedbd998a4
Auto merge of #28339 - alexcrichton:stabilize-1.4, r=aturon
...
The FCP is coming to a close and 1.4 is coming out soon, so this brings in the
libs team decision for all library features this cycle.
Stabilized APIs:
* `<Box<str>>::into_string`
* `Arc::downgrade`
* `Arc::get_mut`
* `Arc::make_mut`
* `Arc::try_unwrap`
* `Box::from_raw`
* `Box::into_raw`
* `CStr::to_str`
* `CStr::to_string_lossy`
* `CString::from_raw`
* `CString::into_raw`
* `IntoRawFd::into_raw_fd`
* `IntoRawFd`
* `IntoRawHandle::into_raw_handle`
* `IntoRawHandle`
* `IntoRawSocket::into_raw_socket`
* `IntoRawSocket`
* `Rc::downgrade`
* `Rc::get_mut`
* `Rc::make_mut`
* `Rc::try_unwrap`
* `Result::expect`
* `String::into_boxed_slice`
* `TcpSocket::read_timeout`
* `TcpSocket::set_read_timeout`
* `TcpSocket::set_write_timeout`
* `TcpSocket::write_timeout`
* `UdpSocket::read_timeout`
* `UdpSocket::set_read_timeout`
* `UdpSocket::set_write_timeout`
* `UdpSocket::write_timeout`
* `Vec::append`
* `Vec::split_off`
* `VecDeque::append`
* `VecDeque::retain`
* `VecDeque::split_off`
* `rc::Weak::upgrade`
* `rc::Weak`
* `slice::Iter::as_slice`
* `slice::IterMut::into_slice`
* `str::CharIndices::as_str`
* `str::Chars::as_str`
* `str::split_at_mut`
* `str::split_at`
* `sync::Weak::upgrade`
* `sync::Weak`
* `thread::park_timeout`
* `thread::sleep`
Deprecated APIs
* `BTreeMap::with_b`
* `BTreeSet::with_b`
* `Option::as_mut_slice`
* `Option::as_slice`
* `Result::as_mut_slice`
* `Result::as_slice`
* `f32::from_str_radix`
* `f64::from_str_radix`
Closes #27277
Closes #27718
Closes #27736
Closes #27764
Closes #27765
Closes #27766
Closes #27767
Closes #27768
Closes #27769
Closes #27771
Closes #27773
Closes #27775
Closes #27776
Closes #27785
Closes #27792
Closes #27795
Closes #27797
2015-09-13 19:45:15 +00:00
bors
33f0920d0e
Auto merge of #28350 - dotdash:llvm_fix, r=eddyb
2015-09-11 23:03:47 +00:00
christopherdumas
175a6421b2
Fixed test
2015-09-11 11:53:45 -07:00
bors
eda85fede0
Auto merge of #28348 - petrochenkov:novirt, r=alexcrichton
...
Noticed these yesterday while reading libsyntax
2015-09-11 17:58:59 +00:00
Alex Crichton
f0b1326dc7
std: Stabilize/deprecate features for 1.4
...
The FCP is coming to a close and 1.4 is coming out soon, so this brings in the
libs team decision for all library features this cycle.
Stabilized APIs:
* `<Box<str>>::into_string`
* `Arc::downgrade`
* `Arc::get_mut`
* `Arc::make_mut`
* `Arc::try_unwrap`
* `Box::from_raw`
* `Box::into_raw`
* `CStr::to_str`
* `CStr::to_string_lossy`
* `CString::from_raw`
* `CString::into_raw`
* `IntoRawFd::into_raw_fd`
* `IntoRawFd`
* `IntoRawHandle::into_raw_handle`
* `IntoRawHandle`
* `IntoRawSocket::into_raw_socket`
* `IntoRawSocket`
* `Rc::downgrade`
* `Rc::get_mut`
* `Rc::make_mut`
* `Rc::try_unwrap`
* `Result::expect`
* `String::into_boxed_slice`
* `TcpSocket::read_timeout`
* `TcpSocket::set_read_timeout`
* `TcpSocket::set_write_timeout`
* `TcpSocket::write_timeout`
* `UdpSocket::read_timeout`
* `UdpSocket::set_read_timeout`
* `UdpSocket::set_write_timeout`
* `UdpSocket::write_timeout`
* `Vec::append`
* `Vec::split_off`
* `VecDeque::append`
* `VecDeque::retain`
* `VecDeque::split_off`
* `rc::Weak::upgrade`
* `rc::Weak`
* `slice::Iter::as_slice`
* `slice::IterMut::into_slice`
* `str::CharIndices::as_str`
* `str::Chars::as_str`
* `str::split_at_mut`
* `str::split_at`
* `sync::Weak::upgrade`
* `sync::Weak`
* `thread::park_timeout`
* `thread::sleep`
Deprecated APIs
* `BTreeMap::with_b`
* `BTreeSet::with_b`
* `Option::as_mut_slice`
* `Option::as_slice`
* `Result::as_mut_slice`
* `Result::as_slice`
* `f32::from_str_radix`
* `f64::from_str_radix`
Closes #27277
Closes #27718
Closes #27736
Closes #27764
Closes #27765
Closes #27766
Closes #27767
Closes #27768
Closes #27769
Closes #27771
Closes #27773
Closes #27775
Closes #27776
Closes #27785
Closes #27792
Closes #27795
Closes #27797
2015-09-11 09:48:48 -07:00
Björn Steinbrink
e8c398d05c
Update LLVM to fix nightly build failures
2015-09-11 17:40:37 +02:00
Vadim Petrochenkov
9f1f4c16aa
Remove some remains of virtual structs from the parser
2015-09-11 10:09:22 +03:00
christopherdumas
0276068255
Added test
2015-09-10 20:44:03 -07:00
bors
f6d64219a4
Auto merge of #28337 - apasel422:tests, r=alexcrichton
...
Closes #17994 .
2015-09-11 01:18:19 +00:00
bors
5ff55943a3
Auto merge of #28321 - nikomatsakis:issue-27616, r=pnkfelix
...
Fixes #27616 .
r? @pnkfelix
2015-09-10 21:48:29 +00:00
Andrew Paseltiner
254325cee0
Add test for #17994
...
Closes #17994 .
2015-09-10 16:05:30 -04:00
Andrew Paseltiner
a33532b1b7
Add tests for #22638 , #22872 , #23024 , #23046
...
Closes #22638 .
Closes #22872 .
Closes #23024 .
Closes #23046 .
2015-09-10 11:31:23 -04:00
Niko Matsakis
01de381b48
Treat loans of 'static data as extending to the end of the enclosing
...
fn. Fixes #27616 .
2015-09-09 16:04:55 -04:00
bors
eaa5bf31b8
Auto merge of #28299 - apasel422:tests, r=alexcrichton
...
Closes #17001
Closes #21449
Closes #22992
Closes #23208
Closes #23442
2015-09-09 18:40:55 +00:00
bors
7c8ae608dc
Auto merge of #28300 - Manishearth:crate_err, r=eddyb
...
Partially fixes #22750
I'll write a test for this when I figure out how to.
r? @eddyb
cc @steveklabnik
2015-09-09 10:54:05 +00:00
bors
55da0e0000
Auto merge of #28277 - DiamondLovesYou:intrinsic-unnamed-addr, r=huonw
...
Intrinsics never have an address, so it doesn't make sense to say that their
address is unnamed.
2015-09-09 03:46:32 +00:00
Andrew Paseltiner
04fff50d51
Add tests for #17001 , #21449 , #22992 , #23208 , #23442
...
Closes #17001
Closes #21449
Closes #22992
Closes #23208
Closes #23442
2015-09-08 16:51:21 -04:00
Manish Goregaokar
c65d33819c
Print correct crate name
2015-09-09 01:22:03 +05:30
Manish Goregaokar
00e70051dc
Add test
2015-09-09 00:34:55 +05:30
bors
a7d63fdbd0
Auto merge of #28291 - nrc:shr_span_fix, r=sfackler
2015-09-08 04:45:37 +00:00
Nick Cameron
5fbdf3ccd0
Fix span bug with >> and type bindings
2015-09-08 16:28:12 +12:00
bors
d2a5b117c1
Auto merge of #28246 - huonw:lang-tracking-issues, r=alexcrichton
...
This is similar to the libs version, which allow an `issue` field in the
`#[unstable]` attribute.
cc #28244
2015-09-08 01:02:06 +00:00
Huon Wilson
31310f5b65
Allow tracking issues for lang features.
...
This is similar to the libs version, which allow an `issue` field in the
`#[unstable]` attribute.
cc #28244
2015-09-08 11:01:42 +10:00
Richard Diamond
ba72d9722c
Don't add unnamed address attributes to intrinsics.
...
Intrinsics never have an address, so it doesn't make sense to say that their
address is unnamed.
2015-09-06 19:26:41 -05:00
bors
f6aac80375
Auto merge of #28270 - arielb1:raw-fat-ops, r=nrc
...
r? @nrc
Fixes #17736
Fixes #18829
Fixes #23888
Fixes #28236
2015-09-06 23:24:11 +00:00
Ariel Ben-Yehuda
34bc99f860
implement raw fat pointer ops
2015-09-06 16:11:38 +03:00
Niko Matsakis
9bd35c07c2
add MIR code (unused thus far)
2015-09-06 07:27:23 -04:00
Niko Matsakis
9b52c5bfff
generalize graphviz library to handle HTML tags and other such things
2015-09-06 07:27:22 -04:00
bors
53e694e19b
Auto merge of #28190 - arielb1:generic-key-entry, r=eddyb
...
Fixes #28181
This may fix #28151
r? @pnkfelix
2015-09-05 22:15:40 +00:00
bors
6b36e921f4
Auto merge of #28242 - Diggsey:msvc-backtrace, r=alexcrichton
...
Currently LLVM does not generate the debug info required to get complete backtraces even when functions are inlined, so that part of the `run-pass/backtrace-debuginfo.rs` test is disabled when targetting MSVC. At worst this results in missing stack frames where functions have been inlined.
2015-09-05 07:21:01 +00:00
Diggory Blake
9a83842849
Add line numbers to MSVC backtrace
...
Add comments
2015-09-05 00:56:53 +01:00
bors
2f77a59d16
Auto merge of #28201 - apasel422:issue-26205, r=nikomatsakis
...
Closes #26205 .
r? @eddyb
2015-09-04 14:16:54 +00:00
bors
6f1014f351
Auto merge of #28069 - alexcrichton:rt-atexit, r=brson
...
This adds a call to `rt::cleanup` on `process::exit` to make sure we clean up
after ourselves on the way out from Rust.
Closes #28065
2015-09-04 10:33:42 +00:00
bors
9d1f8200e7
Auto merge of #28004 - Diggsey:win-backtrace, r=alexcrichton
...
Technically this could also be used for `windows-msvc` targets, as I believe they have *both* dwarf and pdb debug information, but I haven't enabled it there as it should really use the native windows APIs for that, instead of libbacktrace.
I wasn't exactly sure where I should put "gnu" specific stuff, so tell me if I should structure things differently.
This is still a WIP, and I haven't tested properly to make sure I haven't broken msvc/linux builds yet.
2015-09-04 07:08:17 +00:00
bors
791e7bcb41
Auto merge of #28170 - nagisa:loopctl-label-spans, r=alexcrichton
...
r? @alexcrichton
2015-09-04 05:15:22 +00:00
Diggory Blake
d4fc3ec208
Add line numbers to windows-gnu backtraces
...
Fix formatting
Remove unused imports
Refactor
Fix msvc build
Fix line lengths
Formatting
Enable backtrace tests
Fix using directive on mac
pwd info
Work-around buildbot PWD bug, and fix libbacktrace configuration
Use alternative to `env -u` which is not supported on bitrig
Disable tests on 32-bit windows gnu
2015-09-04 01:25:15 +01:00
Steve Klabnik
055c23da7b
Rollup merge of #28167 - petrochenkov:bytelit, r=nikomatsakis
...
Avoid confusion with binary integer literals and binary operator expressions in libsyntax
2015-09-03 20:10:07 -04:00
Manish Goregaokar
75ca401f2d
Rollup merge of #28193 - dhuseby:fixing_bitrig_alloc_crate_tests, r=alexcrichton
...
@alexcrichton this will get the bitrig buildbot back to green.
2015-09-04 01:40:03 +05:30
Andrew Paseltiner
b8dad48435
Fix multiple mutable autoderefs with Box
...
Closes #26205 .
2015-09-03 14:41:27 -04:00
Manish Goregaokar
7732ad85df
Move lints to HIR
2015-09-03 20:58:07 +05:30
Dave Huseby
e5e4744766
Fixes #27886 -- bitrig does not use jemalloc (yet)
2015-09-03 07:26:17 -07:00
Ariel Ben-Yehuda
16f75f773d
create a region-map for types in generics
...
Fixes #28181
This may fix #28151
2015-09-03 13:35:41 +03:00
Vadim Petrochenkov
405c616eaf
Use consistent terminology for byte string literals
...
Avoid confusion with binary integer literals and binary operator expressions in libsyntax
2015-09-03 10:54:53 +03:00
Simonas Kazlauskas
1a6934840e
Fix hygienic-label-x tests
2015-09-03 03:50:46 +03:00
Simonas Kazlauskas
f6244f1516
Fix #28105 test and add a test for #28109
2015-09-03 03:50:46 +03:00
Alex Crichton
04c09f9466
std: Run at_exit cleanup on process::exit
...
This adds a call to `rt::cleanup` on `process::exit` to make sure we clean up
after ourselves on the way out from Rust.
Closes #28065
2015-09-02 17:21:11 -07:00
Nick Cameron
facdf2ebb1
Add an intital HIR and lowering step
2015-09-03 10:02:36 +12:00
bors
dfe9326941
Auto merge of #28148 - eefriedman:binary_heap, r=alexcrichton
2015-09-02 01:33:20 +00:00
bors
7780408af6
Auto merge of #28132 - arielb1:uninstantiable, r=nikomatsakis
...
It is *very* easy to bypass, and is a relic of a bygone age where the type-checker was *much* less robust.
Fixes #27497
r? @nikomatsakis
2015-09-01 23:51:47 +00:00