<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>RELEASES.md - fork/rust @ 1.39.0</title>
<meta name="description" content="RELEASES.md in fork/rust at 1.39.0.">
<meta property="og:title" content="RELEASES.md - fork/rust @ 1.39.0">
<meta property="og:description" content="RELEASES.md in fork/rust at 1.39.0.">
<meta property="og:type" content="website">
<meta property="og:site_name" content="git.julia.blue">
<link rel="stylesheet" href="/css/style.css?v=62">
<script type="module" src="/js/main.js?v=62"></script>
</head>
<body>
<main data-ref="1.39.0" data-tip="4560ea788cb760f0a34127156c78e2552949f734">
<noscript>
  <div class="callout">
    <p>
      hey! this is a static git repo viewer. commit diffs, file history,
      older commits and other revisions won't load without javascript.
    </p>
    <p>
      you are still able to view source files on branch/tag tips,
      but the experience is degraded.
    </p>
  </div>
</noscript>
<header class="repo"><div>
<h1>fork/rust</h1>
</div>
<pre class="clone">git clone https://git.julia.blue/fork/rust</pre>
</header>
<p class="snapshot-commit"><span class="commit-author">bors</span><span class="commit-message" data-commit="4560ea788cb760f0a34127156c78e2552949f734">Auto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum</span><span class="snapshot-sha sha" data-commit="4560ea788cb760f0a34127156c78e2552949f734">4560ea788cb</span><time datetime="2019-11-04T15:43:19+00:00" title="2019-11-04 15:43:19 +0000">2019-11-04</time></p>
<header class="topbar"><details class="switcher"><summary>1.39.0</summary><div class="menu"><strong>branches</strong><a href="/fork/rust/ref/master/">master</a><strong>tags</strong><a class="current" href="/fork/rust/ref/1.39.0/">1.39.0</a><a href="/fork/rust/ref/1.40.0/">1.40.0</a><a href="/fork/rust/ref/1.41.0/">1.41.0</a><a href="/fork/rust/ref/1.41.1/">1.41.1</a><a href="/fork/rust/ref/1.42.0/">1.42.0</a><a href="/fork/rust/ref/1.43.0/">1.43.0</a><a href="/fork/rust/ref/1.43.1/">1.43.1</a><a href="/fork/rust/ref/1.44.0/">1.44.0</a><a class="all" href="/fork/rust/refs">all refs →</a></div></details><nav class="crumbs"><a href="/fork/rust/">rust</a> / <span class="cur">RELEASES.md</span></nav>
<span class="view-stats"><span>409.5 KiB</span><span>8177 lines</span></span><span class="actions"><a class="raw" href="/fork/rust/raw/6daf7a13b6bdcd0ee7fc09ac5e5c00d125d736f5/RELEASES.md">raw</a></span></header>
<div class="markdown-view"><input type="radio" name="markdown-view" id="markdown-rendered" checked><label for="markdown-rendered">rendered</label><input type="radio" name="markdown-view" id="markdown-code"><label for="markdown-code">code</label><section class="readme rendered"><h1>Version 1.39.0 (2019-11-07)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/63209/">You can now create <code>async</code> functions and blocks with <code>async fn</code>, <code>async move {}</code>, and
<code>async {}</code> respectively, and you can now call <code>.await</code> on async expressions.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/64010/">You can now use certain attributes on function, closure, and function pointer
parameters.</a> These attributes include <code>cfg</code>, <code>cfg_attr</code>, <code>allow</code>, <code>warn</code>,
<code>deny</code>, <code>forbid</code> as well as inert helper attributes used by procedural macro
attributes applied to items. e.g.<pre class="language-rust"><a-k>fn</a-k> <a-f>len</a-f><a-p>(</a-p>
    <a-at>#</a-at><a-p>[</a-p><a-at>cfg</a-at><a-p>(</a-p><a-at>windows</a-at><a-p>)]</a-p> <a-v>slice</a-v><a-p>:</a-p> <a-o>&amp;</a-o><a-p>[</a-p><a-t>u16</a-t><a-p>],</a-p>
    <a-at>#</a-at><a-p>[</a-p><a-at>cfg</a-at><a-p>(</a-p><a-at>not</a-at><a-p>(</a-p><a-at>windows</a-at><a-p>))]</a-p> <a-v>slice</a-v><a-p>:</a-p> <a-o>&amp;</a-o><a-p>[</a-p><a-t>u8</a-t><a-p>],</a-p>
<a-p>)</a-p> -&gt; <a-t>usize</a-t> <a-p>{</a-p>
    slice<a-p>.</a-p><a-f>len</a-f><a-p>()</a-p>
<a-p>}</a-p></pre>
</li>
<li><a href="https://github.com/rust-lang/rust/pull/63118/">You can now take shared references to bind-by-move patterns in the <code>if</code> guards
of <code>match</code> arms.</a> e.g.<pre class="language-rust"><a-k>fn</a-k> <a-f>main</a-f><a-p>()</a-p> <a-p>{</a-p>
    <a-k>let</a-k> array<a-p>:</a-p> <a-t>Box</a-t><a-p>&lt;[</a-p><a-t>u8</a-t><a-p>;</a-p> <a-co>4</a-co><a-p>]&gt;</a-p> = <a-t>Box</a-t><a-p>::</a-p><a-f>new</a-f><a-p>([</a-p><a-co>1</a-co><a-p>,</a-p> <a-co>2</a-co><a-p>,</a-p> <a-co>3</a-co><a-p>,</a-p> <a-co>4</a-co><a-p>]);</a-p>

    <a-k>match</a-k> array <a-p>{</a-p>
        nums
<a-c>//      ---- `nums` is bound by move.</a-c>
            <a-k>if</a-k> nums<a-p>.</a-p><a-f>iter</a-f><a-p>().</a-p><a-f>sum</a-f><a-p>::&lt;</a-p><a-t>u8</a-t><a-p>&gt;()</a-p> == <a-co>10</a-co>
<a-c>//                 ^------ `.iter()` implicitly takes a reference to `nums`.</a-c>
        =&gt; <a-p>{</a-p>
            <a-f>drop</a-f><a-p>(</a-p>nums<a-p>);</a-p>
<a-c>//          ----------- Legal as `nums` was bound by move and so we have ownership.</a-c>
        <a-p>}</a-p>
        _ =&gt; <a-m>unreachable!</a-m><a-p>(),</a-p>
    <a-p>}</a-p>
<a-p>}</a-p></pre>
</li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/64334/">Added tier 3* support for the <code>i686-unknown-uefi</code> target.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/63595/">Added tier 3 support for the <code>sparc64-unknown-openbsd</code> target.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/63402/">rustc will now trim code snippets in diagnostics to fit in your terminal.</a>
<strong>Note</strong> Cargo currently doesn't use this feature. Refer to
<a href="https://github.com/rust-lang/cargo/pull/7315/">cargo#7315</a> to track this feature's progress.</li>
<li><a href="https://github.com/rust-lang/rust/pull/62600/">You can now pass <code>--show-output</code> argument to test binaries to print the
output of successful tests.</a></li>
</ul>
<p>* Refer to Rust's <a href="https://forge.rust-lang.org/platform-support.html">platform support page</a> for more
information on Rust's tiered platform support.</p>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/64028/"><code>Vec::new</code> and <code>String::new</code> are now <code>const</code> functions.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/63684/"><code>LinkedList::new</code> is now a <code>const</code> function.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/63770/"><code>str::len</code>, <code>[T]::len</code> and <code>str::as_bytes</code> are now <code>const</code> functions.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/63786/">The <code>abs</code>, <code>wrapping_abs</code>, and <code>overflowing_abs</code> numeric functions are
now <code>const</code>.</a></li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/std/pin/struct.Pin.html#method.into_inner"><code>Pin::into_inner</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Instant.html#method.checked_duration_since"><code>Instant::checked_duration_since</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Instant.html#method.saturating_duration_since"><code>Instant::saturating_duration_since</code></a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/7237/">You can now publish git dependencies if supplied with a <code>version</code>.</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/7241/">The <code>--all</code> flag has been renamed to <code>--workspace</code>.</a> Using
<code>--all</code> is now deprecated.</li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/63834/">You can now pass <code>-Clinker</code> to rustdoc to control the linker used
for compiling doctests.</a></li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/63565/">Code that was previously accepted by the old borrow checker, but rejected by
the NLL borrow checker is now a hard error in Rust 2018.</a> This was
previously a warning, and will also become a hard error in the Rust 2015
edition in the 1.40.0 release.</li>
<li><a href="https://github.com/rust-lang/rust/pull/63827/"><code>rustdoc</code> now requires <code>rustc</code> to be installed and in the same directory to
run tests.</a> This should improve performance when running a large
amount of doctests.</li>
<li><a href="https://github.com/rust-lang/rust/pull/62672/">The <code>try!</code> macro will now issue a deprecation warning.</a> It is
recommended to use the <code>?</code> operator instead.</li>
<li><a href="https://github.com/rust-lang/rust/pull/63698/"><code>asinh(-0.0)</code> now correctly returns <code>-0.0</code>.</a> Previously this
returned <code>0.0</code>.</li>
</ul>
<h1>Version 1.38.0 (2019-09-26)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/62735/">The <code>#[global_allocator]</code> attribute can now be used in submodules.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/62042/">The <code>#[deprecated]</code> attribute can now be used on macros.</a></li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/62766/">Added pipelined compilation support to <code>rustc</code>.</a> This will
improve compilation times in some cases. For further information please refer
to the <a href="https://internals.rust-lang.org/t/evaluating-pipelined-rustc-compilation/10199"><em>"Evaluating pipelined rustc compilation"</em></a> thread.</li>
<li><a href="https://github.com/rust-lang/rust/pull/60260/">Added tier 3* support for the <code>aarch64-uwp-windows-msvc</code>, <code>i686-uwp-windows-gnu</code>,
<code>i686-uwp-windows-msvc</code>, <code>x86_64-uwp-windows-gnu</code>, and
<code>x86_64-uwp-windows-msvc</code> targets.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/63107/">Added tier 3 support for the <code>armv7-unknown-linux-gnueabi</code> and
<code>armv7-unknown-linux-musleabi</code> targets.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/62814/">Added tier 3 support for the <code>hexagon-unknown-linux-musl</code> target.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/62784/">Added tier 3 support for the <code>riscv32i-unknown-none-elf</code> target.</a></li>
</ul>
<p>* Refer to Rust's <a href="https://forge.rust-lang.org/platform-support.html">platform support page</a> for more
information on Rust's tiered platform support.</p>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/63421/"><code>ascii::EscapeDefault</code> now implements <code>Clone</code> and <code>Display</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/63056/">Derive macros for prelude traits (e.g. <code>Clone</code>, <code>Debug</code>, <code>Hash</code>) are now
available at the same path as the trait.</a> (e.g. The <code>Clone</code> derive macro
is available at <code>std::clone::Clone</code>). This also makes all built-in macros
available in <code>std</code>/<code>core</code> root. e.g. <code>std::include_bytes!</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/63000/"><code>str::Chars</code> now implements <code>Debug</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/62528/"><code>slice::{concat, connect, join}</code> now accepts <code>&amp;[T]</code> in addition to <code>&amp;T</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/62583/"><code>*const T</code> and <code>*mut T</code> now implement <code>marker::Unpin</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/61953/"><code>Arc&lt;[T]&gt;</code> and <code>Rc&lt;[T]&gt;</code> now implement <code>FromIterator&lt;T&gt;</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/61884/">Added euclidean remainder and division operations (<code>div_euclid</code>,
<code>rem_euclid</code>) to all numeric primitives.</a> Additionally <code>checked</code>,
<code>overflowing</code>, and <code>wrapping</code> versions are available for all
integer primitives.</li>
<li><a href="https://github.com/rust-lang/rust/pull/61491/"><code>thread::AccessError</code> now implements <code>Clone</code>, <code>Copy</code>, <code>Eq</code>, <code>Error</code>, and
<code>PartialEq</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/61457/"><code>iter::{StepBy, Peekable, Take}</code> now implement <code>DoubleEndedIterator</code>.</a></li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.cast"><code>&lt;*const T&gt;::cast</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.cast"><code>&lt;*mut T&gt;::cast</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_secs_f32"><code>Duration::as_secs_f32</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_secs_f64"><code>Duration::as_secs_f64</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.div_f32"><code>Duration::div_f32</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.div_f64"><code>Duration::div_f64</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.from_secs_f32"><code>Duration::from_secs_f32</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.from_secs_f64"><code>Duration::from_secs_f64</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.mul_f32"><code>Duration::mul_f32</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.mul_f64"><code>Duration::mul_f64</code></a></li>
<li><a href="https://doc.rust-lang.org/std/any/fn.type_name.html"><code>any::type_name</code></a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/7143/">Added pipelined compilation support to <code>cargo</code>.</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/7084/">You can now pass the <code>--features</code> option multiple times to enable
multiple features.</a></li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/63346/"><code>rustc</code> will now warn about some incorrect uses of
<code>mem::{uninitialized, zeroed}</code> that are known to cause undefined behaviour.</a></li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li>The <a href="https://github.com/rust-lang/rust/issues/62785/"><code>x86_64-unknown-uefi</code> platform can not be built</a> with rustc
1.38.0.</li>
<li>The <a href="https://github.com/rust-lang/rust/issues/62896/"><code>armv7-unknown-linux-gnueabihf</code> platform is known to have
issues</a> with certain crates such as libc.</li>
</ul>
<h1>Version 1.37.0 (2019-08-15)</h1>
<h2>Language</h2>
<ul>
<li><code>#[must_use]</code> will now warn if the type is contained in a <a href="https://github.com/rust-lang/rust/pull/61100/">tuple</a>,
<a href="https://github.com/rust-lang/rust/pull/62228/"><code>Box</code></a>, or an <a href="https://github.com/rust-lang/rust/pull/62235/">array</a> and unused.</li>
<li><a href="https://github.com/rust-lang/rust/pull/61547/">You can now use the <code>cfg</code> and <code>cfg_attr</code> attributes on
generic parameters.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/61682/">You can now use enum variants through type alias.</a> e.g. You can
write the following:<pre class="language-rust"><a-k>type</a-k> <a-t>MyOption</a-t> = <a-t>Option</a-t><a-p>&lt;</a-p><a-t>u8</a-t><a-p>&gt;;</a-p>

<a-k>fn</a-k> <a-f>increment_or_zero</a-f><a-p>(</a-p><a-v>x</a-v><a-p>:</a-p> <a-t>MyOption</a-t><a-p>)</a-p> -&gt; <a-t>u8</a-t> <a-p>{</a-p>
    <a-k>match</a-k> x <a-p>{</a-p>
        <a-t>MyOption</a-t><a-p>::</a-p><a-cr>Some</a-cr><a-p>(</a-p>y<a-p>)</a-p> =&gt; y + <a-co>1</a-co><a-p>,</a-p>
        <a-t>MyOption</a-t><a-p>::</a-p><a-cr>None</a-cr> =&gt; <a-co>0</a-co><a-p>,</a-p>
    <a-p>}</a-p>
<a-p>}</a-p></pre>
</li>
<li><a href="https://github.com/rust-lang/rust/pull/61347/">You can now use <code>_</code> as an identifier for consts.</a> e.g. You can write
<code>const _: u32 = 5;</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/61229/">You can now use <code>#[repr(align(X)]</code> on enums.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/60932/">The  <code>?</code> Kleene macro operator is now available in the
2015 edition.</a></li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/61268/">You can now enable Profile-Guided Optimization with the <code>-C profile-generate</code>
and <code>-C profile-use</code> flags.</a> For more information on how to use profile
guided optimization, please refer to the <a href="https://doc.rust-lang.org/rustc/profile-guided-optimization.html">rustc book</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/61827/">The <code>rust-lldb</code> wrapper script should now work again.</a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/61802/"><code>mem::MaybeUninit&lt;T&gt;</code> is now ABI-compatible with <code>T</code>.</a></li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/std/io/struct.BufReader.html#method.buffer"><code>BufReader::buffer</code></a></li>
<li><a href="https://doc.rust-lang.org/std/io/struct.BufWriter.html#method.buffer"><code>BufWriter::buffer</code></a></li>
<li><a href="https://doc.rust-lang.org/std/cell/struct.Cell.html#method.from_mut"><code>Cell::from_mut</code></a></li>
<li><a href="https://doc.rust-lang.org/std/cell/struct.Cell.html#method.as_slice_of_cells"><code>Cell&lt;[T]&gt;::as_slice_of_cells</code></a></li>
<li><a href="https://doc.rust-lang.org/std/iter/trait.DoubleEndedIterator.html#method.nth_back"><code>DoubleEndedIterator::nth_back</code></a></li>
<li><a href="https://doc.rust-lang.org/std/option/enum.Option.html#method.xor"><code>Option::xor</code></a></li>
<li><a href="https://doc.rust-lang.org/std/num/struct.Wrapping.html#method.reverse_bits"><code>Wrapping::reverse_bits</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.i128.html#method.reverse_bits"><code>i128::reverse_bits</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.i16.html#method.reverse_bits"><code>i16::reverse_bits</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.i32.html#method.reverse_bits"><code>i32::reverse_bits</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.i64.html#method.reverse_bits"><code>i64::reverse_bits</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.i8.html#method.reverse_bits"><code>i8::reverse_bits</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.isize.html#method.reverse_bits"><code>isize::reverse_bits</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.slice.html#method.copy_within"><code>slice::copy_within</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.u128.html#method.reverse_bits"><code>u128::reverse_bits</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.u16.html#method.reverse_bits"><code>u16::reverse_bits</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.u32.html#method.reverse_bits"><code>u32::reverse_bits</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.u64.html#method.reverse_bits"><code>u64::reverse_bits</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.u8.html#method.reverse_bits"><code>u8::reverse_bits</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.usize.html#method.reverse_bits"><code>usize::reverse_bits</code></a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/7026/"><code>Cargo.lock</code> files are now included by default when publishing executable crates
with executables.</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/7056/">You can now specify <code>default-run="foo"</code> in <code>[package]</code> to specify the
default executable to use for <code>cargo run</code>.</a></li>
</ul>
<h2>Misc</h2>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/61342/">Using <code>...</code> for inclusive range patterns will now warn by default.</a>
Please transition your code to using the <code>..=</code> syntax for inclusive
ranges instead.</li>
<li><a href="https://github.com/rust-lang/rust/pull/61203/">Using a trait object without the <code>dyn</code> will now warn by default.</a>
Please transition your code to use <code>dyn Trait</code> for trait objects instead.</li>
</ul>
<h1>Version 1.36.0 (2019-07-04)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/59114/">Non-Lexical Lifetimes are now enabled on the 2015 edition.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/59445/">The order of traits in trait objects no longer affects the semantics of that
object.</a> e.g. <code>dyn Send + fmt::Debug</code> is now equivalent to
<code>dyn fmt::Debug + Send</code>, where this was previously not the case.</li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/58623/"><code>HashMap</code>'s implementation has been replaced with <code>hashbrown::HashMap</code> implementation.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/60318/"><code>TryFromSliceError</code> now implements <code>From&lt;Infallible&gt;</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/60364/"><code>mem::needs_drop</code> is now available as a const fn.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/60370/"><code>alloc::Layout::from_size_align_unchecked</code> is now available as a const fn.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/60404/"><code>String</code> now implements <code>BorrowMut&lt;str&gt;</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/60234/"><code>io::Cursor</code> now implements <code>Default</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/60244/">Both <code>NonNull::{dangling, cast}</code> are now const fns.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/59675/">The <code>alloc</code> crate is now stable.</a> <code>alloc</code> allows you to use a subset
of <code>std</code> (e.g. <code>Vec</code>, <code>Box</code>, <code>Arc</code>) in <code>#![no_std]</code> environments if the
environment has access to heap memory allocation.</li>
<li><a href="https://github.com/rust-lang/rust/pull/59825/"><code>String</code> now implements <code>From&lt;&amp;String&gt;</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/59826/">You can now pass multiple arguments to the <code>dbg!</code> macro.</a> <code>dbg!</code> will
return a tuple of each argument when there is multiple arguments.</li>
<li><a href="https://github.com/rust-lang/rust/pull/59648/"><code>Result::{is_err, is_ok}</code> are now <code>#[must_use]</code> and will produce a warning if
not used.</a></li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/std/collections/struct.VecDeque.html#method.rotate_left"><code>VecDeque::rotate_left</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/struct.VecDeque.html#method.rotate_right"><code>VecDeque::rotate_right</code></a></li>
<li><a href="https://doc.rust-lang.org/std/iter/trait.Iterator.html#tymethod.copied"><code>Iterator::copied</code></a></li>
<li><a href="https://doc.rust-lang.org/std/io/struct.IoSlice.html"><code>io::IoSlice</code></a></li>
<li><a href="https://doc.rust-lang.org/std/io/struct.IoSliceMut.html"><code>io::IoSliceMut</code></a></li>
<li><a href="https://doc.rust-lang.org/std/io/trait.Read.html#method.read_vectored"><code>Read::read_vectored</code></a></li>
<li><a href="https://doc.rust-lang.org/std/io/trait.Write.html#method.write_vectored"><code>Write::write_vectored</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.str.html#method.as_mut_ptr"><code>str::as_mut_ptr</code></a></li>
<li><a href="https://doc.rust-lang.org/std/mem/union.MaybeUninit.html"><code>mem::MaybeUninit</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.align_offset"><code>pointer::align_offset</code></a></li>
<li><a href="https://doc.rust-lang.org/std/future/trait.Future.html"><code>future::Future</code></a></li>
<li><a href="https://doc.rust-lang.org/beta/std/task/struct.Context.html"><code>task::Context</code></a></li>
<li><a href="https://doc.rust-lang.org/beta/std/task/struct.RawWaker.html"><code>task::RawWaker</code></a></li>
<li><a href="https://doc.rust-lang.org/beta/std/task/struct.RawWakerVTable.html"><code>task::RawWakerVTable</code></a></li>
<li><a href="https://doc.rust-lang.org/beta/std/task/struct.Waker.html"><code>task::Waker</code></a></li>
<li><a href="https://doc.rust-lang.org/beta/std/task/enum.Poll.html"><code>task::Poll</code></a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/6860/">Cargo will now produce an error if you attempt to use the name of a required dependency as a feature.</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/6934/">You can now pass the <code>--offline</code> flag to run cargo without accessing the network.</a></li>
</ul>
<p>You can find further change's in <a href="https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md#cargo-136-2019-07-04">Cargo's 1.36.0 release notes</a>.</p>
<h2>Clippy</h2>
<p>There have been numerous additions and fixes to clippy, see <a href="https://github.com/rust-lang/rust-clippy/blob/master/CHANGELOG.md#rust-136">Clippy's 1.36.0 release notes</a> for more details.</p>
<h2>Misc</h2>
<h2>Compatibility Notes</h2>
<ul>
<li>With the stabilisation of <code>mem::MaybeUninit</code>, <code>mem::uninitialized</code> use is no
longer recommended, and will be deprecated in 1.39.0.</li>
</ul>
<h1>Version 1.35.0 (2019-05-23)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/59500/"><code>FnOnce</code>, <code>FnMut</code>, and the <code>Fn</code> traits are now implemented for <code>Box&lt;FnOnce&gt;</code>,
<code>Box&lt;FnMut&gt;</code>, and <code>Box&lt;Fn&gt;</code> respectively.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/59580/">You can now coerce closures into unsafe function pointers.</a> e.g.<pre class="language-rust"><a-k>unsafe</a-k> <a-k>fn</a-k> <a-f>call_unsafe</a-f><a-p>(</a-p><a-v>func</a-v><a-p>:</a-p> <a-k>unsafe</a-k> <a-k>fn</a-k><a-p>())</a-p> <a-p>{</a-p>
    <a-f>func</a-f><a-p>()</a-p>
<a-p>}</a-p>

<a-k>pub</a-k> <a-k>fn</a-k> <a-f>main</a-f><a-p>()</a-p> <a-p>{</a-p>
    <a-k>unsafe</a-k> <a-p>{</a-p> <a-f>call_unsafe</a-f><a-p>(</a-p>|| <a-p>{});</a-p> <a-p>}</a-p>
<a-p>}</a-p></pre>
</li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/58080/">Added the <code>armv6-unknown-freebsd-gnueabihf</code> and
<code>armv7-unknown-freebsd-gnueabihf</code> targets.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/59464/">Added the <code>wasm32-unknown-wasi</code> target.</a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/59460/"><code>Thread</code> will now show its ID in <code>Debug</code> output.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/59512/"><code>StdinLock</code>, <code>StdoutLock</code>, and <code>StderrLock</code> now implement <code>AsRawFd</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/59451/"><code>alloc::System</code> now implements <code>Default</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/59076/">Expanded <code>Debug</code> output (<code>{:#?}</code>) for structs now has a trailing comma on the
last field.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/58778/"><code>char::{ToLowercase, ToUppercase}</code> now
implement <code>ExactSizeIterator</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/58717/">All <code>NonZero</code> numeric types now implement <code>FromStr</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/58423/">Removed the <code>Read</code> trait bounds
on the <code>BufReader::{get_ref, get_mut, into_inner}</code> methods.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/57847/">You can now call the <code>dbg!</code> macro without any parameters to print the file
and line where it is called.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/59283/">In place ASCII case conversions are now up to 4× faster.</a>
e.g. <code>str::make_ascii_lowercase</code></li>
<li><a href="https://github.com/rust-lang/rust/pull/58369/"><code>hash_map::{OccupiedEntry, VacantEntry}</code> now implement <code>Sync</code>
and <code>Send</code>.</a></li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.f32.html#method.copysign"><code>f32::copysign</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.f64.html#method.copysign"><code>f64::copysign</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/cell/struct.RefCell.html#method.replace_with"><code>RefCell::replace_with</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/cell/struct.RefCell.html#method.map_split"><code>RefCell::map_split</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/ptr/fn.hash.html"><code>ptr::hash</code></a></li>
<li><a href="https://doc.rust-lang.org/std/ops/struct.Range.html#method.contains"><code>Range::contains</code></a></li>
<li><a href="https://doc.rust-lang.org/std/ops/struct.RangeFrom.html#method.contains"><code>RangeFrom::contains</code></a></li>
<li><a href="https://doc.rust-lang.org/std/ops/struct.RangeTo.html#method.contains"><code>RangeTo::contains</code></a></li>
<li><a href="https://doc.rust-lang.org/std/ops/struct.RangeInclusive.html#method.contains"><code>RangeInclusive::contains</code></a></li>
<li><a href="https://doc.rust-lang.org/std/ops/struct.RangeToInclusive.html#method.contains"><code>RangeToInclusive::contains</code></a></li>
<li><a href="https://doc.rust-lang.org/std/option/enum.Option.html#method.copied"><code>Option::copied</code></a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/6298/">You can now set <code>cargo:rustc-cdylib-link-arg</code> at build time to pass custom
linker arguments when building a <code>cdylib</code>.</a> Its usage is highly
platform specific.</li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/58575">The Rust toolchain is now available natively for musl based distros.</a></li>
</ul>
<h1>Version 1.34.2 (2019-05-14)</h1>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/60785">Destabilize the <code>Error::type_id</code> function due to a security
vulnerability</a> (<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12083">CVE-2019-12083</a>)</li>
</ul>
<h1>Version 1.34.1 (2019-04-25)</h1>
<ul>
<li><a href="https://github.com/rust-lang/rust-clippy/pull/3821">Fix false positives for the <code>redundant_closure</code> Clippy lint</a></li>
<li><a href="https://github.com/rust-lang/rust-clippy/pull/3844">Fix false positives for the <code>missing_const_for_fn</code> Clippy lint</a></li>
<li><a href="https://github.com/rust-lang/rust-clippy/pull/3805">Fix Clippy panic when checking some macros</a></li>
</ul>
<h1>Version 1.34.0 (2019-04-11)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/58166/">You can now use <code>#[deprecated = "reason"]</code></a> as a shorthand for
<code>#[deprecated(note = "reason")]</code>. This was previously allowed by mistake
but had no effect.</li>
<li><a href="https://github.com/rust-lang/rust/pull/57367/">You can now accept token streams in <code>#[attr()]</code>,<code>#[attr[]]</code>, and
<code>#[attr{}]</code> procedural macros.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/57407/">You can now write <code>extern crate self as foo;</code></a> to import your
crate's root into the extern prelude.</li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/58406/">You can now target <code>riscv64imac-unknown-none-elf</code> and
<code>riscv64gc-unknown-none-elf</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/58057/">You can now enable linker plugin LTO optimisations with
<code>-C linker-plugin-lto</code>.</a> This allows rustc to compile your Rust code
into LLVM bitcode allowing LLVM to perform LTO optimisations across C/C++ FFI
boundaries.</li>
<li><a href="https://github.com/rust-lang/rust/pull/57809/">You can now target <code>powerpc64-unknown-freebsd</code>.</a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/58370/">The trait bounds have been removed on some of <code>HashMap&lt;K, V, S&gt;</code>'s and
<code>HashSet&lt;T, S&gt;</code>'s basic methods.</a> Most notably you no longer require
the <code>Hash</code> trait to create an iterator.</li>
<li><a href="https://github.com/rust-lang/rust/pull/58421/">The <code>Ord</code> trait bounds have been removed on some of <code>BinaryHeap&lt;T&gt;</code>'s basic
methods.</a> Most notably you no longer require the <code>Ord</code> trait to create
an iterator.</li>
<li><a href="https://github.com/rust-lang/rust/pull/58044/">The methods <code>overflowing_neg</code> and <code>wrapping_neg</code> are now <code>const</code> functions
for all numeric types.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/57604/">Indexing a <code>str</code> is now generic over all types that
implement <code>SliceIndex&lt;str&gt;</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/57106/"><code>str::trim</code>, <code>str::trim_matches</code>, <code>str::trim_{start, end}</code>, and
<code>str::trim_{start, end}_matches</code> are now <code>#[must_use]</code></a> and will
produce a warning if their returning type is unused.</li>
<li><a href="https://github.com/rust-lang/rust/pull/57873/">The methods <code>checked_pow</code>, <code>saturating_pow</code>, <code>wrapping_pow</code>, and
<code>overflowing_pow</code> are now available for all numeric types.</a> These are
equivalent to methods such as <code>wrapping_add</code> for the <code>pow</code> operation.</li>
</ul>
<h2>Stabilized APIs</h2>
<h4>std &amp; core</h4>
<ul>
<li><a href="https://doc.rust-lang.org/std/any/trait.Any.html#tymethod.type_id"><code>Any::type_id</code></a></li>
<li><a href="https://doc.rust-lang.org/std/error/trait.Error.html#method.type_id"><code>Error::type_id</code></a></li>
<li><a href="https://doc.rust-lang.org/std/sync/atomic/struct.AtomicI16.html"><code>atomic::AtomicI16</code></a></li>
<li><a href="https://doc.rust-lang.org/std/sync/atomic/struct.AtomicI32.html"><code>atomic::AtomicI32</code></a></li>
<li><a href="https://doc.rust-lang.org/std/sync/atomic/struct.AtomicI64.html"><code>atomic::AtomicI64</code></a></li>
<li><a href="https://doc.rust-lang.org/std/sync/atomic/struct.AtomicI8.html"><code>atomic::AtomicI8</code></a></li>
<li><a href="https://doc.rust-lang.org/std/sync/atomic/struct.AtomicU16.html"><code>atomic::AtomicU16</code></a></li>
<li><a href="https://doc.rust-lang.org/std/sync/atomic/struct.AtomicU32.html"><code>atomic::AtomicU32</code></a></li>
<li><a href="https://doc.rust-lang.org/std/sync/atomic/struct.AtomicU64.html"><code>atomic::AtomicU64</code></a></li>
<li><a href="https://doc.rust-lang.org/std/sync/atomic/struct.AtomicU8.html"><code>atomic::AtomicU8</code></a></li>
<li><a href="https://doc.rust-lang.org/std/convert/enum.Infallible.html"><code>convert::Infallible</code></a></li>
<li><a href="https://doc.rust-lang.org/std/convert/trait.TryFrom.html"><code>convert::TryFrom</code></a></li>
<li><a href="https://doc.rust-lang.org/std/convert/trait.TryInto.html"><code>convert::TryInto</code></a></li>
<li><a href="https://doc.rust-lang.org/std/iter/fn.from_fn.html"><code>iter::from_fn</code></a></li>
<li><a href="https://doc.rust-lang.org/std/iter/fn.successors.html"><code>iter::successors</code></a></li>
<li><a href="https://doc.rust-lang.org/std/num/struct.NonZeroI128.html"><code>num::NonZeroI128</code></a></li>
<li><a href="https://doc.rust-lang.org/std/num/struct.NonZeroI16.html"><code>num::NonZeroI16</code></a></li>
<li><a href="https://doc.rust-lang.org/std/num/struct.NonZeroI32.html"><code>num::NonZeroI32</code></a></li>
<li><a href="https://doc.rust-lang.org/std/num/struct.NonZeroI64.html"><code>num::NonZeroI64</code></a></li>
<li><a href="https://doc.rust-lang.org/std/num/struct.NonZeroI8.html"><code>num::NonZeroI8</code></a></li>
<li><a href="https://doc.rust-lang.org/std/num/struct.NonZeroIsize.html"><code>num::NonZeroIsize</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.slice.html#method.sort_by_cached_key"><code>slice::sort_by_cached_key</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.str.html#method.escape_debug"><code>str::escape_debug</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.str.html#method.escape_default"><code>str::escape_default</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.str.html#method.escape_unicode"><code>str::escape_unicode</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.str.html#method.split_ascii_whitespace"><code>str::split_ascii_whitespace</code></a></li>
</ul>
<h4>std</h4>
<ul>
<li><a href="https://doc.rust-lang.org/std/time/struct.Instant.html#method.checked_add"><code>Instant::checked_add</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Instant.html#method.checked_sub"><code>Instant::checked_sub</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.SystemTime.html#method.checked_add"><code>SystemTime::checked_add</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.SystemTime.html#method.checked_sub"><code>SystemTime::checked_sub</code></a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/6654/">You can now use alternative registries to crates.io.</a></li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/56470/">You can now use the <code>?</code> operator in your documentation tests without manually
adding <code>fn main() -&gt; Result&lt;(), _&gt; {}</code>.</a></li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/58059/"><code>Command::before_exec</code> is being replaced by the unsafe method
<code>Command::pre_exec</code></a> and will be deprecated with Rust 1.37.0.</li>
<li><a href="https://github.com/rust-lang/rust/pull/57425/">Use of <code>ATOMIC_{BOOL, ISIZE, USIZE}_INIT</code> is now deprecated</a> as you
can now use <code>const</code> functions in <code>static</code> variables.</li>
</ul>
<h1>Version 1.33.0 (2019-02-28)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/57465/">You can now use the <code>cfg(target_vendor)</code> attribute.</a> E.g.
<code>#[cfg(target_vendor="apple")] fn main() { println!("Hello Apple!"); }</code></li>
<li><a href="https://github.com/rust-lang/rust/pull/56362">Integer patterns such as in a match expression can now be exhaustive.</a>
E.g. You can have match statement on a <code>u8</code> that covers <code>0..=255</code> and
you would no longer be required to have a <code>_ =&gt; unreachable!()</code> case.</li>
<li><a href="https://github.com/rust-lang/rust/pull/57532/">You can now have multiple patterns in <code>if let</code> and <code>while let</code>
expressions.</a> You can do this with the same syntax as a <code>match</code>
expression. E.g.<pre class="language-rust"><a-k>enum</a-k> <a-t>Creature</a-t> <a-p>{</a-p>
    <a-cr>Crab</a-cr><a-p>(</a-p><a-t>String</a-t><a-p>),</a-p>
    <a-cr>Lobster</a-cr><a-p>(</a-p><a-t>String</a-t><a-p>),</a-p>
    <a-cr>Person</a-cr><a-p>(</a-p><a-t>String</a-t><a-p>),</a-p>
<a-p>}</a-p>

<a-k>fn</a-k> <a-f>main</a-f><a-p>()</a-p> <a-p>{</a-p>
    <a-k>let</a-k> state = <a-t>Creature</a-t><a-p>::</a-p><a-f>Crab</a-f><a-p>(</a-p><a-s>&quot;Ferris&quot;</a-s><a-p>);</a-p>

    <a-k>if</a-k> <a-k>let</a-k> <a-t>Creature</a-t><a-p>::</a-p><a-cr>Crab</a-cr><a-p>(</a-p>name<a-p>)</a-p> | <a-t>Creature</a-t><a-p>::</a-p><a-cr>Person</a-cr><a-p>(</a-p>name<a-p>)</a-p> = state <a-p>{</a-p>
        <a-m>println!</a-m><a-p>(</a-p><a-s>&quot;This creature&#39;s name is: {}&quot;</a-s><a-p>,</a-p> name<a-p>);</a-p>
    <a-p>}</a-p>
<a-p>}</a-p></pre>
</li>
<li><a href="https://github.com/rust-lang/rust/pull/57535/">You can now have irrefutable <code>if let</code> and <code>while let</code> patterns.</a> Using
this feature will by default produce a warning as this behaviour can be
unintuitive. E.g. <code>if let _ = 5 {}</code></li>
<li><a href="https://github.com/rust-lang/rust/pull/57175/">You can now use <code>let</code> bindings, assignments, expression statements,
and irrefutable pattern destructuring in const functions.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/57067/">You can now call unsafe const functions.</a> E.g.<pre class="language-rust"><a-k>const</a-k> <a-k>unsafe</a-k> <a-k>fn</a-k> <a-f>foo</a-f><a-p>()</a-p> -&gt; <a-t>i32</a-t> <a-p>{</a-p> <a-co>5</a-co> <a-p>}</a-p>
<a-k>const</a-k> <a-k>fn</a-k> <a-f>bar</a-f><a-p>()</a-p> -&gt; <a-t>i32</a-t> <a-p>{</a-p>
    <a-k>unsafe</a-k> <a-p>{</a-p> <a-f>foo</a-f><a-p>()</a-p> <a-p>}</a-p>
<a-p>}</a-p></pre>
</li>
<li><a href="https://github.com/rust-lang/rust/pull/57332/">You can now specify multiple attributes in a <code>cfg_attr</code> attribute.</a>
E.g. <code>#[cfg_attr(all(), must_use, optimize)]</code></li>
<li><a href="https://github.com/rust-lang/rust/pull/57049/">You can now specify a specific alignment with the <code>#[repr(packed)]</code>
attribute.</a> E.g. <code>#[repr(packed(2))] struct Foo(i16, i32);</code> is a struct
with an alignment of 2 bytes and a size of 6 bytes.</li>
<li><a href="https://github.com/rust-lang/rust/pull/56303/">You can now import an item from a module as an <code>_</code>.</a> This allows you to
import a trait's impls, and not have the name in the namespace. E.g.<pre class="language-rust"><a-k>use</a-k> std<a-p>::</a-p>io<a-p>::</a-p><a-cr>Read</a-cr> <a-k>as</a-k> _<a-p>;</a-p>

<a-c>// Allowed as there is only one `Read` in the module.</a-c>
<a-k>pub</a-k> <a-k>trait</a-k> <a-t>Read</a-t> <a-p>{}</a-p></pre>
</li>
<li><a href="https://github.com/rust-lang/rust/pull/56805">You may now use <code>Rc</code>, <code>Arc</code>, and <code>Pin</code> as method receivers</a>.</li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/56351/">You can now set a linker flavor for <code>rustc</code> with the <code>-Clinker-flavor</code>
command line argument.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/56642/">The minimum required LLVM version has been bumped to 6.0.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/57615/">Added support for the PowerPC64 architecture on FreeBSD.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/57130/">The <code>x86_64-fortanix-unknown-sgx</code> target support has been upgraded to
tier 2 support.</a> Visit the <a href="https://forge.rust-lang.org/platform-support.html">platform support</a> page for
information on Rust's platform support.</li>
<li><a href="https://github.com/rust-lang/rust/pull/56947/">Added support for the <code>thumbv7neon-linux-androideabi</code> and
<code>thumbv7neon-unknown-linux-gnueabihf</code> targets.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/56769/">Added support for the <code>x86_64-unknown-uefi</code> target.</a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/57566/">The methods <code>overflowing_{add, sub, mul, shl, shr}</code> are now <code>const</code>
functions for all numeric types.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/57105">The methods <code>rotate_left</code>, <code>rotate_right</code>, and <code>wrapping_{add, sub, mul, shl, shr}</code>
are now <code>const</code> functions for all numeric types.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/57105">The methods <code>is_positive</code> and <code>is_negative</code> are now <code>const</code> functions for
all signed numeric types.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/57167/">The <code>get</code> method for all <code>NonZero</code> types is now <code>const</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/57234/">The methods <code>count_ones</code>, <code>count_zeros</code>, <code>leading_zeros</code>, <code>trailing_zeros</code>,
<code>swap_bytes</code>, <code>from_be</code>, <code>from_le</code>, <code>to_be</code>, <code>to_le</code> are now <code>const</code> for all
numeric types.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/57234/"><code>Ipv4Addr::new</code> is now a <code>const</code> function</a></li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/std/os/unix/fs/trait.FileExt.html#method.read_exact_at"><code>unix::FileExt::read_exact_at</code></a></li>
<li><a href="https://doc.rust-lang.org/std/os/unix/fs/trait.FileExt.html#method.write_all_at"><code>unix::FileExt::write_all_at</code></a></li>
<li><a href="https://doc.rust-lang.org/std/option/enum.Option.html#method.transpose"><code>Option::transpose</code></a></li>
<li><a href="https://doc.rust-lang.org/std/result/enum.Result.html#method.transpose"><code>Result::transpose</code></a></li>
<li><a href="https://doc.rust-lang.org/std/convert/fn.identity.html"><code>convert::identity</code></a></li>
<li><a href="https://doc.rust-lang.org/std/pin/struct.Pin.html"><code>pin::Pin</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/marker/trait.Unpin.html"><code>marker::Unpin</code></a></li>
<li><a href="https://doc.rust-lang.org/nightly/std/marker/struct.PhantomPinned.html"><code>marker::PhantomPinned</code></a></li>
<li><a href="https://doc.rust-lang.org/std/vec/struct.Vec.html#method.resize_with"><code>Vec::resize_with</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/struct.VecDeque.html#method.resize_with"><code>VecDeque::resize_with</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_millis"><code>Duration::as_millis</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_micros"><code>Duration::as_micros</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_nanos"><code>Duration::as_nanos</code></a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/6453/">You can now publish crates that require a feature flag to compile with
<code>cargo publish --features</code> or <code>cargo publish --all-features</code>.</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/6484/">Cargo should now rebuild a crate if a file was modified during the initial
build.</a></li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li>The methods <code>str::{trim_left, trim_right, trim_left_matches, trim_right_matches}</code>
are now deprecated in the standard library, and their usage will now produce a warning.
Please use the <code>str::{trim_start, trim_end, trim_start_matches, trim_end_matches}</code>
methods instead.</li>
<li>The <code>Error::cause</code> method has been deprecated in favor of <code>Error::source</code> which supports
downcasting.</li>
<li><a href="https://github.com/rust-lang/rust/pull/56243">Libtest no longer creates a new thread for each test when
<code>--test-threads=1</code>.  It also runs the tests in deterministic order</a></li>
</ul>
<h1>Version 1.32.0 (2019-01-17)</h1>
<h2>Language</h2>
<h4>2018 edition</h4>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/56245/">You can now use the <code>?</code> operator in macro definitions.</a> The <code>?</code>
operator allows you to specify zero or one repetitions similar to the <code>*</code> and
<code>+</code> operators.</li>
<li><a href="https://github.com/rust-lang/rust/pull/56759/">Module paths with no leading keyword like <code>super</code>, <code>self</code>, or <code>crate</code>, will
now always resolve to the item (<code>enum</code>, <code>struct</code>, etc.) available in the
module if present, before resolving to a external crate or an item the prelude.</a>
E.g.<pre class="language-rust"><a-k>enum</a-k> <a-t>Color</a-t> <a-p>{</a-p> <a-cr>Red</a-cr><a-p>,</a-p> <a-cr>Green</a-cr><a-p>,</a-p> <a-cr>Blue</a-cr> <a-p>}</a-p>

<a-k>use</a-k> <a-cr>Color</a-cr><a-p>::</a-p><a-o>*</a-o><a-p>;</a-p></pre>
</li>
</ul>
<h4>All editions</h4>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/55837/">You can now match against <code>PhantomData&lt;T&gt;</code> types.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/56072/">You can now match against literals in macros with the <code>literal</code>
specifier.</a> This will match against a literal of any type.
E.g. <code>1</code>, <code>'A'</code>, <code>"Hello World"</code></li>
<li><a href="https://github.com/rust-lang/rust/pull/56365/">Self can now be used as a constructor and pattern for unit and tuple structs.</a> E.g.<pre class="language-rust"><a-k>struct</a-k> <a-t>Point</a-t><a-p>(</a-p><a-t>i32</a-t><a-p>,</a-p> <a-t>i32</a-t><a-p>);</a-p>

<a-k>impl</a-k> <a-t>Point</a-t> <a-p>{</a-p>
    <a-k>pub</a-k> <a-k>fn</a-k> <a-f>new</a-f><a-p>(</a-p><a-v>x</a-v><a-p>:</a-p> <a-t>i32</a-t><a-p>,</a-p> <a-v>y</a-v><a-p>:</a-p> <a-t>i32</a-t><a-p>)</a-p> -&gt; <a-t>Self</a-t> <a-p>{</a-p>
        <a-f>Self</a-f><a-p>(</a-p>x<a-p>,</a-p> y<a-p>)</a-p>
    <a-p>}</a-p>

    <a-k>pub</a-k> <a-k>fn</a-k> <a-f>is_origin</a-f><a-p>(</a-p><a-o>&amp;</a-o><a-v>self</a-v><a-p>)</a-p> -&gt; <a-t>bool</a-t> <a-p>{</a-p>
        <a-k>match</a-k> <a-v>self</a-v> <a-p>{</a-p>
            <a-cr>Self</a-cr><a-p>(</a-p><a-co>0</a-co><a-p>,</a-p> <a-co>0</a-co><a-p>)</a-p> =&gt; <a-co>true</a-co><a-p>,</a-p>
            _ =&gt; <a-co>false</a-co><a-p>,</a-p>
        <a-p>}</a-p>
    <a-p>}</a-p>
<a-p>}</a-p></pre>
</li>
<li><a href="https://github.com/rust-lang/rust/pull/56366/">Self can also now be used in type definitions.</a> E.g.<pre class="language-rust"><a-k>enum</a-k> <a-t>List</a-t><a-p>&lt;</a-p><a-t>T</a-t><a-p>&gt;</a-p>
<a-k>where</a-k>
    <a-t>Self</a-t><a-p>:</a-p> <a-t>PartialOrd</a-t><a-p>&lt;</a-p><a-t>Self</a-t><a-p>&gt;</a-p> <a-c>// can write `Self` instead of `List&lt;T&gt;`</a-c>
<a-p>{</a-p>
    <a-cr>Nil</a-cr><a-p>,</a-p>
    <a-cr>Cons</a-cr><a-p>(</a-p><a-t>T</a-t><a-p>,</a-p> <a-t>Box</a-t><a-p>&lt;</a-p><a-t>Self</a-t><a-p>&gt;)</a-p> <a-c>// likewise here</a-c>
<a-p>}</a-p></pre>
</li>
<li><a href="https://github.com/rust-lang/rust/pull/55663/">You can now mark traits with <code>#[must_use]</code>.</a> This provides a warning if
a <code>impl Trait</code> or <code>dyn Trait</code> is returned and unused in the program.</li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/55238/">The default allocator has changed from jemalloc to the default allocator on
your system.</a> The compiler itself on Linux &amp; macOS will still use
jemalloc, but programs compiled with it will use the system allocator.</li>
<li><a href="https://github.com/rust-lang/rust/pull/55702/">Added the <code>aarch64-pc-windows-msvc</code> target.</a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/55148/"><code>PathBuf</code> now implements <code>FromStr</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/55843/"><code>Box&lt;[T]&gt;</code> now implements <code>FromIterator&lt;T&gt;</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/56395/">The <code>dbg!</code> macro has been stabilized.</a> This macro enables you to
easily debug expressions in your rust program. E.g.<pre class="language-rust"><a-k>let</a-k> a = <a-co>2</a-co><a-p>;</a-p>
<a-k>let</a-k> b = <a-m>dbg!</a-m><a-p>(</a-p>a <a-o>*</a-o> <a-co>2</a-co><a-p>)</a-p> + <a-co>1</a-co><a-p>;</a-p>
<a-c>//      ^-- prints: [src/main.rs:4] a * 2 = 4</a-c>
<a-m>assert_eq!</a-m><a-p>(</a-p>b<a-p>,</a-p> <a-co>5</a-co><a-p>);</a-p></pre>
</li>
</ul>
<p>The following APIs are now <code>const</code> functions and can be used in a
<code>const</code> context.</p>
<ul>
<li><a href="https://doc.rust-lang.org/std/cell/struct.Cell.html#method.as_ptr"><code>Cell::as_ptr</code></a></li>
<li><a href="https://doc.rust-lang.org/std/cell/struct.UnsafeCell.html#method.get"><code>UnsafeCell::get</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.char.html#method.is_ascii"><code>char::is_ascii</code></a></li>
<li><a href="https://doc.rust-lang.org/std/iter/fn.empty.html"><code>iter::empty</code></a></li>
<li><a href="https://doc.rust-lang.org/std/mem/struct.ManuallyDrop.html#method.new"><code>ManuallyDrop::new</code></a></li>
<li><a href="https://doc.rust-lang.org/std/mem/struct.ManuallyDrop.html#method.into_inner"><code>ManuallyDrop::into_inner</code></a></li>
<li><a href="https://doc.rust-lang.org/std/ops/struct.RangeInclusive.html#method.start"><code>RangeInclusive::start</code></a></li>
<li><a href="https://doc.rust-lang.org/std/ops/struct.RangeInclusive.html#method.end"><code>RangeInclusive::end</code></a></li>
<li><a href="https://doc.rust-lang.org/std/ptr/struct.NonNull.html#method.as_ptr"><code>NonNull::as_ptr</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.slice.html#method.as_ptr"><code>slice::as_ptr</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.str.html#method.as_ptr"><code>str::as_ptr</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_secs"><code>Duration::as_secs</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.subsec_millis"><code>Duration::subsec_millis</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.subsec_micros"><code>Duration::subsec_micros</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.subsec_nanos"><code>Duration::subsec_nanos</code></a></li>
<li><a href="https://doc.rust-lang.org/std/ffi/struct.CStr.html#method.as_ptr"><code>CStr::as_ptr</code></a></li>
<li><a href="https://doc.rust-lang.org/std/net/struct.Ipv4Addr.html#method.is_unspecified"><code>Ipv4Addr::is_unspecified</code></a></li>
<li><a href="https://doc.rust-lang.org/std/net/struct.Ipv6Addr.html#method.new"><code>Ipv6Addr::new</code></a></li>
<li><a href="https://doc.rust-lang.org/std/net/struct.Ipv6Addr.html#method.octets"><code>Ipv6Addr::octets</code></a></li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i8.html#method.to_be_bytes"><code>i8::to_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i8.html#method.to_le_bytes"><code>i8::to_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i8.html#method.to_ne_bytes"><code>i8::to_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i8.html#method.from_be_bytes"><code>i8::from_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i8.html#method.from_le_bytes"><code>i8::from_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i8.html#method.from_ne_bytes"><code>i8::from_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i16.html#method.to_be_bytes"><code>i16::to_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i16.html#method.to_le_bytes"><code>i16::to_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i16.html#method.to_ne_bytes"><code>i16::to_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i16.html#method.from_be_bytes"><code>i16::from_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i16.html#method.from_le_bytes"><code>i16::from_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i16.html#method.from_ne_bytes"><code>i16::from_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i32.html#method.to_be_bytes"><code>i32::to_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i32.html#method.to_le_bytes"><code>i32::to_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i32.html#method.to_ne_bytes"><code>i32::to_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i32.html#method.from_be_bytes"><code>i32::from_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i32.html#method.from_le_bytes"><code>i32::from_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i32.html#method.from_ne_bytes"><code>i32::from_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i64.html#method.to_be_bytes"><code>i64::to_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i64.html#method.to_le_bytes"><code>i64::to_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i64.html#method.to_ne_bytes"><code>i64::to_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i64.html#method.from_be_bytes"><code>i64::from_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i64.html#method.from_le_bytes"><code>i64::from_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i64.html#method.from_ne_bytes"><code>i64::from_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i128.html#method.to_be_bytes"><code>i128::to_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i128.html#method.to_le_bytes"><code>i128::to_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i128.html#method.to_ne_bytes"><code>i128::to_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i128.html#method.from_be_bytes"><code>i128::from_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i128.html#method.from_le_bytes"><code>i128::from_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.i128.html#method.from_ne_bytes"><code>i128::from_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.isize.html#method.to_be_bytes"><code>isize::to_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.isize.html#method.to_le_bytes"><code>isize::to_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.isize.html#method.to_ne_bytes"><code>isize::to_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.isize.html#method.from_be_bytes"><code>isize::from_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.isize.html#method.from_le_bytes"><code>isize::from_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.isize.html#method.from_ne_bytes"><code>isize::from_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u8.html#method.to_be_bytes"><code>u8::to_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u8.html#method.to_le_bytes"><code>u8::to_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u8.html#method.to_ne_bytes"><code>u8::to_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u8.html#method.from_be_bytes"><code>u8::from_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u8.html#method.from_le_bytes"><code>u8::from_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u8.html#method.from_ne_bytes"><code>u8::from_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u16.html#method.to_be_bytes"><code>u16::to_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u16.html#method.to_le_bytes"><code>u16::to_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u16.html#method.to_ne_bytes"><code>u16::to_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u16.html#method.from_be_bytes"><code>u16::from_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u16.html#method.from_le_bytes"><code>u16::from_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u16.html#method.from_ne_bytes"><code>u16::from_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u32.html#method.to_be_bytes"><code>u32::to_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u32.html#method.to_le_bytes"><code>u32::to_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u32.html#method.to_ne_bytes"><code>u32::to_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u32.html#method.from_be_bytes"><code>u32::from_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u32.html#method.from_le_bytes"><code>u32::from_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u32.html#method.from_ne_bytes"><code>u32::from_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u64.html#method.to_be_bytes"><code>u64::to_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u64.html#method.to_le_bytes"><code>u64::to_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u64.html#method.to_ne_bytes"><code>u64::to_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u64.html#method.from_be_bytes"><code>u64::from_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u64.html#method.from_le_bytes"><code>u64::from_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u64.html#method.from_ne_bytes"><code>u64::from_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u128.html#method.to_be_bytes"><code>u128::to_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u128.html#method.to_le_bytes"><code>u128::to_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u128.html#method.to_ne_bytes"><code>u128::to_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u128.html#method.from_be_bytes"><code>u128::from_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u128.html#method.from_le_bytes"><code>u128::from_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.u128.html#method.from_ne_bytes"><code>u128::from_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.usize.html#method.to_be_bytes"><code>usize::to_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.usize.html#method.to_le_bytes"><code>usize::to_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.usize.html#method.to_ne_bytes"><code>usize::to_ne_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.usize.html#method.from_be_bytes"><code>usize::from_be_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.usize.html#method.from_le_bytes"><code>usize::from_le_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/stable/std/primitive.usize.html#method.from_ne_bytes"><code>usize::from_ne_bytes</code></a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/6218/">You can now run <code>cargo c</code> as an alias for <code>cargo check</code>.</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/6242/">Usernames are now allowed in alt registry URLs.</a></li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/55280/"><code>libproc_macro</code> has been added to the <code>rust-src</code> distribution.</a></li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/55610/">The argument types for AVX's
<code>_mm256_stream_si256</code>, <code>_mm256_stream_pd</code>, <code>_mm256_stream_ps</code></a> have
been changed from <code>*const</code> to <code>*mut</code> as the previous implementation
was unsound.</li>
</ul>
<h1>Version 1.31.1 (2018-12-20)</h1>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/56562">Fix Rust failing to build on <code>powerpc-unknown-netbsd</code></a></li>
<li><a href="https://github.com/rust-lang/rls/issues/1171">Fix broken go-to-definition in RLS</a></li>
<li><a href="https://github.com/rust-lang/rls/pull/1170">Fix infinite loop on hover in RLS</a></li>
</ul>
<h1>Version 1.31.0 (2018-12-06)</h1>
<h2>Language</h2>
<ul>
<li>🎉 <a href="https://github.com/rust-lang/rust/pull/54057/">This version marks the release of the 2018 edition of Rust.</a> 🎉</li>
<li><a href="https://github.com/rust-lang/rust/pull/54778/">New lifetime elision rules now allow for eliding lifetimes in functions and
impl headers.</a> E.g. <code>impl&lt;'a&gt; Reader for BufReader&lt;'a&gt; {}</code> can now be
<code>impl Reader for BufReader&lt;'_&gt; {}</code>. Lifetimes are still required to be defined
in structs.</li>
<li><a href="https://github.com/rust-lang/rust/pull/54835/">You can now define and use <code>const</code> functions.</a> These are currently
a strict minimal subset of the <a href="https://github.com/rust-lang/rfcs/pull/911">const fn RFC</a>. Refer to the
<a href="https://doc.rust-lang.org/reference/items/functions.html#const-functions">language reference</a> for what exactly is available.</li>
<li><a href="https://github.com/rust-lang/rust/pull/54870/">You can now use tool lints, which allow you to scope lints from external
tools using attributes.</a> E.g. <code>#[allow(clippy::filter_map)]</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/54451/"><code>#[no_mangle]</code> and <code>#[export_name]</code> attributes can now be located anywhere in
a crate, not just in exported functions.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/54497/">You can now use parentheses in pattern matches.</a></li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/54430/">Updated musl to 1.1.20</a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/54240/">You can now convert <code>num::NonZero*</code> types to their raw equivalents using the
<code>From</code> trait.</a> E.g. <code>u8</code> now implements <code>From&lt;NonZeroU8&gt;</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/53218/">You can now convert a <code>&amp;Option&lt;T&gt;</code> into <code>Option&lt;&amp;T&gt;</code> and <code>&amp;mut Option&lt;T&gt;</code>
into <code>Option&lt;&amp;mut T&gt;</code> using the <code>From</code> trait.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/52813/">You can now multiply (<code>*</code>) a <code>time::Duration</code> by a <code>u32</code>.</a></li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/std/primitive.slice.html#method.align_to"><code>slice::align_to</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.slice.html#method.align_to_mut"><code>slice::align_to_mut</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.slice.html#method.chunks_exact"><code>slice::chunks_exact</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.slice.html#method.chunks_exact_mut"><code>slice::chunks_exact_mut</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.slice.html#method.rchunks"><code>slice::rchunks</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.slice.html#method.rchunks_mut"><code>slice::rchunks_mut</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.slice.html#method.rchunks_exact"><code>slice::rchunks_exact</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.slice.html#method.rchunks_mut"><code>slice::rchunks_exact_mut</code></a></li>
<li><a href="https://doc.rust-lang.org/std/option/enum.Option.html#method.replace"><code>Option::replace</code></a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/6005/">Cargo will now download crates in parallel using HTTP/2.</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/6319/">You can now rename packages in your Cargo.toml</a> We have a guide
on <a href="https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#renaming-dependencies-in-cargotoml">how to use the <code>package</code> key in your dependencies.</a></li>
</ul>
<h1>Version 1.30.1 (2018-11-08)</h1>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/54199">Fixed overflow ICE in rustdoc</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/6122">Cap Cargo progress bar width at 60 in MSYS terminals</a></li>
</ul>
<h1>Version 1.30.0 (2018-10-25)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/52081/">Procedural macros are now available.</a> These kinds of macros allow for
more powerful code generation. There is a <a href="https://doc.rust-lang.org/nightly/book/2018-edition/ch19-06-macros.html">new chapter available</a>
in the Rust Programming Language book that goes further in depth.</li>
<li><a href="https://github.com/rust-lang/rust/pull/53236/">You can now use keywords as identifiers using the raw identifiers
syntax (<code>r#</code>),</a> e.g. <code>let r#for = true;</code></li>
<li><a href="https://github.com/rust-lang/rust/pull/53272/">Using anonymous parameters in traits is now deprecated with a warning and
will be a hard error in the 2018 edition.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/54404/">You can now use <code>crate</code> in paths.</a> This allows you to refer to the
crate root in the path, e.g. <code>use crate::foo;</code> refers to <code>foo</code> in <code>src/lib.rs</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/54404/">Using a external crate no longer requires being prefixed with <code>::</code>.</a>
Previously, using a external crate in a module without a use statement
required <code>let json = ::serde_json::from_str(foo);</code> but can now be written
as <code>let json = serde_json::from_str(foo);</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/51363/">You can now apply the <code>#[used]</code> attribute to static items to prevent the
compiler from optimising them away, even if they appear to be unused,</a>
e.g. <code>#[used] static FOO: u32 = 1;</code></li>
<li><a href="https://github.com/rust-lang/rust/pull/50911/">You can now import and reexport macros from other crates with the <code>use</code>
syntax.</a> Macros exported with <code>#[macro_export]</code> are now placed into
the root module of the crate. If your macro relies on calling other local
macros, it is recommended to export with the
<code>#[macro_export(local_inner_macros)]</code> attribute so users won't have to import
those macros.</li>
<li><a href="https://github.com/rust-lang/rust/pull/53370/">You can now catch visibility keywords (e.g. <code>pub</code>, <code>pub(crate)</code>) in macros
using the <code>vis</code> specifier.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/53044/">Non-macro attributes now allow all forms of literals, not just
strings.</a> Previously, you would write <code>#[attr("true")]</code>, and you can now
write <code>#[attr(true)]</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/51366/">You can now specify a function to handle a panic in the Rust runtime with the
<code>#[panic_handler]</code> attribute.</a></li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/53822/">Added the <code>riscv32imc-unknown-none-elf</code> target.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/53165/">Added the <code>aarch64-unknown-netbsd</code> target</a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/53033/"><code>ManuallyDrop</code> now allows the inner type to be unsized.</a></li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li>
<p><a href="https://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#associatedconstant.BROADCAST"><code>Ipv4Addr::BROADCAST</code></a></p>
</li>
<li>
<p><a href="https://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#associatedconstant.LOCALHOST"><code>Ipv4Addr::LOCALHOST</code></a></p>
</li>
<li>
<p><a href="https://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#associatedconstant.UNSPECIFIED"><code>Ipv4Addr::UNSPECIFIED</code></a></p>
</li>
<li>
<p><a href="https://doc.rust-lang.org/nightly/std/net/struct.Ipv6Addr.html#associatedconstant.LOCALHOST"><code>Ipv6Addr::LOCALHOST</code></a></p>
</li>
<li>
<p><a href="https://doc.rust-lang.org/nightly/std/net/struct.Ipv6Addr.html#associatedconstant.UNSPECIFIED"><code>Ipv6Addr::UNSPECIFIED</code></a></p>
</li>
<li>
<p><a href="https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.find_map"><code>Iterator::find_map</code></a></p>
<p>The following methods are replacement methods for <code>trim_left</code>, <code>trim_right</code>,
<code>trim_left_matches</code>, and <code>trim_right_matches</code>, which will be deprecated
in 1.33.0:</p>
</li>
<li>
<p><a href="https://doc.rust-lang.org/nightly/std/primitive.str.html#method.trim_end_matches"><code>str::trim_end_matches</code></a></p>
</li>
<li>
<p><a href="https://doc.rust-lang.org/nightly/std/primitive.str.html#method.trim_end"><code>str::trim_end</code></a></p>
</li>
<li>
<p><a href="https://doc.rust-lang.org/nightly/std/primitive.str.html#method.trim_start_matches"><code>str::trim_start_matches</code></a></p>
</li>
<li>
<p><a href="https://doc.rust-lang.org/nightly/std/primitive.str.html#method.trim_start"><code>str::trim_start</code></a></p>
</li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/5877/"><code>cargo run</code> doesn't require specifying a package in workspaces.</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/5878/"><code>cargo doc</code> now supports <code>--message-format=json</code>.</a> This is
equivalent to calling <code>rustdoc --error-format=json</code>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/5995/">Cargo will now provide a progress bar for builds.</a></li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/54057/"><code>rustdoc</code> allows you to specify what edition to treat your code as with the
<code>--edition</code> option.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/53003/"><code>rustdoc</code> now has the <code>--color</code> (specify whether to output color) and
<code>--error-format</code> (specify error format, e.g. <code>json</code>) options.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/53774/">We now distribute a <code>rust-gdbgui</code> script that invokes <code>gdbgui</code> with Rust
debug symbols.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/53459/">Attributes from Rust tools such as <code>rustfmt</code> or <code>clippy</code> are now
available,</a> e.g. <code>#[rustfmt::skip]</code> will skip formatting the next item.</li>
</ul>
<h1>Version 1.29.2 (2018-10-11)</h1>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/54639">Workaround for an aliasing-related LLVM bug, which caused miscompilation.</a></li>
<li>The <code>rls-preview</code> component on the windows-gnu targets has been restored.</li>
</ul>
<h1>Version 1.29.1 (2018-09-25)</h1>
<h2>Security Notes</h2>
<ul>
<li>
<p>The standard library's <code>str::repeat</code> function contained an out of bounds write
caused by an integer overflow. This has been fixed by deterministically
panicking when an overflow happens.</p>
<p>Thank you to Scott McMurray for responsibly disclosing this vulnerability to
us.</p>
</li>
</ul>
<h1>Version 1.29.0 (2018-09-13)</h1>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/51899/">Bumped minimum LLVM version to 5.0.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/51619/">Added <code>powerpc64le-unknown-linux-musl</code> target.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/52861/">Added <code>aarch64-unknown-hermit</code> and <code>x86_64-unknown-hermit</code> targets.</a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/52239/"><code>Once::call_once</code> no longer requires <code>Once</code> to be <code>'static</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/52402/"><code>BuildHasherDefault</code> now implements <code>PartialEq</code> and <code>Eq</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/51912/"><code>Box&lt;CStr&gt;</code>, <code>Box&lt;OsStr&gt;</code>, and <code>Box&lt;Path&gt;</code> now implement <code>Clone</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/51178/">Implemented <code>PartialEq&lt;&amp;str&gt;</code> for <code>OsString</code> and <code>PartialEq&lt;OsString&gt;</code>
for <code>&amp;str</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/50494/"><code>Cell&lt;T&gt;</code> now allows <code>T</code> to be unsized.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/52656/"><code>SocketAddr</code> is now stable on Redox.</a></li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/std/sync/struct.Arc.html#method.downcast"><code>Arc::downcast</code></a></li>
<li><a href="https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.flatten"><code>Iterator::flatten</code></a></li>
<li><a href="https://doc.rust-lang.org/std/rc/struct.Rc.html#method.downcast"><code>Rc::downcast</code></a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/5831/">Cargo can silently fix some bad lockfiles.</a> You can use
<code>--locked</code> to disable this behavior.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/5614/"><code>cargo-install</code> will now allow you to cross compile an install
using <code>--target</code>.</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/5723/">Added the <code>cargo-fix</code> subcommand to automatically move project code from
2015 edition to 2018.</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/5543"><code>cargo doc</code> can now optionally document private types using the
<code>--document-private-items</code> flag.</a></li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/52354/"><code>rustdoc</code> now has the <code>--cap-lints</code> option which demotes all lints above
the specified level to that level.</a> For example <code>--cap-lints warn</code>
will demote <code>deny</code> and <code>forbid</code> lints to <code>warn</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/52197/"><code>rustc</code> and <code>rustdoc</code> will now have the exit code of <code>1</code> if compilation
fails and <code>101</code> if there is a panic.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/51122">A preview of clippy has been made available through rustup.</a>
You can install the preview with <code>rustup component add clippy-preview</code>.</li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/51807/"><code>str::{slice_unchecked, slice_unchecked_mut}</code> are now deprecated.</a>
Use <code>str::get_unchecked(begin..end)</code> instead.</li>
<li><a href="https://github.com/rust-lang/rust/pull/51656/"><code>std::env::home_dir</code> is now deprecated for its unintuitive behavior.</a>
Consider using the <code>home_dir</code> function from
https://crates.io/crates/dirs instead.</li>
<li><a href="https://github.com/rust-lang/rust/pull/52330/"><code>rustc</code> will no longer silently ignore invalid data in target spec.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/53893/"><code>cfg</code> attributes and <code>--cfg</code> command line flags are now more
strictly validated.</a></li>
</ul>
<h1>Version 1.28.0 (2018-08-02)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/51562/">The <code>#[repr(transparent)]</code> attribute is now stable.</a> This attribute
allows a Rust newtype wrapper (<code>struct NewType&lt;T&gt;(T);</code>) to be represented as
the inner type across Foreign Function Interface (FFI) boundaries.</li>
<li><a href="https://github.com/rust-lang/rust/pull/51196/">The keywords <code>pure</code>, <code>sizeof</code>, <code>alignof</code>, and <code>offsetof</code> have been unreserved
and can now be used as identifiers.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/51241/">The <code>GlobalAlloc</code> trait and <code>#[global_allocator]</code> attribute are now
stable.</a> This will allow users to specify a global allocator for
their program.</li>
<li><a href="https://github.com/rust-lang/rust/pull/51298/">Unit test functions marked with the <code>#[test]</code> attribute can now return
<code>Result&lt;(), E: Debug&gt;</code> in addition to <code>()</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/50385/">The <code>lifetime</code> specifier for <code>macro_rules!</code> is now stable.</a> This
allows macros to easily target lifetimes.</li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/50265/">The <code>s</code> and <code>z</code> optimisation levels are now stable.</a> These optimisations
prioritise making smaller binary sizes. <code>z</code> is the same as <code>s</code> with the
exception that it does not vectorise loops, which typically results in an even
smaller binary.</li>
<li><a href="https://github.com/rust-lang/rust/pull/49546/">The short error format is now stable.</a> Specified with
<code>--error-format=short</code> this option will provide a more compressed output of
rust error messages.</li>
<li><a href="https://github.com/rust-lang/rust/pull/50143/">Added a lint warning when you have duplicated <code>macro_export</code>s.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/50855/">Reduced the number of allocations in the macro parser.</a> This can
improve compile times of macro heavy crates on average by 5%.</li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/51306/">Implemented <code>Default</code> for <code>&amp;mut str</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/50554/">Implemented <code>From&lt;bool&gt;</code> for all integer and unsigned number types.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/50234/">Implemented <code>Extend</code> for <code>()</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/50364/">The <code>Debug</code> implementation of <code>time::Duration</code> should now be more easily
human readable.</a> Previously a <code>Duration</code> of one second would printed as
<code>Duration { secs: 1, nanos: 0 }</code> and will now be printed as <code>1s</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/50170/">Implemented <code>From&lt;&amp;String&gt;</code> for <code>Cow&lt;str&gt;</code>, <code>From&lt;&amp;Vec&lt;T&gt;&gt;</code> for <code>Cow&lt;[T]&gt;</code>,
<code>From&lt;Cow&lt;CStr&gt;&gt;</code> for <code>CString</code>, <code>From&lt;CString&gt;, From&lt;CStr&gt;, From&lt;&amp;CString&gt;</code>
for <code>Cow&lt;CStr&gt;</code>, <code>From&lt;OsString&gt;, From&lt;OsStr&gt;, From&lt;&amp;OsString&gt;</code> for
<code>Cow&lt;OsStr&gt;</code>, <code>From&lt;&amp;PathBuf&gt;</code> for <code>Cow&lt;Path&gt;</code>, and <code>From&lt;Cow&lt;Path&gt;&gt;</code>
for <code>PathBuf</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/50465/">Implemented <code>Shl</code> and <code>Shr</code> for <code>Wrapping&lt;u128&gt;</code>
and <code>Wrapping&lt;i128&gt;</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/51050/"><code>DirEntry::metadata</code> now uses <code>fstatat</code> instead of <code>lstat</code> when
possible.</a> This can provide up to a 40% speed increase.</li>
<li><a href="https://github.com/rust-lang/rust/pull/50610/">Improved error messages when using <code>format!</code>.</a></li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.step_by"><code>Iterator::step_by</code></a></li>
<li><a href="https://doc.rust-lang.org/std/path/struct.Path.html#method.ancestors"><code>Path::ancestors</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.SystemTime.html#associatedconstant.UNIX_EPOCH"><code>SystemTime::UNIX_EPOCH</code></a></li>
<li><a href="https://doc.rust-lang.org/std/alloc/trait.GlobalAlloc.html"><code>alloc::GlobalAlloc</code></a></li>
<li><a href="https://doc.rust-lang.org/std/alloc/struct.Layout.html"><code>alloc::Layout</code></a></li>
<li><a href="https://doc.rust-lang.org/std/alloc/struct.LayoutErr.html"><code>alloc::LayoutErr</code></a></li>
<li><a href="https://doc.rust-lang.org/std/alloc/struct.System.html"><code>alloc::System</code></a></li>
<li><a href="https://doc.rust-lang.org/std/alloc/fn.alloc.html"><code>alloc::alloc</code></a></li>
<li><a href="https://doc.rust-lang.org/std/alloc/fn.alloc_zeroed.html"><code>alloc::alloc_zeroed</code></a></li>
<li><a href="https://doc.rust-lang.org/std/alloc/fn.dealloc.html"><code>alloc::dealloc</code></a></li>
<li><a href="https://doc.rust-lang.org/std/alloc/fn.realloc.html"><code>alloc::realloc</code></a></li>
<li><a href="https://doc.rust-lang.org/std/alloc/fn.handle_alloc_error.html"><code>alloc::handle_alloc_error</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/btree_map/enum.Entry.html#method.or_default"><code>btree_map::Entry::or_default</code></a></li>
<li><a href="https://doc.rust-lang.org/std/fmt/enum.Alignment.html"><code>fmt::Alignment</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/hash_map/enum.Entry.html#method.or_default"><code>hash_map::Entry::or_default</code></a></li>
<li><a href="https://doc.rust-lang.org/std/iter/fn.repeat_with.html"><code>iter::repeat_with</code></a></li>
<li><a href="https://doc.rust-lang.org/std/num/struct.NonZeroUsize.html"><code>num::NonZeroUsize</code></a></li>
<li><a href="https://doc.rust-lang.org/std/num/struct.NonZeroU128.html"><code>num::NonZeroU128</code></a></li>
<li><a href="https://doc.rust-lang.org/std/num/struct.NonZeroU16.html"><code>num::NonZeroU16</code></a></li>
<li><a href="https://doc.rust-lang.org/std/num/struct.NonZeroU32.html"><code>num::NonZeroU32</code></a></li>
<li><a href="https://doc.rust-lang.org/std/num/struct.NonZeroU64.html"><code>num::NonZeroU64</code></a></li>
<li><a href="https://doc.rust-lang.org/std/num/struct.NonZeroU8.html"><code>num::NonZeroU8</code></a></li>
<li><a href="https://doc.rust-lang.org/std/ops/trait.RangeBounds.html"><code>ops::RangeBounds</code></a></li>
<li><a href="https://doc.rust-lang.org/std/slice/trait.SliceIndex.html"><code>slice::SliceIndex</code></a></li>
<li><a href="https://doc.rust-lang.org/std/slice/fn.from_mut.html"><code>slice::from_mut</code></a></li>
<li><a href="https://doc.rust-lang.org/std/slice/fn.from_ref.html"><code>slice::from_ref</code></a></li>
<li><a href="https://doc.rust-lang.org/std/any/trait.Any.html#method.downcast_mut-2"><code>{Any + Send + Sync}::downcast_mut</code></a></li>
<li><a href="https://doc.rust-lang.org/std/any/trait.Any.html#method.downcast_ref-2"><code>{Any + Send + Sync}::downcast_ref</code></a></li>
<li><a href="https://doc.rust-lang.org/std/any/trait.Any.html#method.is-2"><code>{Any + Send + Sync}::is</code></a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/5584/">Cargo will now no longer allow you to publish crates with build scripts that
modify the <code>src</code> directory.</a> The <code>src</code> directory in a crate should be
considered to be immutable.</li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/50486/">The <code>suggestion_applicability</code> field in <code>rustc</code>'s json output is now
stable.</a> This will allow dev tools to check whether a code suggestion
would apply to them.</li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/51276/">Rust will consider trait objects with duplicated constraints to be the same
type as without the duplicated constraint.</a> For example the below code will
now fail to compile.<pre class="language-rust"><a-k>trait</a-k> <a-t>Trait</a-t> <a-p>{}</a-p>

<a-k>impl</a-k> <a-t>Trait</a-t> + <a-t>Send</a-t> <a-p>{</a-p>
    <a-k>fn</a-k> <a-f>test</a-f><a-p>(</a-p><a-o>&amp;</a-o><a-v>self</a-v><a-p>)</a-p> <a-p>{</a-p> <a-m>println!</a-m><a-p>(</a-p><a-s>&quot;one&quot;</a-s><a-p>);</a-p> <a-p>}</a-p> <a-c>//~ ERROR duplicate definitions with name `test`</a-c>
<a-p>}</a-p>

<a-k>impl</a-k> <a-t>Trait</a-t> + <a-t>Send</a-t> + <a-t>Send</a-t> <a-p>{</a-p>
    <a-k>fn</a-k> <a-f>test</a-f><a-p>(</a-p><a-o>&amp;</a-o><a-v>self</a-v><a-p>)</a-p> <a-p>{</a-p> <a-m>println!</a-m><a-p>(</a-p><a-s>&quot;two&quot;</a-s><a-p>);</a-p> <a-p>}</a-p>
<a-p>}</a-p></pre>
</li>
</ul>
<h1>Version 1.27.2 (2018-07-20)</h1>
<h2>Compatibility Notes</h2>
<ul>
<li>The borrow checker was fixed to avoid potential unsoundness when using
match ergonomics: <a href="https://github.com/rust-lang/rust/issues/52213">#52213</a>.</li>
</ul>
<h1>Version 1.27.1 (2018-07-10)</h1>
<h2>Security Notes</h2>
<ul>
<li>
<p>rustdoc would execute plugins in the /tmp/rustdoc/plugins directory
when running, which enabled executing code as some other user on a
given machine. This release fixes that vulnerability; you can read
more about this on the <a href="https://blog.rust-lang.org/2018/07/06/security-advisory-for-rustdoc.html">blog</a>. The associated CVE is <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=%20CVE-2018-1000622">CVE-2018-1000622</a>.</p>
<p>Thank you to Red Hat for responsibly disclosing this vulnerability to us.</p>
</li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li>The borrow checker was fixed to avoid an additional potential unsoundness when using
match ergonomics: <a href="https://github.com/rust-lang/rust/issues/51415">#51415</a>, <a href="https://github.com/rust-lang/rust/issues/49534">#49534</a>.</li>
</ul>
<h1>Version 1.27.0 (2018-06-21)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/49699/">Removed 'proc' from the reserved keywords list.</a> This allows <code>proc</code> to
be used as an identifier.</li>
<li><a href="https://github.com/rust-lang/rust/pull/49968/">The dyn syntax is now available.</a> This syntax is equivalent to the
bare <code>Trait</code> syntax, and should make it clearer when being used in tandem with
<code>impl Trait</code> because it is equivalent to the following syntax:
<code>&amp;Trait == &amp;dyn Trait</code>, <code>&amp;mut Trait == &amp;mut dyn Trait</code>, and
<code>Box&lt;Trait&gt; == Box&lt;dyn Trait&gt;</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/48851/">Attributes on generic parameters such as types and lifetimes are
now stable.</a> e.g.
<code>fn foo&lt;#[lifetime_attr] 'a, #[type_attr] T: 'a&gt;() {}</code></li>
<li><a href="https://github.com/rust-lang/rust/pull/48925/">The <code>#[must_use]</code> attribute can now also be used on functions as well as
types.</a> It provides a lint that by default warns users when the
value returned by a function has not been used.</li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/50423/">Added the <code>armv5te-unknown-linux-musleabi</code> target.</a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/49664/">SIMD (Single Instruction Multiple Data) on x86/x86_64 is now stable.</a>
This includes <a href="https://doc.rust-lang.org/std/arch/x86/index.html"><code>arch::x86</code></a> &amp; <a href="https://doc.rust-lang.org/std/arch/x86_64/index.html"><code>arch::x86_64</code></a> modules which contain
SIMD intrinsics, a new macro called <code>is_x86_feature_detected!</code>, the
<code>#[target_feature(enable="")]</code> attribute, and adding <code>target_feature = ""</code> to
the <code>cfg</code> attribute.</li>
<li><a href="https://github.com/rust-lang/rust/pull/49896/">A lot of methods for <code>[u8]</code>, <code>f32</code>, and <code>f64</code> previously only available in
std are now available in core.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/49630/">The generic <code>Rhs</code> type parameter on <code>ops::{Shl, ShlAssign, Shr}</code> now defaults
to <code>Self</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/50177/"><code>std::str::replace</code> now has the <code>#[must_use]</code> attribute</a> to clarify
that the operation isn't done in place.</li>
<li><a href="https://github.com/rust-lang/rust/pull/49533/"><code>Clone::clone</code>, <code>Iterator::collect</code>, and <code>ToOwned::to_owned</code> now have
the <code>#[must_use]</code> attribute</a> to warn about unused potentially
expensive allocations.</li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/std/iter/trait.DoubleEndedIterator.html#method.rfind"><code>DoubleEndedIterator::rfind</code></a></li>
<li><a href="https://doc.rust-lang.org/std/iter/trait.DoubleEndedIterator.html#method.rfold"><code>DoubleEndedIterator::rfold</code></a></li>
<li><a href="https://doc.rust-lang.org/std/iter/trait.DoubleEndedIterator.html#method.try_rfold"><code>DoubleEndedIterator::try_rfold</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.from_micros"><code>Duration::from_micros</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.from_nanos"><code>Duration::from_nanos</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.subsec_micros"><code>Duration::subsec_micros</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.subsec_millis"><code>Duration::subsec_millis</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/struct.HashMap.html#method.remove_entry"><code>HashMap::remove_entry</code></a></li>
<li><a href="https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.try_fold"><code>Iterator::try_fold</code></a></li>
<li><a href="https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.try_for_each"><code>Iterator::try_for_each</code></a></li>
<li><a href="https://doc.rust-lang.org/std/ptr/struct.NonNull.html#method.cast"><code>NonNull::cast</code></a></li>
<li><a href="https://doc.rust-lang.org/std/option/enum.Option.html#method.filter"><code>Option::filter</code></a></li>
<li><a href="https://doc.rust-lang.org/std/string/struct.String.html#method.replace_range"><code>String::replace_range</code></a></li>
<li><a href="https://doc.rust-lang.org/std/io/struct.Take.html#method.set_limit"><code>Take::set_limit</code></a></li>
<li><a href="https://doc.rust-lang.org/std/hint/fn.unreachable_unchecked.html"><code>hint::unreachable_unchecked</code></a></li>
<li><a href="https://doc.rust-lang.org/std/os/unix/process/fn.parent_id.html"><code>os::unix::process::parent_id</code></a></li>
<li><a href="https://doc.rust-lang.org/std/ptr/fn.swap_nonoverlapping.html"><code>ptr::swap_nonoverlapping</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.slice.html#method.rsplit_mut"><code>slice::rsplit_mut</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.slice.html#method.rsplit"><code>slice::rsplit</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.slice.html#method.swap_with_slice"><code>slice::swap_with_slice</code></a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/5386/"><code>cargo-metadata</code> now includes <code>authors</code>, <code>categories</code>, <code>keywords</code>,
<code>readme</code>, and <code>repository</code> fields.</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/5360/"><code>cargo-metadata</code> now includes a package's <code>metadata</code> table.</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/5393/">Added the <code>--target-dir</code> optional argument.</a> This allows you to specify
a different directory than <code>target</code> for placing compilation artifacts.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/5335/">Cargo will be adding automatic target inference for binaries, benchmarks,
examples, and tests in the Rust 2018 edition.</a> If your project specifies
specific targets, e.g. using <code>[[bin]]</code>, and have other binaries in locations
where cargo would infer a binary, Cargo will produce a warning. You can
disable this feature ahead of time by setting any of the following to false:
<code>autobins</code>, <code>autobenches</code>, <code>autoexamples</code>, <code>autotests</code>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/5359/">Cargo will now cache compiler information.</a> This can be disabled by
setting <code>CARGO_CACHE_RUSTC_INFO=0</code> in your environment.</li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/49707/">Added “The Rustc book” into the official documentation.</a>
<a href="https://doc.rust-lang.org/rustc">“The Rustc book”</a> documents and teaches how to use the rustc compiler.</li>
<li><a href="https://github.com/rust-lang/rust/pull/49623/">All books available on <code>doc.rust-lang.org</code> are now searchable.</a></li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/49896/">Calling a <code>CharExt</code> or <code>StrExt</code> method directly on core will no longer
work.</a> e.g. <code>::core::prelude::v1::StrExt::is_empty("")</code> will not
compile, <code>"".is_empty()</code> will still compile.</li>
<li><a href="https://github.com/rust-lang/rust/pull/48553/"><code>Debug</code> output on <code>atomic::{AtomicBool, AtomicIsize, AtomicPtr, AtomicUsize}</code>
will only print the inner type.</a> E.g.
<code>print!("{:?}", AtomicBool::new(true))</code> will print <code>true</code>,
not <code>AtomicBool(true)</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/50378/">The maximum number for <code>repr(align(N))</code> is now 2²⁹.</a> Previously you
could enter higher numbers but they were not supported by LLVM. Up to 512MB
alignment should cover all use cases.</li>
<li>The <code>.description()</code> method on the <code>std::error::Error</code> trait
<a href="https://github.com/rust-lang/rust/pull/50163">has been soft-deprecated</a>. It is no longer required to implement it.</li>
</ul>
<h1>Version 1.26.2 (2018-06-05)</h1>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/issues/51117">The borrow checker was fixed to avoid unsoundness when using match ergonomics.</a></li>
</ul>
<h1>Version 1.26.1 (2018-05-29)</h1>
<h2>Tools</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/issues/50646">RLS now works on Windows.</a></li>
<li><a href="https://github.com/rust-lang-nursery/rustfmt/issues/2695">Rustfmt stopped badly formatting text in some cases.</a></li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/50656"><code>fn main() -&gt; impl Trait</code> no longer works for non-Termination
trait.</a>
This reverts an accidental stabilization.</li>
<li><a href="https://github.com/rust-lang/rust/pull/50812"><code>NaN &gt; NaN</code> no longer returns true in const-fn contexts.</a></li>
<li><a href="https://github.com/rust-lang/rust/issues/50950">Prohibit using turbofish for <code>impl Trait</code> in method arguments.</a></li>
</ul>
<h1>Version 1.26.0 (2018-05-10)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/49299">Closures now implement <code>Copy</code> and/or <code>Clone</code> if all captured variables
implement either or both traits.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/47813">The inclusive range syntax e.g. <code>for x in 0..=10</code> is now stable.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/49458">The <code>'_</code> lifetime is now stable. The underscore lifetime can be used anywhere a
lifetime can be elided.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/49255"><code>impl Trait</code> is now stable allowing you to have abstract types in returns
or in function parameters.</a> E.g. <code>fn foo() -&gt; impl Iterator&lt;Item=u8&gt;</code> or
<code>fn open(path: impl AsRef&lt;Path&gt;)</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/49394">Pattern matching will now automatically apply dereferences.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/49101">128-bit integers in the form of <code>u128</code> and <code>i128</code> are now stable.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/49162"><code>main</code> can now return <code>Result&lt;(), E: Debug&gt;</code></a> in addition to <code>()</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/46882">A lot of operations are now available in a const context.</a> E.g. You
can now index into constant arrays, reference and dereference into constants,
and use tuple struct constructors.</li>
<li><a href="https://github.com/rust-lang/rust/pull/48516">Fixed entry slice patterns are now stable.</a> E.g.<pre class="language-rust"><a-k>let</a-k> points = <a-p>[</a-p><a-co>1</a-co><a-p>,</a-p> <a-co>2</a-co><a-p>,</a-p> <a-co>3</a-co><a-p>,</a-p> <a-co>4</a-co><a-p>];</a-p>
<a-k>match</a-k> points <a-p>{</a-p>
    <a-p>[</a-p><a-co>1</a-co><a-p>,</a-p> <a-co>2</a-co><a-p>,</a-p> <a-co>3</a-co><a-p>,</a-p> <a-co>4</a-co><a-p>]</a-p> =&gt; <a-m>println!</a-m><a-p>(</a-p><a-s>&quot;All points were sequential.&quot;</a-s><a-p>),</a-p>
    _ =&gt; <a-m>println!</a-m><a-p>(</a-p><a-s>&quot;Not all points were sequential.&quot;</a-s><a-p>),</a-p>
<a-p>}</a-p></pre>
</li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/48125">LLD is now used as the default linker for <code>wasm32-unknown-unknown</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/48296">Fixed exponential projection complexity on nested types.</a>
This can provide up to a ~12% reduction in compile times for certain crates.</li>
<li><a href="https://github.com/rust-lang/rust/pull/48359">Added the <code>--remap-path-prefix</code> option to rustc.</a> Allowing you
to remap path prefixes outputted by the compiler.</li>
<li><a href="https://github.com/rust-lang/rust/pull/48281">Added <code>powerpc-unknown-netbsd</code> target.</a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/49305">Implemented <code>From&lt;u16&gt; for usize</code> &amp; <code>From&lt;{u8, i16}&gt; for isize</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/48978">Added hexadecimal formatting for integers with fmt::Debug</a>
e.g. <code>assert!(format!("{:02x?}", b"Foo\0") == "[46, 6f, 6f, 00]")</code></li>
<li><a href="https://github.com/rust-lang/rust/pull/48628">Implemented <code>Default, Hash</code> for <code>cmp::Reverse</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/48657">Optimized <code>str::repeat</code> being 8x faster in large cases.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/48735"><code>ascii::escape_default</code> is now available in libcore.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/48056">Trailing commas are now supported in std and core macros.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/47379">Implemented <code>Copy, Clone</code> for <code>cmp::Reverse</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/48629">Implemented <code>Clone</code> for <code>char::{ToLowercase, ToUppercase}</code>.</a></li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.add"><code>*const T::add</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.copy_to_nonoverlapping"><code>*const T::copy_to_nonoverlapping</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.copy_to"><code>*const T::copy_to</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.read_unaligned"><code>*const T::read_unaligned</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.read_volatile"><code>*const T::read_volatile</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.read"><code>*const T::read</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.sub"><code>*const T::sub</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.wrapping_add"><code>*const T::wrapping_add</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.wrapping_sub"><code>*const T::wrapping_sub</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.add-1"><code>*mut T::add</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.copy_to_nonoverlapping-1"><code>*mut T::copy_to_nonoverlapping</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.copy_to-1"><code>*mut T::copy_to</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.read_unaligned-1"><code>*mut T::read_unaligned</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.read_volatile-1"><code>*mut T::read_volatile</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.read-1"><code>*mut T::read</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.replace"><code>*mut T::replace</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.sub-1"><code>*mut T::sub</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.swap"><code>*mut T::swap</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.wrapping_add-1"><code>*mut T::wrapping_add</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.wrapping_sub-1"><code>*mut T::wrapping_sub</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.write_bytes"><code>*mut T::write_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.write_unaligned"><code>*mut T::write_unaligned</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.write_volatile"><code>*mut T::write_volatile</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.write"><code>*mut T::write</code></a></li>
<li><a href="https://doc.rust-lang.org/std/boxed/struct.Box.html#method.leak"><code>Box::leak</code></a></li>
<li><a href="https://doc.rust-lang.org/std/string/struct.FromUtf8Error.html#method.as_bytes"><code>FromUtf8Error::as_bytes</code></a></li>
<li><a href="https://doc.rust-lang.org/std/thread/struct.LocalKey.html#method.try_with"><code>LocalKey::try_with</code></a></li>
<li><a href="https://doc.rust-lang.org/std/option/enum.Option.html#method.cloned"><code>Option::cloned</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/btree_map/enum.Entry.html#method.and_modify"><code>btree_map::Entry::and_modify</code></a></li>
<li><a href="https://doc.rust-lang.org/std/fs/fn.read_to_string.html"><code>fs::read_to_string</code></a></li>
<li><a href="https://doc.rust-lang.org/std/fs/fn.read.html"><code>fs::read</code></a></li>
<li><a href="https://doc.rust-lang.org/std/fs/fn.write.html"><code>fs::write</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/hash_map/enum.Entry.html#method.and_modify"><code>hash_map::Entry::and_modify</code></a></li>
<li><a href="https://doc.rust-lang.org/std/iter/trait.FusedIterator.html"><code>iter::FusedIterator</code></a></li>
<li><a href="https://doc.rust-lang.org/std/ops/struct.RangeInclusive.html"><code>ops::RangeInclusive</code></a></li>
<li><a href="https://doc.rust-lang.org/std/ops/struct.RangeToInclusive.html"><code>ops::RangeToInclusive</code></a></li>
<li><a href="https://doc.rust-lang.org/std/process/fn.id.html"><code>process::id</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.slice.html#method.rotate_left"><code>slice::rotate_left</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.slice.html#method.rotate_right"><code>slice::rotate_right</code></a></li>
<li><a href="https://doc.rust-lang.org/std/string/struct.String.html#method.retain"><code>String::retain</code></a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/5041">Cargo will now output path to custom commands when <code>-v</code> is
passed with <code>--list</code></a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/5083">The Cargo binary version is now the same as the Rust version</a></li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/48404">The second edition of "The Rust Programming Language" book is now recommended
over the first.</a></li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/48481">aliasing a <code>Fn</code> trait as <code>dyn</code> no longer works.</a> E.g. the following
syntax is now invalid.<pre>use std::ops::Fn as dyn;
fn g(_: Box&lt;dyn(std::fmt::Debug)&gt;) {}
</pre>
</li>
<li><a href="https://github.com/rust-lang/rust/pull/47408">The result of dereferences are no longer promoted to <code>'static</code>.</a>
e.g.<pre class="language-rust"><a-k>fn</a-k> <a-f>main</a-f><a-p>()</a-p> <a-p>{</a-p>
    <a-k>const</a-k> <a-cr>PAIR</a-cr><a-p>:</a-p> <a-o>&amp;</a-o><a-p>(</a-p><a-t>i32</a-t><a-p>,</a-p> <a-t>i32</a-t><a-p>)</a-p> = <a-o>&amp;</a-o><a-p>(</a-p><a-co>0</a-co><a-p>,</a-p> <a-co>1</a-co><a-p>);</a-p>
    <a-k>let</a-k> _reversed_pair<a-p>:</a-p> <a-o>&amp;&#39;</a-o><a-l>static</a-l> <a-t>_</a-t> = <a-o>&amp;</a-o><a-p>(</a-p><a-cr>PAIR</a-cr><a-p>.</a-p><a-co>1</a-co><a-p>,</a-p> <a-cr>PAIR</a-cr><a-p>.</a-p><a-co>0</a-co><a-p>);</a-p> <a-c>// Doesn&#39;t work</a-c>
<a-p>}</a-p></pre>
</li>
<li><a href="https://github.com/rust-lang/rust/pull/49109">Deprecate <code>AsciiExt</code> trait in favor of inherent methods.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/48235"><code>".e0"</code> will now no longer parse as <code>0.0</code> and will instead cause
an error.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/48274">Removed hoedown from rustdoc.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/48326">Bounds on higher-kinded lifetimes a hard error.</a></li>
</ul>
<h1>Version 1.25.0 (2018-03-29)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/47006">The <code>#[repr(align(x))]</code> attribute is now stable.</a> <a href="https://github.com/rust-lang/rfcs/pull/1358">RFC 1358</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/47948">You can now use nested groups of imports.</a>
e.g. <code>use std::{fs::File, io::Read, path::{Path, PathBuf}};</code></li>
<li><a href="https://github.com/rust-lang/rust/pull/47947">You can now have <code>|</code> at the start of a match arm.</a> e.g.</li>
</ul>
<pre class="language-rust"><a-k>enum</a-k> <a-t>Foo</a-t> <a-p>{</a-p> <a-cr>A</a-cr><a-p>,</a-p> <a-cr>B</a-cr><a-p>,</a-p> <a-cr>C</a-cr> <a-p>}</a-p>

<a-k>fn</a-k> <a-f>main</a-f><a-p>()</a-p> <a-p>{</a-p>
    <a-k>let</a-k> x = <a-t>Foo</a-t><a-p>::</a-p><a-cr>A</a-cr><a-p>;</a-p>
    <a-k>match</a-k> x <a-p>{</a-p>
        | <a-t>Foo</a-t><a-p>::</a-p><a-cr>A</a-cr>
        | <a-t>Foo</a-t><a-p>::</a-p><a-cr>B</a-cr> =&gt; <a-m>println!</a-m><a-p>(</a-p><a-s>&quot;AB&quot;</a-s><a-p>),</a-p>
        | <a-t>Foo</a-t><a-p>::</a-p><a-cr>C</a-cr> =&gt; <a-m>println!</a-m><a-p>(</a-p><a-s>&quot;C&quot;</a-s><a-p>),</a-p>
    <a-p>}</a-p>
<a-p>}</a-p></pre>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/47828">Upgraded to LLVM 6.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/47521">Added <code>-C lto=val</code> option.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/47282">Added <code>i586-unknown-linux-musl</code> target</a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/47760">Impl Send for <code>process::Command</code> on Unix.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/47790">Impl PartialEq and Eq for <code>ParseCharError</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/47204"><code>UnsafeCell::into_inner</code> is now safe.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/47268">Implement libstd for CloudABI.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46931"><code>Float::{from_bits, to_bits}</code> is now available in libcore.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46985">Implement <code>AsRef&lt;Path&gt;</code> for Component</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46830">Implemented <code>Write</code> for <code>Cursor&lt;&amp;mut Vec&lt;u8&gt;&gt;</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46666">Moved <code>Duration</code> to libcore.</a></li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/std/panic/struct.Location.html#method.column"><code>Location::column</code></a></li>
<li><a href="https://doc.rust-lang.org/std/ptr/struct.NonNull.html"><code>ptr::NonNull</code></a></li>
</ul>
<p>The following functions can now be used in a constant expression.
eg. <code>static MINUTE: Duration = Duration::from_secs(60);</code></p>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/47300"><code>Duration::new</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/47300"><code>Duration::from_secs</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/47300"><code>Duration::from_millis</code></a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/5013"><code>cargo new</code> no longer removes <code>rust</code> or <code>rs</code> prefixs/suffixs.</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/5029"><code>cargo new</code> now defaults to creating a binary crate, instead of a
library crate.</a></li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/46196">Rust by example is now shipped with new releases</a></li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/47510">Deprecated <code>net::lookup_host</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/47398"><code>rustdoc</code> has switched to pulldown as the default markdown renderer.</a></li>
<li>The borrow checker was sometimes incorrectly permitting overlapping borrows
around indexing operations (see <a href="https://github.com/rust-lang/rust/pull/47349">#47349</a>). This has been fixed (which also
enabled some correct code that used to cause errors (e.g. <a href="https://github.com/rust-lang/rust/pull/33903">#33903</a> and <a href="https://github.com/rust-lang/rust/pull/46095">#46095</a>).</li>
<li><a href="https://github.com/rust-lang/rust/pull/47251">Removed deprecated unstable attribute <code>#[simd]</code>.</a></li>
</ul>
<h1>Version 1.24.1 (2018-03-01)</h1>
<ul>
<li><a href="https://github.com/rust-lang/rust/issues/48251">Do not abort when unwinding through FFI</a></li>
<li><a href="https://github.com/rust-lang/rust/issues/48318">Emit UTF-16 files for linker arguments on Windows</a></li>
<li><a href="https://github.com/rust-lang/rust/issues/48308">Make the error index generator work again</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/5069">Cargo will warn on Windows 7 if an update is needed</a>.</li>
</ul>
<h1>Version 1.24.0 (2018-02-15)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/46528">External <code>sysv64</code> ffi is now available.</a>
eg. <code>extern "sysv64" fn foo () {}</code></li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/46910">rustc now uses 16 codegen units by default for release builds.</a>
For the fastest builds, utilize <code>codegen-units=1</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/47018">Added <code>armv4t-unknown-linux-gnueabi</code> target.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46760">Add <code>aarch64-unknown-openbsd</code> support</a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/46735"><code>str::find::&lt;char&gt;</code> now uses memchr.</a> This should lead to a 10x
improvement in performance in the majority of cases.</li>
<li><a href="https://github.com/rust-lang/rust/pull/46798"><code>OsStr</code>'s <code>Debug</code> implementation is now lossless and consistent
with Windows.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46828"><code>time::{SystemTime, Instant}</code> now implement <code>Hash</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46293">impl <code>From&lt;bool&gt;</code> for <code>AtomicBool</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/45990">impl <code>From&lt;{CString, &amp;CStr}&gt;</code> for <code>{Arc&lt;CStr&gt;, Rc&lt;CStr&gt;}</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/45990">impl <code>From&lt;{OsString, &amp;OsStr}&gt;</code> for <code>{Arc&lt;OsStr&gt;, Rc&lt;OsStr&gt;}</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/45990">impl <code>From&lt;{PathBuf, &amp;Path}&gt;</code> for <code>{Arc&lt;Path&gt;, Rc&lt;Path&gt;}</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46012">float::from_bits now just uses transmute.</a> This provides
some optimisations from LLVM.</li>
<li><a href="https://github.com/rust-lang/rust/pull/46077">Copied <code>AsciiExt</code> methods onto <code>char</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46094">Remove <code>T: Sized</code> requirement on <code>ptr::is_null()</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/45506">impl <code>From&lt;RecvError&gt;</code> for <code>{TryRecvError, RecvTimeoutError}</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/47080">Optimised <code>f32::{min, max}</code> to generate more efficient x86 assembly</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46713"><code>[u8]::contains</code> now uses memchr which provides a 3x speed improvement</a></li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.replace"><code>RefCell::replace</code></a></li>
<li><a href="https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.swap"><code>RefCell::swap</code></a></li>
<li><a href="https://doc.rust-lang.org/std/sync/atomic/fn.spin_loop_hint.html"><code>atomic::spin_loop_hint</code></a></li>
</ul>
<p>The following functions can now be used in a constant expression.
eg. <code>let buffer: [u8; size_of::&lt;usize&gt;()];</code>, <code>static COUNTER: AtomicUsize = AtomicUsize::new(1);</code></p>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/46287"><code>AtomicBool::new</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46287"><code>AtomicUsize::new</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46287"><code>AtomicIsize::new</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46287"><code>AtomicPtr::new</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46287"><code>Cell::new</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46287"><code>{integer}::min_value</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46287"><code>{integer}::max_value</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46287"><code>mem::size_of</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46287"><code>mem::align_of</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46287"><code>ptr::null</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46287"><code>ptr::null_mut</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46287"><code>RefCell::new</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46287"><code>UnsafeCell::new</code></a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/4743">Added a <code>workspace.default-members</code> config that
overrides implied <code>--all</code> in virtual workspaces.</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/4817">Enable incremental by default on development builds.</a> Also added
configuration keys to <code>Cargo.toml</code> and <code>.cargo/config</code> to disable on a
per-project or global basis respectively.</li>
</ul>
<h2>Misc</h2>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/46831">Floating point types <code>Debug</code> impl now always prints a decimal point.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46671"><code>Ipv6Addr</code> now rejects superfluous <code>::</code>'s in IPv6 addresses</a> This is
in accordance with IETF RFC 4291 §2.2.</li>
<li><a href="https://github.com/rust-lang/rust/pull/46833">Unwinding will no longer go past FFI boundaries, and will instead abort.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46284"><code>Formatter::flags</code> method is now deprecated.</a> The <code>sign_plus</code>,
<code>sign_minus</code>, <code>alternate</code>, and <code>sign_aware_zero_pad</code> should be used instead.</li>
<li><a href="https://github.com/rust-lang/rust/pull/47084">Leading zeros in tuple struct members is now an error</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/46977"><code>column!()</code> macro is one-based instead of zero-based</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/45198"><code>fmt::Arguments</code> can no longer be shared across threads</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/44884">Access to <code>#[repr(packed)]</code> struct fields is now unsafe</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/4788">Cargo sets a different working directory for the compiler</a></li>
</ul>
<h1>Version 1.23.0 (2018-01-04)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/45772">Arbitrary <code>auto</code> traits are now permitted in trait objects.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/45435">rustc now uses subtyping on the left hand side of binary operations.</a>
Which should fix some confusing errors in some operations.</li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/45920">Enabled <code>TrapUnreachable</code> in LLVM which should mitigate the impact of
undefined behavior.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/45660">rustc now suggests renaming import if names clash.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/45711">Display errors/warnings correctly when there are zero-width or
wide characters.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/45380">rustc now avoids unnecessary copies of arguments that are
simple bindings</a> This should improve memory usage on average by 5-10%.</li>
<li><a href="https://github.com/rust-lang/rust/pull/45393">Updated musl used to build musl rustc to 1.1.17</a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/45887">Allow a trailing comma in <code>assert_eq/ne</code> macro</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/45483">Implement Hash for raw pointers to unsized types</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/45610">impl <code>From&lt;*mut T&gt;</code> for <code>AtomicPtr&lt;T&gt;</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/45610">impl <code>From&lt;usize/isize&gt;</code> for <code>AtomicUsize/AtomicIsize</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/45267">Removed the <code>T: Sync</code> requirement for <code>RwLock&lt;T&gt;: Send</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/44932">Removed <code>T: Sized</code> requirement for <code>{&lt;*const T&gt;, &lt;*mut T&gt;}::as_ref</code>
and <code>&lt;*mut T&gt;::as_mut</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/45524">Optimized <code>Thread::{park, unpark}</code> implementation</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/45333">Improved <code>SliceExt::binary_search</code> performance.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/45379">impl <code>FromIterator&lt;()&gt;</code> for <code>()</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/44042">Copied <code>AsciiExt</code> trait methods to primitive types.</a> Use of <code>AsciiExt</code>
is now deprecated.</li>
</ul>
<h2>Stabilized APIs</h2>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/4561">Cargo now supports uninstallation of multiple packages</a>
eg. <code>cargo uninstall foo bar</code> uninstalls <code>foo</code> and <code>bar</code>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/4592">Added unit test checking to <code>cargo check</code></a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/4637">Cargo now lets you install a specific version
using <code>cargo install --version</code></a></li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/45692">Releases now ship with the Cargo book documentation.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/45324">rustdoc now prints rendering warnings on every run.</a></li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/45853">Changes have been made to type equality to make it more correct,
in rare cases this could break some code.</a> <a href="https://github.com/rust-lang/rust/issues/45852">Tracking issue for
further information</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/45571"><code>char::escape_debug</code> now uses Unicode 10 over 9.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/45580">Upgraded Android SDK to 27, and NDK to r15c.</a> This drops support for
Android 9, the minimum supported version is Android 14.</li>
<li><a href="https://github.com/rust-lang/rust/pull/45326">Bumped the minimum LLVM to 3.9</a></li>
</ul>
<h1>Version 1.22.1 (2017-11-22)</h1>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/46183">Update Cargo to fix an issue with macOS 10.13 "High Sierra"</a></li>
</ul>
<h1>Version 1.22.0 (2017-11-22)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/44966"><code>non_snake_case</code> lint now allows extern no-mangle functions</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/43716">Now accepts underscores in unicode escapes</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/44287"><code>T op= &amp;T</code> now works for numeric types.</a> eg. <code>let mut x = 2; x += &amp;8;</code></li>
<li><a href="https://github.com/rust-lang/rust/pull/44456">types that impl <code>Drop</code> are now allowed in <code>const</code> and <code>static</code> types</a></li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/45064">rustc now defaults to having 16 codegen units at debug on supported platforms.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/45075">rustc will no longer inline in codegen units when compiling for debug</a>
This should decrease compile times for debug builds.</li>
<li><a href="https://github.com/rust-lang/rust/pull/45094">strict memory alignment now enabled on ARMv6</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/45041">Remove support for the PNaCl target <code>le32-unknown-nacl</code></a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/44978">Allow atomic operations up to 32 bits
on <code>armv5te_unknown_linux_gnueabi</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/44466"><code>Box&lt;Error&gt;</code> now impls <code>From&lt;Cow&lt;str&gt;&gt;</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/45095"><code>std::mem::Discriminant</code> is now guaranteed to be <code>Send + Sync</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/44895"><code>fs::copy</code> now returns the length of the main stream on NTFS.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/44220">Properly detect overflow in <code>Instant += Duration</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/44015">impl <code>Hasher</code> for <code>{&amp;mut Hasher, Box&lt;Hasher&gt;}</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/44303">impl <code>fmt::Debug</code> for <code>SplitWhitespace</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/42526"><code>Option&lt;T&gt;</code> now impls <code>Try</code></a> This allows for using <code>?</code> with <code>Option</code> types.</li>
</ul>
<h2>Stabilized APIs</h2>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/4496">Cargo will now build multi file examples in subdirectories of the <code>examples</code>
folder that have a <code>main.rs</code> file.</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/4571">Changed <code>[root]</code> to <code>[package]</code> in <code>Cargo.lock</code></a> Packages with
the old format will continue to work and can be updated with <code>cargo update</code>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/3992">Now supports vendoring git repositories</a></li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/44251"><code>libbacktrace</code> is now available on Apple platforms.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/43949">Stabilised the <code>compile_fail</code> attribute for code fences in doc-comments.</a>
This now lets you specify that a given code example will fail to compile.</li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/45656">The minimum Android version that rustc can build for has been bumped
to <code>4.0</code> from <code>2.3</code></a></li>
<li><a href="https://github.com/rust-lang/rust/issues/45480">Allowing <code>T op= &amp;T</code> for numeric types has broken some type
inference cases</a></li>
</ul>
<h1>Version 1.21.0 (2017-10-12)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/43838">You can now use static references for literals.</a>
Example:<pre class="language-rust"><a-k>fn</a-k> <a-f>main</a-f><a-p>()</a-p> <a-p>{</a-p>
    <a-k>let</a-k> x<a-p>:</a-p> <a-o>&amp;&#39;</a-o><a-l>static</a-l> <a-t>u32</a-t> = <a-o>&amp;</a-o><a-co>0</a-co><a-p>;</a-p>
<a-p>}</a-p></pre>
</li>
<li><a href="https://github.com/rust-lang/rust/pull/43540">Relaxed path syntax. Optional <code>::</code> before <code>&lt;</code> is now allowed in all contexts.</a>
Example:<pre class="language-rust"><a-m>my_macro!</a-m><a-p>(</a-p><a-cr>Vec</a-cr>&lt;<a-t>i32</a-t>&gt;<a-p>::</a-p>new<a-p>);</a-p> <a-c>// Always worked</a-c>
<a-m>my_macro!</a-m><a-p>(</a-p><a-cr>Vec</a-cr><a-p>::&lt;</a-p><a-t>i32</a-t><a-p>&gt;::</a-p>new<a-p>);</a-p> <a-c>// Now works</a-c></pre>
</li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/43911">Upgraded jemalloc to 4.5.0</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/43917">Enabled unwinding panics on Redox</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/43506">Now runs LLVM in parallel during translation phase.</a>
This should reduce peak memory usage.</li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/43690">Generate builtin impls for <code>Clone</code> for all arrays and tuples that
are <code>T: Clone</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/43459"><code>Stdin</code>, <code>Stdout</code>, and <code>Stderr</code> now implement <code>AsRawFd</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/42565"><code>Rc</code> and <code>Arc</code> now implement <code>From&lt;&amp;[T]&gt; where T: Clone</code>, <code>From&lt;str&gt;</code>,
<code>From&lt;String&gt;</code>, <code>From&lt;Box&lt;T&gt;&gt; where T: ?Sized</code>, and <code>From&lt;Vec&lt;T&gt;&gt;</code>.</a></li>
</ul>
<h2>Stabilized APIs</h2>
<p><a href="https://doc.rust-lang.org/std/mem/fn.discriminant.html"><code>std::mem::discriminant</code></a></p>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/4216">You can now call <code>cargo install</code> with multiple package names</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/4335">Cargo commands inside a virtual workspace will now implicitly
pass <code>--all</code></a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/4123">Added a <code>[patch]</code> section to <code>Cargo.toml</code> to handle
prepublication dependencies</a> <a href="https://github.com/rust-lang/rfcs/pull/1969">RFC 1969</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/4270"><code>include</code> &amp; <code>exclude</code> fields in <code>Cargo.toml</code> now accept gitignore
like patterns</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/4400">Added the <code>--all-targets</code> option</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/4364">Using required dependencies as a feature is now deprecated and emits
a warning</a></li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/43916">Cargo docs are moving</a>
to <a href="https://doc.rust-lang.org/cargo">doc.rust-lang.org/cargo</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/43863">The rustdoc book is now available</a>
at <a href="https://doc.rust-lang.org/rustdoc">doc.rust-lang.org/rustdoc</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/44204">Added a preview of RLS has been made available through rustup</a>
Install with <code>rustup component add rls-preview</code></li>
<li><a href="https://github.com/rust-lang/rust/pull/43348"><code>std::os</code> documentation for Unix, Linux, and Windows now appears on doc.rust-lang.org</a>
Previously only showed <code>std::os::unix</code>.</li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/43880">Changes in method matching against higher-ranked types</a> This may cause
breakage in subtyping corner cases. <a href="https://github.com/rust-lang/rust/issues/44224#issuecomment-330058902">A more in-depth explanation is available.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/42973">rustc's JSON error output's byte position start at top of file.</a>
Was previously relative to the rustc's internal <code>CodeMap</code> struct which
required the unstable library <code>libsyntax</code> to correctly use.</li>
<li><a href="https://github.com/rust-lang/rust/pull/43728"><code>unused_results</code> lint no longer ignores booleans</a></li>
</ul>
<h1>Version 1.20.0 (2017-08-31)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/42809">Associated constants are now stabilised.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/42913">A lot of macro bugs are now fixed.</a></li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/42807">Struct fields are now properly coerced to the expected field type.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/42571">Enabled wasm LLVM backend</a> WASM can now be built with the
<code>wasm32-experimental-emscripten</code> target.</li>
<li><a href="https://github.com/rust-lang/rust/pull/42033">Changed some of the error messages to be more helpful.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/43170">Add support for RELRO(RELocation Read-Only) for platforms that support
it.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/43015">rustc now reports the total number of errors on compilation failure</a>
previously this was only the number of errors in the pass that failed.</li>
<li><a href="https://github.com/rust-lang/rust/pull/42533">Expansion in rustc has been sped up 29x.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/43099">added <code>msp430-none-elf</code> target.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/43178">rustc will now suggest one-argument enum variant to fix type mismatch when
applicable</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/43228">Fixes backtraces on Redox</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/42826">rustc now identifies different versions of same crate when absolute paths of
different types match in an error message.</a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/42854">Relaxed Debug constraints on <code>{HashMap,BTreeMap}::{Keys,Values}</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/43011">Impl <code>PartialEq</code>, <code>Eq</code>, <code>PartialOrd</code>, <code>Ord</code>, <code>Debug</code>, <code>Hash</code> for unsized
tuples.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/42822">Impl <code>fmt::{Display, Debug}</code> for <code>Ref</code>, <code>RefMut</code>, <code>MutexGuard</code>,
<code>RwLockReadGuard</code>, <code>RwLockWriteGuard</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/42799">Impl <code>Clone</code> for <code>DefaultHasher</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/42397">Impl <code>Sync</code> for <code>SyncSender</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/42271">Impl <code>FromStr</code> for <code>char</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/42431">Fixed how <code>{f32, f64}::{is_sign_negative, is_sign_positive}</code> handles
NaN.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/42155">allow messages in the <code>unimplemented!()</code> macro.</a>
ie. <code>unimplemented!("Waiting for 1.21 to be stable")</code></li>
<li><a href="https://github.com/rust-lang/rust/pull/43185"><code>pub(restricted)</code> is now supported in the <code>thread_local!</code> macro.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/42999">Upgrade to Unicode 10.0.0</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/42430">Reimplemented <code>{f32, f64}::{min, max}</code> in Rust instead of using CMath.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/43072">Skip the main thread's manual stack guard on Linux</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/43077">Iterator::nth for <code>ops::{Range, RangeFrom}</code> is now done in O(1) time</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/43097"><code>#[repr(align(N))]</code> attribute max number is now 2^31 - 1.</a> This was
previously 2^15.</li>
<li><a href="https://github.com/rust-lang/rust/pull/42613"><code>{OsStr, Path}::Display</code> now avoids allocations where possible</a></li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/std/ffi/struct.CStr.html#method.into_c_string"><code>CStr::into_c_string</code></a></li>
<li><a href="https://doc.rust-lang.org/std/ffi/struct.CString.html#method.as_c_str"><code>CString::as_c_str</code></a></li>
<li><a href="https://doc.rust-lang.org/std/ffi/struct.CString.html#method.into_boxed_c_str"><code>CString::into_boxed_c_str</code></a></li>
<li><a href="https://doc.rust-lang.org/std/io/struct.Chain.html#method.get_mut"><code>Chain::get_mut</code></a></li>
<li><a href="https://doc.rust-lang.org/std/io/struct.Chain.html#method.get_ref"><code>Chain::get_ref</code></a></li>
<li><a href="https://doc.rust-lang.org/std/io/struct.Chain.html#method.into_inner"><code>Chain::into_inner</code></a></li>
<li><a href="https://doc.rust-lang.org/std/option/enum.Option.html#method.get_or_insert_with"><code>Option::get_or_insert_with</code></a></li>
<li><a href="https://doc.rust-lang.org/std/option/enum.Option.html#method.get_or_insert"><code>Option::get_or_insert</code></a></li>
<li><a href="https://doc.rust-lang.org/std/ffi/struct.OsStr.html#method.into_os_string"><code>OsStr::into_os_string</code></a></li>
<li><a href="https://doc.rust-lang.org/std/ffi/struct.OsString.html#method.into_boxed_os_str"><code>OsString::into_boxed_os_str</code></a></li>
<li><a href="https://doc.rust-lang.org/std/io/struct.Take.html#method.get_mut"><code>Take::get_mut</code></a></li>
<li><a href="https://doc.rust-lang.org/std/io/struct.Take.html#method.get_ref"><code>Take::get_ref</code></a></li>
<li><a href="https://doc.rust-lang.org/std/str/struct.Utf8Error.html#method.error_len"><code>Utf8Error::error_len</code></a></li>
<li><a href="https://doc.rust-lang.org/std/char/struct.EscapeDebug.html"><code>char::EscapeDebug</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.char.html#method.escape_debug"><code>char::escape_debug</code></a></li>
<li><a href="https://doc.rust-lang.org/std/macro.compile_error.html"><code>compile_error!</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.f32.html#method.from_bits"><code>f32::from_bits</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.f32.html#method.to_bits"><code>f32::to_bits</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.f64.html#method.from_bits"><code>f64::from_bits</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.f64.html#method.to_bits"><code>f64::to_bits</code></a></li>
<li><a href="https://doc.rust-lang.org/std/mem/union.ManuallyDrop.html"><code>mem::ManuallyDrop</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.slice.html#method.sort_unstable_by_key"><code>slice::sort_unstable_by_key</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.slice.html#method.sort_unstable_by"><code>slice::sort_unstable_by</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.slice.html#method.sort_unstable"><code>slice::sort_unstable</code></a></li>
<li><a href="https://doc.rust-lang.org/std/str/fn.from_boxed_utf8_unchecked.html"><code>str::from_boxed_utf8_unchecked</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.str.html#method.as_bytes_mut"><code>str::as_bytes_mut</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.str.html#method.as_bytes_mut"><code>str::as_bytes_mut</code></a></li>
<li><a href="https://doc.rust-lang.org/std/str/fn.from_utf8_mut.html"><code>str::from_utf8_mut</code></a></li>
<li><a href="https://doc.rust-lang.org/std/str/fn.from_utf8_unchecked_mut.html"><code>str::from_utf8_unchecked_mut</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.str.html#method.get_mut"><code>str::get_mut</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.str.html#method.get_unchecked_mut"><code>str::get_unchecked_mut</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.str.html#method.get_unchecked"><code>str::get_unchecked</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.str.html#method.get"><code>str::get</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.str.html#method.into_boxed_bytes"><code>str::into_boxed_bytes</code></a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/3978">Cargo API token location moved from <code>~/.cargo/config</code> to
<code>~/.cargo/credentials</code>.</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/4214">Cargo will now build <code>main.rs</code> binaries that are in sub-directories of
<code>src/bin</code>.</a> ie. Having <code>src/bin/server/main.rs</code> and
<code>src/bin/client/main.rs</code> generates <code>target/debug/server</code> and <code>target/debug/client</code></li>
<li><a href="https://github.com/rust-lang/cargo/pull/4229">You can now specify version of a binary when installed through
<code>cargo install</code> using <code>--vers</code>.</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/4248">Added <code>--no-fail-fast</code> flag to cargo to run all benchmarks regardless of
failure.</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/4259">Changed the convention around which file is the crate root.</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/4270">The <code>include</code>/<code>exclude</code> property in <code>Cargo.toml</code> now accepts gitignore paths
instead of glob patterns</a>. Glob patterns are now deprecated.</li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/42417">Functions with <code>'static</code> in their return types will now not be as usable as
if they were using lifetime parameters instead.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/42430">The reimplementation of <code>{f32, f64}::is_sign_{negative, positive}</code> now
takes the sign of NaN into account where previously didn't.</a></li>
</ul>
<h1>Version 1.19.0 (2017-07-20)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/41145">Numeric fields can now be used for creating tuple structs.</a> <a href="https://github.com/rust-lang/rfcs/pull/1506">RFC 1506</a>
For example <code>struct Point(u32, u32); let x = Point { 0: 7, 1: 0 };</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/41676">Macro recursion limit increased to 1024 from 64.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/41907">Added lint for detecting unused macros.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/42016"><code>loop</code> can now return a value with <code>break</code>.</a> <a href="https://github.com/rust-lang/rfcs/pull/1624">RFC 1624</a>
For example: <code>let x = loop { break 7; };</code></li>
<li><a href="https://github.com/rust-lang/rust/pull/42068">C compatible <code>union</code>s are now available.</a> <a href="https://github.com/rust-lang/rfcs/pull/1444">RFC 1444</a> They can only
contain <code>Copy</code> types and cannot have a <code>Drop</code> implementation.
Example: <code>union Foo { bar: u8, baz: usize }</code></li>
<li><a href="https://github.com/rust-lang/rust/pull/42162">Non capturing closures can now be coerced into <code>fn</code>s,</a> <a href="https://github.com/rust-lang/rfcs/pull/1558">RFC 1558</a>
Example: <code>let foo: fn(u8) -&gt; u8 = |v: u8| { v };</code></li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/41370">Add support for bootstrapping the Rust compiler toolchain on Android.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/41656">Change <code>arm-linux-androideabi</code> to correspond to the <code>armeabi</code>
official ABI.</a> If you wish to continue targeting the <code>armeabi-v7a</code> ABI
you should use <code>--target armv7-linux-androideabi</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/41873">Fixed ICE when removing a source file between compilation sessions.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/42037">Minor optimisation of string operations.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/42150">Compiler error message is now <code>aborting due to previous error(s)</code> instead of
<code>aborting due to N previous errors</code></a> This was previously inaccurate and
would only count certain kinds of errors.</li>
<li><a href="https://github.com/rust-lang/rust/pull/42225">The compiler now supports Visual Studio 2017</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/42948">The compiler is now built against LLVM 4.0.1 by default</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/42264">Added a lot</a> of <a href="https://github.com/rust-lang/rust/pull/42302">new error codes</a></li>
<li><a href="https://github.com/rust-lang/rust/issues/37406">Added <code>target-feature=+crt-static</code> option</a> <a href="https://github.com/rust-lang/rfcs/pull/1721">RFC 1721</a> Which allows
libraries with C Run-time Libraries(CRT) to be statically linked.</li>
<li><a href="https://github.com/rust-lang/rust/pull/42740">Fixed various ARM codegen bugs</a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/41449"><code>String</code> now implements <code>FromIterator&lt;Cow&lt;'a, str&gt;&gt;</code> and
<code>Extend&lt;Cow&lt;'a, str&gt;&gt;</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/41530"><code>Vec</code> now implements <code>From&lt;&amp;mut [T]&gt;</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/41258"><code>Box&lt;[u8]&gt;</code> now implements <code>From&lt;Box&lt;str&gt;&gt;</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/41659"><code>SplitWhitespace</code> now implements <code>Clone</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/41764"><code>[u8]::reverse</code> is now 5x faster and <code>[u16]::reverse</code> is now
1.5x faster</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/41192"><code>eprint!</code> and <code>eprintln!</code> macros added to prelude.</a> Same as the <code>print!</code>
macros, but for printing to stderr.</li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/std/ffi/struct.OsString.html#method.shrink_to_fit"><code>OsString::shrink_to_fit</code></a></li>
<li><a href="https://doc.rust-lang.org/std/cmp/struct.Reverse.html"><code>cmp::Reverse</code></a></li>
<li><a href="https://doc.rust-lang.org/std/process/struct.Command.html#method.envs"><code>Command::envs</code></a></li>
<li><a href="https://doc.rust-lang.org/std/thread/struct.ThreadId.html"><code>thread::ThreadId</code></a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/3929">Build scripts can now add environment variables to the environment
the crate is being compiled in.
Example: <code>println!("cargo:rustc-env=FOO=bar");</code></a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3970">Subcommands now replace the current process rather than spawning a new
child process</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3979">Workspace members can now accept glob file patterns</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3988">Added <code>--all</code> flag to the <code>cargo bench</code> subcommand to run benchmarks of all
the members in a given workspace.</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/4008">Updated <code>libssh2-sys</code> to 0.2.6</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/4022">Target directory path is now in the cargo metadata</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/4026">Cargo no longer checks out a local working directory for the
crates.io index</a> This should provide smaller file size for the
registry, and improve cloning times, especially on Windows machines.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/4031">Added an <code>--exclude</code> option for excluding certain packages when using the
<code>--all</code> option</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/4032">Cargo will now automatically retry when receiving a 5xx error
from crates.io</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/4084">The <code>--features</code> option now accepts multiple comma or space
delimited values.</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3954">Added support for custom target specific runners</a></li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/39983">Added <code>rust-windbg.cmd</code></a> for loading rust <code>.natvis</code> files in the
Windows Debugger.</li>
<li><a href="https://github.com/rust-lang/rust-installer/pull/57">Rust will now release XZ compressed packages</a></li>
<li><a href="https://github.com/rust-lang-nursery/rustup.rs/pull/1100">rustup will now prefer to download rust packages with
XZ compression</a> over GZip packages.</li>
<li><a href="https://github.com/rust-lang/rust/pull/41785">Added the ability to escape <code>#</code> in rust documentation</a> By adding
additional <code>#</code>'s ie. <code>##</code> is now <code>#</code></li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/41624"><code>MutexGuard&lt;T&gt;</code> may only be <code>Sync</code> if <code>T</code> is <code>Sync</code>.</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/41751"><code>-Z</code> flags are now no longer allowed to be used on the stable
compiler.</a> This has been a warning for a year previous to this.</li>
<li><a href="https://github.com/rust-lang/rust/issues/42844">As a result of the <code>-Z</code> flag change, the <code>cargo-check</code> plugin no
longer works</a>. Users should migrate to the built-in <code>check</code>
command, which has been available since 1.16.</li>
<li><a href="https://github.com/rust-lang/rust/pull/41946">Ending a float literal with <code>._</code> is now a hard error.
Example: <code>42._</code> .</a></li>
<li><a href="https://github.com/rust-lang/rust/issues/36886">Any use of a private <code>extern crate</code> outside of its module is now a
hard error.</a> This was previously a warning.</li>
<li><a href="https://github.com/rust-lang/rust/issues/36888"><code>use ::self::foo;</code> is now a hard error.</a> <code>self</code> paths are always
relative while the <code>::</code> prefix makes a path absolute, but was ignored and the
path was relative regardless.</li>
<li><a href="https://github.com/rust-lang/rust/issues/36890">Floating point constants in match patterns is now a hard error</a>
This was previously a warning.</li>
<li><a href="https://github.com/rust-lang/rust/issues/36891">Struct or enum constants that don't derive <code>PartialEq</code> &amp; <code>Eq</code> used
match patterns is now a hard error</a> This was previously a warning.</li>
<li><a href="https://github.com/rust-lang/rust/issues/36892">Lifetimes named <code>'_</code> are no longer allowed.</a> This was previously
a warning.</li>
<li><a href="https://github.com/rust-lang/rust/pull/41785">From the pound escape, lines consisting of multiple <code>#</code>s are
now visible</a></li>
<li><a href="https://github.com/rust-lang/rust/issues/42460">It is an error to re-export private enum variants</a>. This is
known to break a number of crates that depend on an older version of
mustache.</li>
<li><a href="https://github.com/rust-lang/rust/issues/42607">On Windows, if <code>VCINSTALLDIR</code> is set incorrectly, <code>rustc</code> will try
to use it to find the linker, and the build will fail where it did
not previously</a></li>
</ul>
<h1>Version 1.18.0 (2017-06-08)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/40556">Stabilize pub(restricted)</a> <code>pub</code> can now accept a module path to
make the item visible to just that module tree. Also accepts the keyword
<code>crate</code> to make something public to the whole crate but not users of the
library. Example: <code>pub(crate) mod utils;</code>. <a href="https://github.com/rust-lang/rfcs/blob/master/text/1422-pub-restricted.md">RFC 1422</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/40870">Stabilize <code>#![windows_subsystem]</code> attribute</a> conservative exposure of the
<code>/SUBSYSTEM</code> linker flag on Windows platforms. <a href="https://github.com/rust-lang/rfcs/blob/master/text/1665-windows-subsystem.md">RFC 1665</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/40043">Refactor of trait object type parsing</a> Now <code>ty</code> in macros can accept
types like <code>Write + Send</code>, trailing <code>+</code> are now supported in trait objects,
and better error reporting for trait objects starting with <code>?Sized</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/40589">0e+10 is now a valid floating point literal</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/40734">Now warns if you bind a lifetime parameter to 'static</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/40377">Tuples, Enum variant fields, and structs with no <code>repr</code> attribute or with
<code>#[repr(Rust)]</code> are reordered to minimize padding and produce a smaller
representation in some cases.</a></li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/39891">rustc can now emit mir with <code>--emit mir</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/40367">Improved LLVM IR for trivial functions</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/40723">Added explanation for E0090(Wrong number of lifetimes are supplied)</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/41469">rustc compilation is now 15%-20% faster</a> Thanks to optimisation
opportunities found through profiling</li>
<li><a href="https://github.com/rust-lang/rust/pull/38165">Improved backtrace formatting when panicking</a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/40731">Specialized <code>Vec::from_iter</code> being passed <code>vec::IntoIter</code></a> if the
iterator hasn't been advanced the original <code>Vec</code> is reassembled with no actual
iteration or reallocation.</li>
<li><a href="https://github.com/rust-lang/rust/pull/40561">Simplified HashMap Bucket interface</a> provides performance
improvements for iterating and cloning.</li>
<li><a href="https://github.com/rust-lang/rust/pull/40409">Specialize Vec::from_elem to use calloc</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39799">Fixed Race condition in fs::create_dir_all</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/40516">No longer caching stdio on Windows</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/40807">Optimized insertion sort in slice</a> insertion sort in some cases
2.50%~ faster and in one case now 12.50% faster.</li>
<li><a href="https://github.com/rust-lang/rust/pull/41143">Optimized <code>AtomicBool::fetch_nand</code></a></li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/std/process/struct.Child.html#method.try_wait"><code>Child::try_wait</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/struct.HashMap.html#method.retain"><code>HashMap::retain</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/struct.HashSet.html#method.retain"><code>HashSet::retain</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/binary_heap/struct.PeekMut.html#method.pop"><code>PeekMut::pop</code></a></li>
<li><a href="https://doc.rust-lang.org/std/net/struct.TcpStream.html#method.peek"><code>TcpStream::peek</code></a></li>
<li><a href="https://doc.rust-lang.org/std/net/struct.UdpSocket.html#method.peek"><code>UdpSocket::peek</code></a></li>
<li><a href="https://doc.rust-lang.org/std/net/struct.UdpSocket.html#method.peek_from"><code>UdpSocket::peek_from</code></a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/3842">Added partial Pijul support</a> Pijul is a version control system in Rust.
You can now create new cargo projects with Pijul using <code>cargo new --vcs pijul</code></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3847">Now always emits build script warnings for crates that fail to build</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3885">Added Android build support</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3901">Added <code>--bins</code> and <code>--tests</code> flags</a> now you can build all programs
of a certain type, for example <code>cargo build --bins</code> will build all
binaries.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/3952">Added support for haiku</a></li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/40338">rustdoc can now use pulldown-cmark with the <code>--enable-commonmark</code> flag</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39983">Added rust-windbg script for better debugging on Windows</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/40612">Rust now uses the official cross compiler for NetBSD</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/40828">rustdoc now accepts <code>#</code> at the start of files</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/41168">Fixed jemalloc support for musl</a></li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li>
<p><a href="https://github.com/rust-lang/rust/pull/40241">Changes to how the <code>0</code> flag works in format!</a> Padding zeroes are now
always placed after the sign if it exists and before the digits. With the <code>#</code>
flag the zeroes are placed after the prefix and before the digits.</p>
</li>
<li>
<p><a href="https://github.com/rust-lang/rust/pull/40377">Due to the struct field optimisation</a>, using <code>transmute</code> on structs
that have no <code>repr</code> attribute or <code>#[repr(Rust)]</code> will no longer work. This has
always been undefined behavior, but is now more likely to break in practice.</p>
</li>
<li>
<p><a href="https://github.com/rust-lang/rust/pull/40043">The refactor of trait object type parsing</a> fixed a bug where <code>+</code> was
receiving the wrong priority parsing things like <code>&amp;for&lt;'a&gt; Tr&lt;'a&gt; + Send</code> as
<code>&amp;(for&lt;'a&gt; Tr&lt;'a&gt; + Send)</code> instead of <code>(&amp;for&lt;'a&gt; Tr&lt;'a&gt;) + Send</code></p>
</li>
<li>
<p><a href="https://github.com/rust-lang/rust/pull/40728">Overlapping inherent <code>impl</code>s are now a hard error</a></p>
</li>
<li>
<p><a href="https://github.com/rust-lang/rust/issues/41270"><code>PartialOrd</code> and <code>Ord</code> must agree on the ordering.</a></p>
</li>
<li>
<p><a href="https://github.com/rust-lang/rust/pull/41085"><code>rustc main.rs -o out --emit=asm,llvm-ir</code></a> Now will output
<code>out.asm</code> and <code>out.ll</code> instead of only one of the filetypes.</p>
</li>
<li>
<p><a href="https://github.com/rust-lang/rust/issues/41805"> calling a function that returns <code>Self</code> will no longer work</a> when
the size of <code>Self</code> cannot be statically determined.</p>
</li>
<li>
<p><a href="https://github.com/rust-lang/rust/pull/40805">rustc now builds with a "pthreads" flavour of MinGW for Windows GNU</a>
this has caused a few regressions namely:</p>
<ul>
<li>Changed the link order of local static/dynamic libraries (respecting the
order on given rather than having the compiler reorder).</li>
<li>Changed how MinGW is linked, native code linked to dynamic libraries
may require manually linking to the gcc support library (for the native
code itself)</li>
</ul>
</li>
</ul>
<h1>Version 1.17.0 (2017-04-27)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/39265">The lifetime of statics and consts defaults to <code>'static</code></a>. <a href="https://github.com/rust-lang/rfcs/blob/master/text/1623-static.md">RFC 1623</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39761">Fields of structs may be initialized without duplicating the field/variable
names</a>. <a href="https://github.com/rust-lang/rfcs/blob/master/text/1682-field-init-shorthand.md">RFC 1682</a></li>
<li><a href="https://github.com/rust-lang/rust/issues/38864"><code>Self</code> may be included in the <code>where</code> clause of <code>impls</code></a>. <a href="https://github.com/rust-lang/rfcs/blob/master/text/1647-allow-self-in-where-clauses.md">RFC 1647</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/40319">When coercing to an unsized type lifetimes must be equal</a>. That is,
there is no subtyping between <code>T</code> and <code>U</code> when <code>T: Unsize&lt;U&gt;</code>. For example,
coercing <code>&amp;mut [&amp;'a X; N]</code> to <code>&amp;mut [&amp;'b X]</code> requires <code>'a</code> be equal to
<code>'b</code>. Soundness fix.</li>
<li><a href="https://github.com/rust-lang/rust/pull/40166">Values passed to the indexing operator, <code>[]</code>, automatically coerce</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/40027">Static variables may contain references to other statics</a></li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/40336">Exit quickly on only <code>--emit dep-info</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/40245">Make <code>-C relocation-model</code> more correctly determine whether the linker
creates a position-independent executable</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/40037">Add <code>-C overflow-checks</code> to directly control whether integer overflow
panics</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/40008">The rustc type checker now checks items on demand instead of in a single
in-order pass</a>. This is mostly an internal refactoring in support of
future work, including incremental type checking, but also resolves <a href="https://github.com/rust-lang/rfcs/blob/master/text/1647-allow-self-in-where-clauses.md">RFC
1647</a>, allowing <code>Self</code> to appear in <code>impl</code> <code>where</code> clauses.</li>
<li><a href="https://github.com/rust-lang/rust/pull/39995">Optimize vtable loads</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39990">Turn off vectorization for Emscripten targets</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39953">Provide suggestions for unknown macros imported with <code>use</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39939">Fix ICEs in path resolution</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39193">Strip exception handling code on Emscripten when <code>panic=abort</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39116">Add clearer error message using <code>&amp;str + &amp;str</code></a></li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/std/sync/struct.Arc.html#method.into_raw"><code>Arc::into_raw</code></a></li>
<li><a href="https://doc.rust-lang.org/std/sync/struct.Arc.html#method.from_raw"><code>Arc::from_raw</code></a></li>
<li><a href="https://doc.rust-lang.org/std/sync/struct.Arc.html#method.ptr_eq"><code>Arc::ptr_eq</code></a></li>
<li><a href="https://doc.rust-lang.org/std/rc/struct.Rc.html#method.into_raw"><code>Rc::into_raw</code></a></li>
<li><a href="https://doc.rust-lang.org/std/rc/struct.Rc.html#method.from_raw"><code>Rc::from_raw</code></a></li>
<li><a href="https://doc.rust-lang.org/std/rc/struct.Rc.html#method.ptr_eq"><code>Rc::ptr_eq</code></a></li>
<li><a href="https://doc.rust-lang.org/std/cmp/enum.Ordering.html#method.then"><code>Ordering::then</code></a></li>
<li><a href="https://doc.rust-lang.org/std/cmp/enum.Ordering.html#method.then_with"><code>Ordering::then_with</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/btree_map/struct.BTreeMap.html#method.range"><code>BTreeMap::range</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/btree_map/struct.BTreeMap.html#method.range_mut"><code>BTreeMap::range_mut</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/enum.Bound.html"><code>collections::Bound</code></a></li>
<li><a href="https://doc.rust-lang.org/std/process/fn.abort.html"><code>process::abort</code></a></li>
<li><a href="https://doc.rust-lang.org/std/ptr/fn.read_unaligned.html"><code>ptr::read_unaligned</code></a></li>
<li><a href="https://doc.rust-lang.org/std/ptr/fn.write_unaligned.html"><code>ptr::write_unaligned</code></a></li>
<li><a href="https://doc.rust-lang.org/std/result/enum.Result.html#method.expect_err"><code>Result::expect_err</code></a></li>
<li><a href="https://doc.rust-lang.org/std/cell/struct.Cell.html#method.swap"><code>Cell::swap</code></a></li>
<li><a href="https://doc.rust-lang.org/std/cell/struct.Cell.html#method.replace"><code>Cell::replace</code></a></li>
<li><a href="https://doc.rust-lang.org/std/cell/struct.Cell.html#method.into_inner"><code>Cell::into_inner</code></a></li>
<li><a href="https://doc.rust-lang.org/std/cell/struct.Cell.html#method.take"><code>Cell::take</code></a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/issues/27787"><code>BTreeMap</code> and <code>BTreeSet</code> can iterate over ranges</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39793"><code>Cell</code> can store non-<code>Copy</code> types</a>. <a href="https://github.com/rust-lang/rfcs/blob/master/text/1651-movecell.md">RFC 1651</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/40028"><code>String</code> implements <code>FromIterator&lt;&amp;char&gt;</code></a></li>
<li><code>Box</code> <a href="https://github.com/rust-lang/rust/pull/40009">implements</a> a number of new conversions:
<code>From&lt;Box&lt;str&gt;&gt; for String</code>,
<code>From&lt;Box&lt;[T]&gt;&gt; for Vec&lt;T&gt;</code>,
<code>From&lt;Box&lt;CStr&gt;&gt; for CString</code>,
<code>From&lt;Box&lt;OsStr&gt;&gt; for OsString</code>,
<code>From&lt;Box&lt;Path&gt;&gt; for PathBuf</code>,
<code>Into&lt;Box&lt;str&gt;&gt; for String</code>,
<code>Into&lt;Box&lt;[T]&gt;&gt; for Vec&lt;T&gt;</code>,
<code>Into&lt;Box&lt;CStr&gt;&gt; for CString</code>,
<code>Into&lt;Box&lt;OsStr&gt;&gt; for OsString</code>,
<code>Into&lt;Box&lt;Path&gt;&gt; for PathBuf</code>,
<code>Default for Box&lt;str&gt;</code>,
<code>Default for Box&lt;CStr&gt;</code>,
<code>Default for Box&lt;OsStr&gt;</code>,
<code>From&lt;&amp;CStr&gt; for Box&lt;CStr&gt;</code>,
<code>From&lt;&amp;OsStr&gt; for Box&lt;OsStr&gt;</code>,
<code>From&lt;&amp;Path&gt; for Box&lt;Path&gt;</code></li>
<li><a href="https://github.com/rust-lang/rust/pull/39960"><code>ffi::FromBytesWithNulError</code> implements <code>Error</code> and <code>Display</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39642">Specialize <code>PartialOrd&lt;A&gt; for [A] where A: Ord</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39538">Slightly optimize <code>slice::sort</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39440">Add <code>ToString</code> trait specialization for <code>Cow&lt;'a, str&gt;</code> and <code>String</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39438"><code>Box&lt;[T]&gt;</code> implements <code>From&lt;&amp;[T]&gt; where T: Copy</code>,
<code>Box&lt;str&gt;</code> implements <code>From&lt;&amp;str&gt;</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39372"><code>IpAddr</code> implements <code>From</code> for various arrays. <code>SocketAddr</code> implements
<code>From&lt;(I, u16)&gt; where I: Into&lt;IpAddr&gt;</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39356"><code>format!</code> estimates the needed capacity before writing a string</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38921">Support unprivileged symlink creation in Windows</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38764"><code>PathBuf</code> implements <code>Default</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38661">Implement <code>PartialEq&lt;[A]&gt;</code> for <code>VecDeque&lt;A&gt;</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38368"><code>HashMap</code> resizes adaptively</a> to guard against DOS attacks
and poor hash functions.</li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/3731">Add <code>cargo check --all</code></a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3699">Add an option to ignore SSL revocation checking</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3691">Add <code>cargo run --package</code></a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3667">Add <code>required_features</code></a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3664">Assume <code>build.rs</code> is a build script</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3562">Find workspace via <code>workspace_root</code> link in containing member</a></li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/39633">Documentation is rendered with mdbook instead of the obsolete, in-tree
<code>rustbook</code></a></li>
<li><a href="https://doc.rust-lang.org/unstable-book/">The "Unstable Book" documents nightly-only features</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/40265">Improve the style of the sidebar in rustdoc output</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/40261">Configure build correctly on 64-bit CPU's with the armhf ABI</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/40257">Fix MSP430 breakage due to <code>i128</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39903">Preliminary Solaris/SPARCv9 support</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39837"><code>rustc</code> is linked statically on Windows MSVC targets</a>, allowing it to
run without installing the MSVC runtime.</li>
<li><a href="https://github.com/rust-lang/rust/pull/39788"><code>rustdoc --test</code> includes file names in test names</a></li>
<li>This release includes builds of <code>std</code> for <code>sparc64-unknown-linux-gnu</code>,
<code>aarch64-unknown-linux-fuchsia</code>, and <code>x86_64-unknown-linux-fuchsia</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/39491">Initial support for <code>aarch64-unknown-freebsd</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39426">Initial support for <code>i686-unknown-netbsd</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39431">This release no longer includes the old makefile build system</a>. Rust
is built with a custom build system, written in Rust, and with Cargo.</li>
<li><a href="https://github.com/rust-lang/rust/pull/39002">Add Debug implementations for libcollection structs</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38981"><code>TypeId</code> implements <code>PartialOrd</code> and <code>Ord</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38945"><code>--test-threads=0</code> produces an error</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/40526"><code>rustup</code> installs documentation by default</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39843">The Rust source includes NatVis visualizations</a>. These can be used by
WinDbg and Visual Studio to improve the debugging experience.</li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/issues/38584">Rust 1.17 does not correctly detect the MSVC 2017 linker</a>. As a
workaround, either use MSVC 2015 or run vcvars.bat.</li>
<li><a href="https://github.com/rust-lang/rust/pull/40319">When coercing to an unsized type lifetimes must be equal</a>. That is,
disallow subtyping between <code>T</code> and <code>U</code> when <code>T: Unsize&lt;U&gt;</code>, e.g. coercing
<code>&amp;mut [&amp;'a X; N]</code> to <code>&amp;mut [&amp;'b X]</code> requires <code>'a</code> be equal to <code>'b</code>. Soundness
fix.</li>
<li><a href="https://github.com/rust-lang/rust/pull/40117"><code>format!</code> and <code>Display::to_string</code> panic if an underlying formatting
implementation returns an error</a>. Previously the error was silently
ignored. It is incorrect for <code>write_fmt</code> to return an error when writing
to a string.</li>
<li><a href="https://github.com/rust-lang/rust/pull/39851">In-tree crates are verified to be unstable</a>. Previously, some minor
crates were marked stable and could be accessed from the stable toolchain.</li>
<li><a href="https://github.com/rust-lang/rust/pull/39728">Rust git source no longer includes vendored crates</a>. Those that need
to build with vendored crates should build from release tarballs.</li>
<li><a href="https://github.com/rust-lang/rust/pull/39572">Fix inert attributes from <code>proc_macro_derives</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39518">During crate resolution, rustc prefers a crate in the sysroot if two crates
are otherwise identical</a>. Unlikely to be encountered outside the Rust
build system.</li>
<li><a href="https://github.com/rust-lang/rust/pull/39485">Fixed bugs around how type inference interacts with dead-code</a>. The
existing code generally ignores the type of dead-code unless a type-hint is
provided; this can cause surprising inference interactions particularly around
defaulting. The new code uniformly ignores the result type of dead-code.</li>
<li><a href="https://github.com/rust-lang/rust/pull/38932">Tuple-struct constructors with private fields are no longer visible</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38897">Lifetime parameters that do not appear in the arguments are now considered
early-bound</a>, resolving a soundness bug (#<a href="https://github.com/rust-lang/rust/issues/32330">32330</a>). The
<code>hr_lifetime_in_assoc_type</code> future-compatibility lint has been in effect since
April of 2016.</li>
<li><a href="https://github.com/rust-lang/rust/pull/38161">rustdoc: fix doctests with non-feature crate attributes</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34198">Make transmuting from fn item types to pointer-sized types a hard
error</a></li>
</ul>
<h1>Version 1.16.0 (2017-03-16)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/38051">The compiler's <code>dead_code</code> lint now accounts for type aliases</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/38069">Uninhabitable enums (those without any variants) no longer permit wildcard
match patterns</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38313">Clean up semantics of <code>self</code> in an import list</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38920"><code>Self</code> may appear in <code>impl</code> headers</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39282"><code>Self</code> may appear in struct expressions</a></li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/38571"><code>rustc</code> now supports <code>--emit=metadata</code>, which causes rustc to emit
a <code>.rmeta</code> file containing only crate metadata</a>. This can be
used by tools like the Rust Language Service to perform
metadata-only builds.</li>
<li><a href="https://github.com/rust-lang/rust/pull/38927">Levenshtein based typo suggestions now work in most places, while
previously they worked only for fields and sometimes for local
variables</a>. Together with the overhaul of "no
resolution"/"unexpected resolution" errors (#<a href="https://github.com/rust-lang/rust/pull/38154">38154</a>) they result in
large and systematic improvement in resolution diagnostics.</li>
<li><a href="https://github.com/rust-lang/rust/pull/38670">Fix <code>transmute::&lt;T, U&gt;</code> where <code>T</code> requires a bigger alignment than
<code>U</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38798">rustc: use -Xlinker when specifying an rpath with ',' in it</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37057"><code>rustc</code> no longer attempts to provide "consider using an explicit
lifetime" suggestions</a>. They were inaccurate.</li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/std/collections/vec_deque/struct.VecDeque.html#method.truncate"><code>VecDeque::truncate</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/vec_deque/struct.VecDeque.html#method.resize"><code>VecDeque::resize</code></a></li>
<li><a href="https://doc.rust-lang.org/std/string/struct.String.html#method.insert_str"><code>String::insert_str</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.checked_add"><code>Duration::checked_add</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.checked_sub"><code>Duration::checked_sub</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.checked_div"><code>Duration::checked_div</code></a></li>
<li><a href="https://doc.rust-lang.org/std/time/struct.Duration.html#method.checked_mul"><code>Duration::checked_mul</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.str.html#method.replacen"><code>str::replacen</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.str.html#method.repeat"><code>str::repeat</code></a></li>
<li><a href="https://doc.rust-lang.org/std/net/enum.SocketAddr.html#method.is_ipv4"><code>SocketAddr::is_ipv4</code></a></li>
<li><a href="https://doc.rust-lang.org/std/net/enum.SocketAddr.html#method.is_ipv6"><code>SocketAddr::is_ipv6</code></a></li>
<li><a href="https://doc.rust-lang.org/std/net/enum.IpAddr.html#method.is_ipv4"><code>IpAddr::is_ipv4</code></a></li>
<li><a href="https://doc.rust-lang.org/std/net/enum.IpAddr.html#method.is_ipv6"><code>IpAddr::is_ipv6</code></a></li>
<li><a href="https://doc.rust-lang.org/std/vec/struct.Vec.html#method.dedup_by"><code>Vec::dedup_by</code></a></li>
<li><a href="https://doc.rust-lang.org/std/vec/struct.Vec.html#method.dedup_by_key"><code>Vec::dedup_by_key</code></a></li>
<li><a href="https://doc.rust-lang.org/std/result/enum.Result.html#method.unwrap_or_default"><code>Result::unwrap_or_default</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.wrapping_offset"><code>&lt;*const T&gt;::wrapping_offset</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.pointer.html#method.wrapping_offset"><code>&lt;*mut T&gt;::wrapping_offset</code></a></li>
<li><code>CommandExt::creation_flags</code></li>
<li><a href="https://doc.rust-lang.org/std/fs/struct.File.html#method.set_permissions"><code>File::set_permissions</code></a></li>
<li><a href="https://doc.rust-lang.org/std/string/struct.String.html#method.split_off"><code>String::split_off</code></a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/37761"><code>[T]::binary_search</code> and <code>[T]::binary_search_by_key</code> now take
their argument by <code>Borrow</code> parameter</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38006">All public types in std implement <code>Debug</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38327"><code>IpAddr</code> implements <code>From&lt;Ipv4Addr&gt;</code> and <code>From&lt;Ipv6Addr&gt;</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38131"><code>Ipv6Addr</code> implements <code>From&lt;[u16; 8]&gt;</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38274">Ctrl-Z returns from <code>Stdin.read()</code> when reading from the console on
Windows</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38062">std: Fix partial writes in <code>LineWriter</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38062">std: Clamp max read/write sizes on Unix</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38066">Use more specific panic message for <code>&amp;str</code> slicing errors</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38304"><code>TcpListener::set_only_v6</code> is deprecated</a>. This
functionality cannot be achieved in std currently.</li>
<li><a href="https://github.com/rust-lang/rust/pull/38469"><code>writeln!</code>, like <code>println!</code>, now accepts a form with no string
or formatting arguments, to just print a newline</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38580">Implement <code>iter::Sum</code> and <code>iter::Product</code> for <code>Result</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38781">Reduce the size of static data in <code>std_unicode::tables</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38909"><code>char::EscapeDebug</code>, <code>EscapeDefault</code>, <code>EscapeUnicode</code>,
<code>CaseMappingIter</code>, <code>ToLowercase</code>, <code>ToUppercase</code>, implement
<code>Display</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38712"><code>Duration</code> implements <code>Sum</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39048"><code>String</code> implements <code>ToSocketAddrs</code></a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/3296">The <code>cargo check</code> command does a type check of a project without
building it</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3546">crates.io will display CI badges from Travis and AppVeyor, if
specified in Cargo.toml</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3301">crates.io will display categories listed in Cargo.toml</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3534">Compilation profiles accept integer values for <code>debug</code>, in addition
to <code>true</code> and <code>false</code>. These are passed to <code>rustc</code> as the value to
<code>-C debuginfo</code></a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3604">Implement <code>cargo --version --verbose</code></a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3557">All builds now output 'dep-info' build dependencies compatible with
make and ninja</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3511">Build all workspace members with <code>build --all</code></a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3515">Document all workspace members with <code>doc --all</code></a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3443">Path deps outside workspace are not members</a></li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/38589"><code>rustdoc</code> has a <code>--sysroot</code> argument that, like <code>rustc</code>, specifies
the path to the Rust implementation</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38413">The <code>armv7-linux-androideabi</code> target no longer enables NEON
extensions, per Google's ABI guide</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38401">The stock standard library can be compiled for Redox OS</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38726">Rust has initial SPARC support</a>. Tier 3. No builds
available.</li>
<li><a href="https://github.com/rust-lang/rust/pull/38559">Rust has experimental support for Nvidia PTX</a>. Tier 3. No
builds available.</li>
<li><a href="https://github.com/rust-lang/rust/pull/39379">Fix backtraces on i686-pc-windows-gnu by disabling FPO</a></li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/38069">Uninhabitable enums (those without any variants) no longer permit wildcard
match patterns</a></li>
<li>In this release, references to uninhabited types can not be
pattern-matched. This was accidentally allowed in 1.15.</li>
<li><a href="https://github.com/rust-lang/rust/pull/38051">The compiler's <code>dead_code</code> lint now accounts for type aliases</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/38274">Ctrl-Z returns from <code>Stdin.read()</code> when reading from the console on
Windows</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38313">Clean up semantics of <code>self</code> in an import list</a></li>
<li>Reimplemented lifetime elision. This change was almost entirely compatible
with existing code, but it did close a number of small bugs and loopholes,
as well as being more accepting in some other <a href="https://github.com/rust-lang/rust/issues/41105">cases</a>.</li>
</ul>
<h1>Version 1.15.1 (2017-02-09)</h1>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/39466">Fix IntoIter::as_mut_slice's signature</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/39523">Compile compiler builtins with <code>-fPIC</code> on 32-bit platforms</a></li>
</ul>
<h1>Version 1.15.0 (2017-02-02)</h1>
<h2>Language</h2>
<ul>
<li>Basic procedural macros allowing custom <code>#[derive]</code>, aka "macros 1.1", are
stable. This allows popular code-generating crates like Serde and Diesel to
work ergonomically. <a href="https://github.com/rust-lang/rfcs/blob/master/text/1681-macros-1.1.md">RFC 1681</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/36868">Tuple structs may be empty. Unary and empty tuple structs may be instantiated
with curly braces</a>. Part of <a href="https://github.com/rust-lang/rfcs/pull/1506">RFC 1506</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/37127">A number of minor changes to name resolution have been activated</a>.
They add up to more consistent semantics, allowing for future evolution of
Rust macros. Specified in <a href="https://github.com/rust-lang/rfcs/blob/master/text/1560-name-resolution.md">RFC 1560</a>, see its section on <a href="https://github.com/rust-lang/rfcs/blob/master/text/1560-name-resolution.md#changes-to-name-resolution-rules">"changes"</a> for
details of what is different. The breaking changes here have been transitioned
through the <a href="https://github.com/rust-lang/rust/pull/38271"><code>legacy_imports</code></a> lint since 1.14, with no known regressions.</li>
<li><a href="https://github.com/rust-lang/rust/pull/38279">In <code>macro_rules</code>, <code>path</code> fragments can now be parsed as type parameter
bounds</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37791"><code>?Sized</code> can be used in <code>where</code> clauses</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37789">There is now a limit on the size of monomorphized types and it can be
modified with the <code>#![type_size_limit]</code> crate attribute, similarly to
the <code>#![recursion_limit]</code> attribute</a></li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/37973">On Windows, the compiler will apply dllimport attributes when linking to
extern functions</a>. Additional attributes and flags can control which
library kind is linked and its name. <a href="https://github.com/rust-lang/rfcs/blob/master/text/1717-dllimport.md">RFC 1717</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/38117">Rust-ABI symbols are no longer exported from cdylibs</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38107">The <code>--test</code> flag works with procedural macro crates</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37814">Fix <code>extern "aapcs" fn</code> ABI</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37636">The <code>-C no-stack-check</code> flag is deprecated</a>. It does nothing.</li>
<li><a href="https://github.com/rust-lang/rust/pull/37613">The <code>format!</code> expander recognizes incorrect <code>printf</code> and shell-style
formatting directives and suggests the correct format</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/37456">Only report one error for all unused imports in an import list</a></li>
</ul>
<h2>Compiler Performance</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/37705">Avoid unnecessary <code>mk_ty</code> calls in <code>Ty::super_fold_with</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37979">Avoid more unnecessary <code>mk_ty</code> calls in <code>Ty::super_fold_with</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37848">Don't clone in <code>UnificationTable::probe</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37764">Remove <code>scope_auxiliary</code> to cut RSS by 10%</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37760">Use small vectors in type walker</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37701">Macro expansion performance was improved</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37642">Change <code>HirVec&lt;P&lt;T&gt;&gt;</code> to <code>HirVec&lt;T&gt;</code> in <code>hir::Expr</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37229">Replace FNV with a faster hash function</a></li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.min_by"><code>std::iter::Iterator::min_by</code></a></li>
<li><a href="https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.max_by"><code>std::iter::Iterator::max_by</code></a></li>
<li><a href="https://doc.rust-lang.org/std/os/unix/fs/trait.FileExt.html"><code>std::os::*::fs::FileExt</code></a></li>
<li><a href="https://doc.rust-lang.org/std/sync/atomic/struct.AtomicU8.html#method.get_mut"><code>std::sync::atomic::Atomic*::get_mut</code></a></li>
<li><a href="https://doc.rust-lang.org/std/sync/atomic/struct.AtomicU8.html#method.into_inner"><code>std::sync::atomic::Atomic*::into_inner</code></a></li>
<li><a href="https://doc.rust-lang.org/std/vec/struct.IntoIter.html#method.as_slice"><code>std::vec::IntoIter::as_slice</code></a></li>
<li><a href="https://doc.rust-lang.org/std/vec/struct.IntoIter.html#method.as_mut_slice"><code>std::vec::IntoIter::as_mut_slice</code></a></li>
<li><a href="https://doc.rust-lang.org/std/sync/mpsc/struct.Receiver.html#method.try_iter"><code>std::sync::mpsc::Receiver::try_iter</code></a></li>
<li><a href="https://doc.rust-lang.org/std/os/unix/process/trait.CommandExt.html#tymethod.before_exec"><code>std::os::unix::process::CommandExt::before_exec</code></a></li>
<li><a href="https://doc.rust-lang.org/std/rc/struct.Rc.html#method.strong_count"><code>std::rc::Rc::strong_count</code></a></li>
<li><a href="https://doc.rust-lang.org/std/rc/struct.Rc.html#method.weak_count"><code>std::rc::Rc::weak_count</code></a></li>
<li><a href="https://doc.rust-lang.org/std/sync/struct.Arc.html#method.strong_count"><code>std::sync::Arc::strong_count</code></a></li>
<li><a href="https://doc.rust-lang.org/std/sync/struct.Arc.html#method.weak_count"><code>std::sync::Arc::weak_count</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.char.html#method.encode_utf8"><code>std::char::encode_utf8</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.char.html#method.encode_utf16"><code>std::char::encode_utf16</code></a></li>
<li><a href="https://doc.rust-lang.org/std/cell/struct.Ref.html#method.clone"><code>std::cell::Ref::clone</code></a></li>
<li><a href="https://doc.rust-lang.org/std/io/struct.Take.html#method.into_inner"><code>std::io::Take::into_inner</code></a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/38192">The standard sorting algorithm has been rewritten for dramatic performance
improvements</a>. It is a hybrid merge sort, drawing influences from
Timsort. Previously it was a naive merge sort.</li>
<li><a href="https://github.com/rust-lang/rust/pull/38134"><code>Iterator::nth</code> no longer has a <code>Sized</code> bound</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38182"><code>Extend&lt;&amp;T&gt;</code> is specialized for <code>Vec</code> where <code>T: Copy</code></a> to improve
performance.</li>
<li><a href="https://github.com/rust-lang/rust/pull/37888"><code>chars().count()</code> is much faster</a> and so are <a href="https://github.com/rust-lang/rust/pull/37882"><code>chars().last()</code>
and <code>char_indices().last()</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38146">Fix ARM Objective-C ABI in <code>std::env::args</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37855">Chinese characters display correctly in <code>fmt::Debug</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37699">Derive <code>Default</code> for <code>Duration</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37677">Support creation of anonymous pipes on WinXP/2k</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37527"><code>mpsc::RecvTimeoutError</code> implements <code>Error</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38835">Don't pass overlapped handles to processes</a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/issues/3368">In this release, Cargo build scripts no longer have access to the <code>OUT_DIR</code>
environment variable at build time via <code>env!("OUT_DIR")</code></a>. They
should instead check the variable at runtime with <code>std::env</code>. That the value
was set at build time was a bug, and incorrect when cross-compiling. This
change is known to cause breakage.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/3221">Add <code>--all</code> flag to <code>cargo test</code></a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3363">Compile statically against the MSVC CRT</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3102">Mix feature flags into fingerprint/metadata shorthash</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3311">Link OpenSSL statically on OSX</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3310">Apply new fingerprinting to build dir outputs</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3336">Test for bad path overrides with summaries</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3338">Require <code>cargo install --vers</code> to take a semver version</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3348">Fix retrying crate downloads for network errors</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3356">Implement string lookup for <code>build.rustflags</code> config key</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3319">Emit more info on --message-format=json</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3361">Assume <code>build.rs</code> in the same directory as <code>Cargo.toml</code> is a build script</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3409">Don't ignore errors in workspace manifest</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3410">Fix <code>--message-format JSON</code> when rustc emits non-JSON warnings</a></li>
</ul>
<h2>Tooling</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/38185">Test runners (binaries built with <code>--test</code>) now support a <code>--list</code> argument
that lists the tests it contains</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/38181">Test runners now support a <code>--exact</code> argument that makes the test filter
match exactly, instead of matching only a substring of the test name</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37763">rustdoc supports a <code>--playground-url</code> flag</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37749">rustdoc provides more details about <code>#[should_panic]</code> errors</a></li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/37817">The Rust build system is now written in Rust</a>. The Makefiles may
continue to be used in this release by passing <code>--disable-rustbuild</code> to the
configure script, but they will be deleted soon. Note that the new build
system uses a different on-disk layout that will likely affect any scripts
building Rust.</li>
<li><a href="https://github.com/rust-lang/rust/pull/38086">Rust supports i686-unknown-openbsd</a>. Tier 3 support. No testing or
releases.</li>
<li><a href="https://github.com/rust-lang/rust/pull/37627">Rust supports the MSP430</a>. Tier 3 support. No testing or releases.</li>
<li><a href="https://github.com/rust-lang/rust/pull/37615">Rust supports the ARMv5TE architecture</a>. Tier 3 support. No testing or
releases.</li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/37127">A number of minor changes to name resolution have been activated</a>.
They add up to more consistent semantics, allowing for future evolution of
Rust macros. Specified in <a href="https://github.com/rust-lang/rfcs/blob/master/text/1560-name-resolution.md">RFC 1560</a>, see its section on <a href="https://github.com/rust-lang/rfcs/blob/master/text/1560-name-resolution.md#changes-to-name-resolution-rules">"changes"</a> for
details of what is different. The breaking changes here have been transitioned
through the <a href="https://github.com/rust-lang/rust/pull/38271"><code>legacy_imports</code></a> lint since 1.14, with no known regressions.</li>
<li><a href="https://github.com/rust-lang/cargo/issues/3368">In this release, Cargo build scripts no longer have access to the <code>OUT_DIR</code>
environment variable at build time via <code>env!("OUT_DIR")</code></a>. They
should instead check the variable at runtime with <code>std::env</code>. That the value
was set at build time was a bug, and incorrect when cross-compiling. This
change is known to cause breakage.</li>
<li><a href="https://github.com/rust-lang/rust/issues/33685">Higher-ranked lifetimes are no longer allowed to appear <em>only</em> in associated
types</a>. The <a href="https://github.com/rust-lang/rust/issues/33685"><code>hr_lifetime_in_assoc_type</code> lint</a> has been a warning since
1.10 and is now an error by default. It will become a hard error in the near
future.</li>
<li><a href="https://github.com/rust-lang/rust/pull/37602">The semantics relating modules to file system directories are changing in
minor ways</a>. This is captured in the new <code>legacy_directory_ownership</code>
lint, which is a warning in this release, and will become a hard error in the
future.</li>
<li><a href="https://github.com/rust-lang/rust/pull/38117">Rust-ABI symbols are no longer exported from cdylibs</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37834">Once <code>Peekable</code> peeks a <code>None</code> it will return that <code>None</code> without re-querying
the underlying iterator</a></li>
</ul>
<h1>Version 1.14.0 (2016-12-22)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/36843"><code>..</code> matches multiple tuple fields in enum variants, structs
and tuples</a>. <a href="https://github.com/rust-lang/rfcs/blob/master/text/1492-dotdot-in-patterns.md">RFC 1492</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/37389">Safe <code>fn</code> items can be coerced to <code>unsafe fn</code> pointers</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37367"><code>use *</code> and <code>use ::*</code> both glob-import from the crate root</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36822">It's now possible to call a <code>Vec&lt;Box&lt;Fn()&gt;&gt;</code> without explicit
dereferencing</a></li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/37224">Mark enums with non-zero discriminant as non-zero</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37162">Lower-case <code>static mut</code> names are linted like other
statics and consts</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36819">Fix ICE on some macros in const integer positions
(e.g. <code>[u8; m!()]</code>)</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36798">Improve error message and snippet for "did you mean <code>x</code>"</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36794">Add a panic-strategy field to the target specification</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37200">Include LLVM version in <code>--version --verbose</code></a></li>
</ul>
<h2>Compile-time Optimizations</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/37569">Improve macro expansion performance</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37445">Shrink <code>Expr_::ExprInlineAsm</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37439">Replace all uses of SHA-256 with BLAKE2b</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37427">Reduce the number of bytes hashed by <code>IchHasher</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37373">Avoid more allocations when compiling html5ever</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37322">Use <code>SmallVector</code> in <code>CombineFields::instantiate</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37318">Avoid some allocations in the macro parser</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37298">Use a faster deflate setting</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37270">Add <code>ArrayVec</code> and <code>AccumulateVec</code> to reduce heap allocations
during interning of slices</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37267">Optimize <code>write_metadata</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37231">Don't process obligation forest cycles when stalled</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37161">Avoid many <code>CrateConfig</code> clones</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37108">Optimize <code>Substs::super_fold_with</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36993">Optimize <code>ObligationForest</code>'s <code>NodeState</code> handling</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36917">Speed up <code>plug_leaks</code></a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/36825"><code>println!()</code>, with no arguments, prints newline</a>.
Previously, an empty string was required to achieve the same.</li>
<li><a href="https://github.com/rust-lang/rust/pull/37356"><code>Wrapping</code> impls standard binary and unary operators, as well as
the <code>Sum</code> and <code>Product</code> iterators</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37326">Implement <code>From&lt;Cow&lt;str&gt;&gt; for String</code> and <code>From&lt;Cow&lt;[T]&gt;&gt; for Vec&lt;T&gt;</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37315">Improve <code>fold</code> performance for <code>chain</code>, <code>cloned</code>, <code>map</code>, and
<code>VecDeque</code> iterators</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37312">Improve <code>SipHasher</code> performance on small values</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37306">Add Iterator trait TrustedLen to enable better FromIterator /
Extend</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37230">Expand <code>.zip()</code> specialization to <code>.map()</code> and <code>.cloned()</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37221"><code>ReadDir</code> implements <code>Debug</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37178">Implement <code>RefUnwindSafe</code> for atomic types</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37094">Specialize <code>Vec::extend</code> to <code>Vec::extend_from_slice</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37064">Avoid allocations in <code>Decoder::read_str</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37037"><code>io::Error</code> implements <code>From&lt;io::ErrorKind&gt;</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36880">Impl <code>Debug</code> for raw pointers to unsized data</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37470">Don't reuse <code>HashMap</code> random seeds</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36692">The internal memory layout of <code>HashMap</code> is more cache-friendly, for
significant improvements in some operations</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36595"><code>HashMap</code> uses less memory on 32-bit architectures</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36430">Impl <code>Add&lt;{str, Cow&lt;str&gt;}&gt;</code> for <code>Cow&lt;str&gt;</code></a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/3243">Expose rustc cfg values to build scripts</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3259">Allow cargo to work with read-only <code>CARGO_HOME</code></a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3280">Fix passing --features when testing multiple packages</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3249">Use a single profile set per workspace</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3220">Load <code>replace</code> sections from lock files</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3175">Ignore <code>panic</code> configuration for test/bench profiles</a></li>
</ul>
<h2>Tooling</h2>
<ul>
<li><a href="https://internals.rust-lang.org/t/beta-testing-rustup-rs/3316/204">rustup is the recommended Rust installation method</a></li>
<li>This release includes host (rustc) builds for Linux on MIPS, PowerPC, and
S390x. These are <a href="https://forge.rust-lang.org/platform-support.html">tier 2</a> platforms and may have major defects. Follow the
instructions on the website to install, or add the targets to an existing
installation with <code>rustup target add</code>. The new target triples are:
<ul>
<li><code>mips-unknown-linux-gnu</code></li>
<li><code>mipsel-unknown-linux-gnu</code></li>
<li><code>mips64-unknown-linux-gnuabi64</code></li>
<li><code>mips64el-unknown-linux-gnuabi64 </code></li>
<li><code>powerpc-unknown-linux-gnu</code></li>
<li><code>powerpc64-unknown-linux-gnu</code></li>
<li><code>powerpc64le-unknown-linux-gnu</code></li>
<li><code>s390x-unknown-linux-gnu </code></li>
</ul>
</li>
<li>This release includes target (std) builds for ARM Linux running MUSL
libc. These are <a href="https://forge.rust-lang.org/platform-support.html">tier 2</a> platforms and may have major defects. Add the
following triples to an existing rustup installation with <code>rustup target add</code>:
<ul>
<li><code>arm-unknown-linux-musleabi</code></li>
<li><code>arm-unknown-linux-musleabihf</code></li>
<li><code>armv7-unknown-linux-musleabihf</code></li>
</ul>
</li>
<li>This release includes <a href="https://users.rust-lang.org/t/compiling-to-the-web-with-rust-and-emscripten/7627">experimental support for WebAssembly</a>, via
the <code>wasm32-unknown-emscripten</code> target. This target is known to have major
defects. Please test, report, and fix.</li>
<li>rustup no longer installs documentation by default. Run <code>rustup component add rust-docs</code> to install.</li>
<li><a href="https://github.com/rust-lang/rust/pull/37310">Fix line stepping in debugger</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37280">Enable line number debuginfo in releases</a></li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/37392">Disable jemalloc on aarch64/powerpc/mips</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37313">Add support for Fuchsia OS</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37273">Detect local-rebuild by only MAJOR.MINOR version</a></li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/36894">A number of forward-compatibility lints used by the compiler
to gradually introduce language changes have been converted
to deny by default</a>:
<ul>
<li><a href="https://github.com/rust-lang/rust/issues/36886">"use of inaccessible extern crate erroneously allowed"</a></li>
<li><a href="https://github.com/rust-lang/rust/issues/36887">"type parameter default erroneously allowed in invalid location"</a></li>
<li><a href="https://github.com/rust-lang/rust/issues/36888">"detects super or self keywords at the beginning of global path"</a></li>
<li><a href="https://github.com/rust-lang/rust/issues/36889">"two overlapping inherent impls define an item with the same name
were erroneously allowed"</a></li>
<li><a href="https://github.com/rust-lang/rust/issues/36890">"floating-point constants cannot be used in patterns"</a></li>
<li><a href="https://github.com/rust-lang/rust/issues/36891">"constants of struct or enum type can only be used in a pattern if
the struct or enum has <code>#[derive(PartialEq, Eq)]</code>"</a></li>
<li><a href="https://github.com/rust-lang/rust/issues/36892">"lifetimes or labels named <code>'_</code> were erroneously allowed"</a></li>
</ul>
</li>
<li><a href="https://github.com/rust-lang/rust/pull/37378">Prohibit patterns in trait methods without bodies</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37351">The atomic <code>Ordering</code> enum may not be matched exhaustively</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37247">Future-proofing <code>#[no_link]</code> breaks some obscure cases</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37213">The <code>$crate</code> macro variable is accepted in fewer locations</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37167">Impls specifying extra region requirements beyond the trait
they implement are rejected</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/37111">Enums may not be unsized</a>. Unsized enums are intended to
work but never have. For now they are forbidden.</li>
<li><a href="https://github.com/rust-lang/rust/pull/36767">Enforce the shadowing restrictions from RFC 1560 for today's macros</a></li>
</ul>
<h1>Version 1.13.0 (2016-11-10)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/36995">Stabilize the <code>?</code> operator</a>. <code>?</code> is a simple way to propagate
errors, like the <code>try!</code> macro, described in <a href="https://github.com/rust-lang/rfcs/blob/master/text/0243-trait-based-exception-handling.md">RFC 0243</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/36014">Stabilize macros in type position</a>. Described in <a href="https://github.com/rust-lang/rfcs/blob/master/text/0873-type-macros.md">RFC 873</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/36995">Stabilize attributes on statements</a>. Described in <a href="https://github.com/rust-lang/rfcs/blob/master/text/0016-more-attributes.md">RFC 0016</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/35728">Fix <code>#[derive]</code> for empty tuple structs/variants</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36029">Fix lifetime rules for 'if' conditions</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36482">Avoid loading and parsing unconfigured non-inline modules</a></li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/36574">Add the <code>-C link-arg</code> argument</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35764">Remove the old AST-based backend from rustc_trans</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35814">Don't enable NEON by default on armv7 Linux</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35238">Fix debug line number info for macro expansions</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36008">Do not emit "class method" debuginfo for types that are not
DICompositeType</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34623">Warn about multiple conflicting #[repr] hints</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36351">When sizing DST, don't double-count nested struct prefixes</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36505">Default RUST_MIN_STACK to 16MiB for now</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36551">Improve rlib metadata format</a>. Reduces rlib size significantly.</li>
<li><a href="https://github.com/rust-lang/rust/pull/36721">Reject macros with empty repetitions to avoid infinite loop</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36214">Expand macros without recursing to avoid stack overflows</a></li>
</ul>
<h2>Diagnostics</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/35702">Replace macro backtraces with labeled local uses</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/33922">Improve error message for misplaced doc comments</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35975">Buffer unix and lock windows to prevent message interleaving</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36171">Update lifetime errors to specifically note temporaries</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36178">Special case a few colors for Windows</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36289">Suggest <code>use self</code> when such an import resolves</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36338">Be more specific when type parameter shadows primitive type</a></li>
<li>Many minor improvements</li>
</ul>
<h2>Compile-time Optimizations</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/35854">Compute and cache HIR hashes at beginning</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36004">Don't hash types in loan paths</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35761">Cache projections in trans</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36527">Optimize the parser's last token handling</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36524">Only instantiate #[inline] functions in codegen units referencing
them</a>. This leads to big improvements in cases where crates export
define many inline functions without using them directly.</li>
<li><a href="https://github.com/rust-lang/rust/pull/36592">Lazily allocate TypedArena's first chunk</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36734">Don't allocate during default HashSet creation</a></li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/std/primitive.i32.html#method.checked_abs"><code>checked_abs</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.i32.html#method.wrapping_abs"><code>wrapping_abs</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.i32.html#method.overflowing_abs"><code>overflowing_abs</code></a></li>
<li><a href="https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.try_borrow"><code>RefCell::try_borrow</code></a></li>
<li><a href="https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.try_borrow_mut"><code>RefCell::try_borrow_mut</code></a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/35074">Add <code>assert_ne!</code> and <code>debug_assert_ne!</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35354">Make <code>vec_deque::Drain</code>, <code>hash_map::Drain</code>, and <code>hash_set::Drain</code>
covariant</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35559">Implement <code>AsRef&lt;[T]&gt;</code> for <code>std::slice::Iter</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35707">Implement <code>Debug</code> for <code>std::vec::IntoIter</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35871"><code>CString</code>: avoid excessive growth just to 0-terminate</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35627">Implement <code>CoerceUnsized</code> for <code>{Cell, RefCell, UnsafeCell}</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35884">Use arc4rand on FreeBSD</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35969">memrchr: Correct aligned offset computation</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36059">Improve Demangling of Rust Symbols</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35048">Use monotonic time in condition variables</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36101">Implement <code>Debug</code> for <code>std::path::{Components,Iter}</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35755">Implement conversion traits for <code>char</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36104">Fix illegal instruction caused by overflow in channel cloning</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36264">Zero first byte of CString on drop</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36372">Inherit overflow checks for sum and product</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36423">Add missing Eq implementations</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36631">Implement <code>Debug</code> for <code>DirEntry</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36754">When <code>getaddrinfo</code> returns <code>EAI_SYSTEM</code> retrieve actual error from
<code>errno</code></a></li>
<li><a href="https://doc.rust-lang.org/std/hash/struct.SipHasher.html"><code>SipHasher</code></a> is deprecated. Use <a href="https://doc.rust-lang.org/std/collections/hash_map/struct.DefaultHasher.html"><code>DefaultHasher</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/35911">Implement more traits for <code>std::io::ErrorKind</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36072">Optimize BinaryHeap bounds checking</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36355">Work around pointer aliasing issue in <code>Vec::extend_from_slice</code>,
<code>extend_with_element</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34942">Fix overflow checking in unsigned pow()</a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li>This release includes security fixes to both curl and OpenSSL.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/3021">Fix transitive doctests when panic=abort</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3038">Add --all-features flag to cargo</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3060">Reject path-based dependencies in <code>cargo package</code></a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3078">Don't parse the home directory more than once</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3092">Don't try to generate Cargo.lock on empty workspaces</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3121">Update OpenSSL to 1.0.2j</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3110">Add license and license_file to cargo metadata output</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3089">Make crates-io registry URL optional in config; ignore all changes to
source.crates-io</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3123">Don't download dependencies from other platforms</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3125">Build transitive dev-dependencies when needed</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3157">Add support for per-target rustflags in .cargo/config</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3144">Avoid updating registry when adding existing deps</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3136">Warn about path overrides that won't work</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3146">Use workspaces during <code>cargo install</code></a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3162">Leak mspdbsrv.exe processes on Windows</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3000">Add --message-format flag</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3205">Pass target environment for rustdoc</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2818">Use <code>CommandExt::exec</code> for <code>cargo run</code> on Unix</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3241">Update curl and curl-sys</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3242">Call rustdoc test with the correct cfg flags of a package</a></li>
</ul>
<h2>Tooling</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/36586">rustdoc: Add the <code>--sysroot</code> argument</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35655">rustdoc: Fix a couple of issues with the search results</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35234">rustdoc: remove the <code>!</code> from macro URLs and titles</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35585">gdb: Fix pretty-printing special-cased Rust types</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36266">rustdoc: Filter more incorrect methods inherited through Deref</a></li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/35124">Remove unmaintained style guide</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36369">Add s390x support</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36727">Initial work at Haiku OS support</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35734">Add mips-uclibc targets</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35021">Crate-ify compiler-rt into compiler-builtins</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36213">Add rustc version info (git hash + date) to dist tarball</a></li>
<li>Many documentation improvements</li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://doc.rust-lang.org/std/hash/struct.SipHasher.html"><code>SipHasher</code></a> is deprecated. Use <a href="https://doc.rust-lang.org/std/collections/hash_map/struct.DefaultHasher.html"><code>DefaultHasher</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/34923">Deny (by default) transmuting from fn item types to pointer-sized
types</a>. Continuing the long transition to zero-sized fn items,
per <a href="https://github.com/rust-lang/rfcs/blob/master/text/0401-coercions.md">RFC 401</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/35728">Fix <code>#[derive]</code> for empty tuple structs/variants</a>.
Part of <a href="https://github.com/rust-lang/rfcs/pull/1506">RFC 1506</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/36173">Issue deprecation warnings for safe accesses to extern statics</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/36029">Fix lifetime rules for 'if' conditions</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/36372">Inherit overflow checks for sum and product</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/36730">Forbid user-defined macros named "macro_rules"</a>.</li>
</ul>
<h1>Version 1.12.1 (2016-10-20)</h1>
<h2>Regression Fixes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/issues/36381">ICE: 'rustc' panicked at 'assertion failed: concrete_substs.is_normalized_for_trans()' #36381</a></li>
<li><a href="https://github.com/rust-lang/rust/issues/36856">Confusion with double negation and booleans</a></li>
<li><a href="https://github.com/rust-lang/rust/issues/36875">rustc 1.12.0 fails with SIGSEGV in release mode (syn crate 0.8.0)</a></li>
<li><a href="https://github.com/rust-lang/rust/issues/36924">Rustc 1.12.0 Windows build of <code>ethcore</code> crate fails with LLVM error</a></li>
<li><a href="https://github.com/rust-lang/rust/issues/36926">1.12.0: High memory usage when linking in release mode with debug info</a></li>
<li><a href="https://github.com/rust-lang/rust/issues/36936">Corrupted memory after updated to 1.12</a></li>
<li><a href="https://github.com/rust-lang/rust/issues/37026">"Let NullaryConstructor = something;" causes internal compiler error: "tried to overwrite interned AdtDef"</a></li>
<li><a href="https://github.com/rust-lang/rust/issues/37112">Fix ICE: inject bitcast if types mismatch for invokes/calls/stores</a></li>
<li><a href="https://github.com/rust-lang/rust/issues/37153">debuginfo: Handle spread_arg case in MIR-trans in a more stable way.</a></li>
</ul>
<h1>Version 1.12.0 (2016-09-29)</h1>
<h2>Highlights</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/34096"><code>rustc</code> translates code to LLVM IR via its own "middle" IR (MIR)</a>.
This translation pass is far simpler than the previous AST-&gt;LLVM pass, and
creates opportunities to perform new optimizations directly on the MIR. It
was previously described <a href="https://blog.rust-lang.org/2016/04/19/MIR.html">on the Rust blog</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/35401"><code>rustc</code> presents a new, more readable error format, along with
machine-readable JSON error output for use by IDEs</a>.
Most common editors supporting Rust have been updated to work with it. It was
previously described <a href="https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html">on the Rust blog</a>.</li>
</ul>
<h2>Compiler</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/34096"><code>rustc</code> translates code to LLVM IR via its own "middle" IR (MIR)</a>.
This translation pass is far simpler than the previous AST-&gt;LLVM pass, and
creates opportunities to perform new optimizations directly on the MIR. It
was previously described <a href="https://blog.rust-lang.org/2016/04/19/MIR.html">on the Rust blog</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/35489">Print the Rust target name, not the LLVM target name, with
<code>--print target-list</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35267">The computation of <code>TypeId</code> is correct in some cases where it was previously
producing inconsistent results</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34910">The <code>mips-unknown-linux-gnu</code> target uses hardware floating point by default</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34845">The <code>rustc</code> arguments, <code>--print target-cpus</code>, <code>--print target-features</code>,
<code>--print relocation-models</code>, and <code>--print code-models</code> print the available
options to the <code>-C target-cpu</code>, <code>-C target-feature</code>, <code>-C relocation-model</code> and
<code>-C code-model</code> code generation arguments</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35060"><code>rustc</code> supports three new MUSL targets on ARM: <code>arm-unknown-linux-musleabi</code>,
<code>arm-unknown-linux-musleabihf</code>, and <code>armv7-unknown-linux-musleabihf</code></a>.
These targets produce statically-linked binaries. There are no binary release
builds yet though.</li>
</ul>
<h2>Diagnostics</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/35401"><code>rustc</code> presents a new, more readable error format, along with
machine-readable JSON error output for use by IDEs</a>.
Most common editors supporting Rust have been updated to work with it. It was
previously described <a href="https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html">on the Rust blog</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/35611">In error descriptions, references are now described in plain English,
instead of as "&amp;-ptr"</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35080">In error type descriptions, unknown numeric types are named <code>{integer}</code> or
<code>{float}</code> instead of <code>_</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34676"><code>rustc</code> emits a clearer error when inner attributes follow a doc comment</a></li>
</ul>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/34925"><code>macro_rules!</code> invocations can be made within <code>macro_rules!</code> invocations</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35453"><code>macro_rules!</code> meta-variables are hygienic</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34908"><code>macro_rules!</code> <code>tt</code> matchers can be reparsed correctly, making them much more
useful</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34886"><code>macro_rules!</code> <code>stmt</code> matchers correctly consume the entire contents when
inside non-braces invocations</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34660">Semicolons are properly required as statement delimiters inside
<code>macro_rules!</code> invocations</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34546"><code>cfg_attr</code> works on <code>path</code> attributes</a></li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/std/cell/struct.Cell.html#method.as_ptr"><code>Cell::as_ptr</code></a></li>
<li><a href="https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.as_ptr"><code>RefCell::as_ptr</code></a></li>
<li><a href="https://doc.rust-lang.org/std/net/enum.IpAddr.html#method.is_unspecified"><code>IpAddr::is_unspecified</code></a></li>
<li><a href="https://doc.rust-lang.org/std/net/enum.IpAddr.html#method.is_loopback"><code>IpAddr::is_loopback</code></a></li>
<li><a href="https://doc.rust-lang.org/std/net/enum.IpAddr.html#method.is_multicast"><code>IpAddr::is_multicast</code></a></li>
<li><a href="https://doc.rust-lang.org/std/net/struct.Ipv4Addr.html#method.is_unspecified"><code>Ipv4Addr::is_unspecified</code></a></li>
<li><a href="https://doc.rust-lang.org/std/net/struct.Ipv6Addr.html#method.octets"><code>Ipv6Addr::octets</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/linked_list/struct.LinkedList.html#method.contains"><code>LinkedList::contains</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/vec_deque/struct.VecDeque.html#method.contains"><code>VecDeque::contains</code></a></li>
<li><a href="https://doc.rust-lang.org/std/os/unix/process/trait.ExitStatusExt.html#tymethod.from_raw"><code>ExitStatusExt::from_raw</code></a>.
Both on Unix and Windows.</li>
<li><a href="https://doc.rust-lang.org/std/sync/mpsc/struct.Receiver.html#method.recv_timeout"><code>Receiver::recv_timeout</code></a></li>
<li><a href="https://doc.rust-lang.org/std/sync/mpsc/enum.RecvTimeoutError.html"><code>RecvTimeoutError</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/binary_heap/struct.BinaryHeap.html#method.peek_mut"><code>BinaryHeap::peek_mut</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/binary_heap/struct.PeekMut.html"><code>PeekMut</code></a></li>
<li><a href="https://doc.rust-lang.org/std/iter/trait.Product.html"><code>iter::Product</code></a></li>
<li><a href="https://doc.rust-lang.org/std/iter/trait.Sum.html"><code>iter::Sum</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/btree_map/struct.OccupiedEntry.html#method.remove_entry"><code>OccupiedEntry::remove_entry</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/btree_map/struct.VacantEntry.html#method.into_key"><code>VacantEntry::into_key</code></a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/33642">The <code>format!</code> macro and friends now allow a single argument to be formatted
in multiple styles</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34762">The lifetime bounds on <code>[T]::binary_search_by</code> and
<code>[T]::binary_search_by_key</code> have been adjusted to be more flexible</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34828"><code>Option</code> implements <code>From</code> for its contained type</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35392"><code>Cell</code>, <code>RefCell</code> and <code>UnsafeCell</code> implement <code>From</code> for their contained type</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35378"><code>RwLock</code> panics if the reader count overflows</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35354"><code>vec_deque::Drain</code>, <code>hash_map::Drain</code> and <code>hash_set::Drain</code> are covariant</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34951"><code>vec::Drain</code> and <code>binary_heap::Drain</code> are covariant</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35064"><code>Cow&lt;str&gt;</code> implements <code>FromIterator</code> for <code>char</code>, <code>&amp;str</code> and <code>String</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34946">Sockets on Linux are correctly closed in subprocesses via <code>SOCK_CLOEXEC</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34937"><code>hash_map::Entry</code>, <code>hash_map::VacantEntry</code> and <code>hash_map::OccupiedEntry</code>
implement <code>Debug</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34885"><code>btree_map::Entry</code>, <code>btree_map::VacantEntry</code> and <code>btree_map::OccupiedEntry</code>
implement <code>Debug</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34890"><code>String</code> implements <code>AddAssign</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34879">Variadic <code>extern fn</code> pointers implement the <code>Clone</code>, <code>PartialEq</code>, <code>Eq</code>,
<code>PartialOrd</code>, <code>Ord</code>, <code>Hash</code>, <code>fmt::Pointer</code>, and <code>fmt::Debug</code> traits</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34757"><code>FileType</code> implements <code>Debug</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34756">References to <code>Mutex</code> and <code>RwLock</code> are unwind-safe</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34731"><code>mpsc::sync_channel</code> <code>Receiver</code>s return any available message before
reporting a disconnect</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34599">Unicode definitions have been updated to 9.0</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/33312"><code>env</code> iterators implement <code>DoubleEndedIterator</code></a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/2857">Support local mirrors of registries</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2679">Add support for command aliases</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/3007">Allow <code>opt-level="s"</code> / <code>opt-level="z"</code> in profile overrides</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2988">Make <code>cargo doc --open --target</code> work as expected</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2974">Speed up noop registry updates</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2971">Update OpenSSL</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2954">Fix <code>--panic=abort</code> with plugins</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2946">Always pass <code>-C metadata</code> to the compiler</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2938">Fix depending on git repos with workspaces</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2921">Add a <code>--lib</code> flag to <code>cargo new</code></a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2917">Add <code>http.cainfo</code> for custom certs</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2909">Indicate the compilation profile after compiling</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2876">Allow enabling features for dependencies with <code>--features</code></a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2867">Add <code>--jobs</code> flag to <code>cargo package</code></a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2849">Add <code>--dry-run</code> to <code>cargo publish</code></a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2794">Add support for <code>RUSTDOCFLAGS</code></a></li>
</ul>
<h2>Performance</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/35444"><code>panic::catch_unwind</code> is more optimized</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34866"><code>panic::catch_unwind</code> no longer accesses thread-local storage on entry</a></li>
</ul>
<h2>Tooling</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/35414">Test binaries now support a <code>--test-threads</code> argument to specify the number
of threads used to run tests, and which acts the same as the
<code>RUST_TEST_THREADS</code> environment variable</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/35405">The test runner now emits a warning when tests run over 60 seconds</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34752">rustdoc: Fix methods in search results</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34646"><code>rust-lldb</code> warns about unsupported versions of LLDB</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34366">Rust releases now come with source packages that can be installed by rustup
via <code>rustup component add rust-src</code></a>.
The resulting source code can be used by tools and IDES, located in the
sysroot under <code>lib/rustlib/src</code>.</li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/35594">The compiler can now be built against LLVM 3.9</a></li>
<li>Many minor improvements to the documentation.</li>
<li><a href="https://github.com/rust-lang/rust/pull/34832">The Rust exception handling "personality" routine is now written in Rust</a></li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/35084">When printing Windows <code>OsStr</code>s, unpaired surrogate codepoints are escaped
with the lowercase format instead of the uppercase</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34544">When formatting strings, if "precision" is specified, the "fill",
"align" and "width" specifiers are no longer ignored</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34485">The <code>Debug</code> impl for strings no longer escapes all non-ASCII characters</a></li>
</ul>
<h1>Version 1.11.0 (2016-08-18)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/34546"><code>cfg_attr</code> works on <code>path</code> attributes</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34216">Support nested <code>cfg_attr</code> attributes</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34436">Allow statement-generating braced macro invocations at the end of blocks</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34213">Macros can be expanded inside of trait definitions</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34032"><code>#[macro_use]</code> works properly when it is itself expanded from a macro</a></li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="https://doc.rust-lang.org/std/collections/binary_heap/struct.BinaryHeap.html#method.append"><code>BinaryHeap::append</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/btree_map/struct.BTreeMap.html#method.append"><code>BTreeMap::append</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/btree_map/struct.BTreeMap.html#method.split_off"><code>BTreeMap::split_off</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/btree_set/struct.BTreeSet.html#method.append"><code>BTreeSet::append</code></a></li>
<li><a href="https://doc.rust-lang.org/std/collections/btree_set/struct.BTreeSet.html#method.split_off"><code>BTreeSet::split_off</code></a></li>
<li><a href="https://doc.rust-lang.org/std/primitive.f32.html#method.to_degrees"><code>f32::to_degrees</code></a>
(in libcore - previously stabilized in libstd)</li>
<li><a href="https://doc.rust-lang.org/std/primitive.f32.html#method.to_radians"><code>f32::to_radians</code></a>
(in libcore - previously stabilized in libstd)</li>
<li><a href="https://doc.rust-lang.org/std/primitive.f64.html#method.to_degrees"><code>f64::to_degrees</code></a>
(in libcore - previously stabilized in libstd)</li>
<li><a href="https://doc.rust-lang.org/std/primitive.f64.html#method.to_radians"><code>f64::to_radians</code></a>
(in libcore - previously stabilized in libstd)</li>
<li><a href="https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.sum"><code>Iterator::sum</code></a></li>
<li><a href="https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.sum"><code>Iterator::product</code></a></li>
<li><a href="https://doc.rust-lang.org/std/cell/struct.Cell.html#method.get_mut"><code>Cell::get_mut</code></a></li>
<li><a href="https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.get_mut"><code>RefCell::get_mut</code></a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/34077">The <code>thread_local!</code> macro supports multiple definitions in a single
invocation, and can apply attributes</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34305"><code>Cow</code> implements <code>Default</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34190"><code>Wrapping</code> implements binary, octal, lower-hex and upper-hex
<code>Display</code> formatting</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34180">The range types implement <code>Hash</code></a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34067"><code>lookup_host</code> ignores unknown address types</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/33976"><code>assert_eq!</code> accepts a custom error message, like <code>assert!</code> does</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/33803">The main thread is now called "main" instead of "&lt;main&gt;"</a></li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/2821">Disallow specifying features of transitive deps</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2804">Add color support for Windows consoles</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2795">Fix <code>harness = false</code> on <code>[lib]</code> sections</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2787">Don't panic when <code>links</code> contains a '.'</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2630">Build scripts can emit warnings</a>,
and <code>-vv</code> prints warnings for all crates.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2720">Ignore file locks on OS X NFS mounts</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2668">Don't warn about <code>package.metadata</code> keys</a>.
This provides room for expansion by arbitrary tools.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2741">Add support for cdylib crate types</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2781">Prevent publishing crates when files are dirty</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2704">Don't fetch all crates on clean</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2779">Propagate --color option to rustc</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2780">Fix <code>cargo doc --open</code> on Windows</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2772">Improve autocompletion</a></li>
<li><a href="https://github.com/rust-lang/cargo/pull/2739">Configure colors of stderr as well as stdout</a></li>
</ul>
<h2>Performance</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/33816">Caching projections speeds up type check dramatically for some
workloads</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/33940">The default <code>HashMap</code> hasher is SipHash 1-3 instead of SipHash 2-4</a>
This hasher is faster, but is believed to provide sufficient
protection from collision attacks.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33891">Comparison of <code>Ipv4Addr</code> is 10x faster</a></li>
</ul>
<h2>Rustdoc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/34536">Fix empty implementation section on some module pages</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34479">Fix inlined renamed re-exports in import lists</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34477">Fix search result layout for enum variants and struct fields</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34387">Fix issues with source links to external crates</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34245">Fix redirect pages for renamed re-exports</a></li>
</ul>
<h2>Tooling</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/34492">rustc is better at finding the MSVC toolchain</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/33909">When emitting debug info, rustc emits frame pointers for closures,
shims and glue, as it does for all other functions</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34646">rust-lldb warns about unsupported versions of LLDB</a></li>
<li>Many more errors have been given error codes and extended
explanations</li>
<li>API documentation continues to be improved, with many new examples</li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/34542">rustc no longer hangs when dependencies recursively re-export
submodules</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/34104">rustc requires LLVM 3.7+</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/33895">The 'How Safe and Unsafe Interact' chapter of The Rustonomicon was
rewritten</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/33460">rustc support 16-bit pointer sizes</a>.
No targets use this yet, but it works toward AVR support.</li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/34443"><code>const</code>s and <code>static</code>s may not have unsized types</a></li>
<li><a href="https://github.com/rust-lang/rust/pull/33982">The new follow-set rules that place restrictions on <code>macro_rules!</code>
in order to ensure syntax forward-compatibility have been enabled</a>
This was an <a href="https://github.com/rust-lang/rfcs/pull/1384">amendment to RFC 550</a>,
and has been a warning since 1.10.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33706"><code>cfg</code> attribute process has been refactored to fix various bugs</a>.
This causes breakage in some corner cases.</li>
</ul>
<h1>Version 1.10.0 (2016-07-07)</h1>
<h2>Language</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/33735">Allow <code>concat_idents!</code> in type positions as well as in expression
positions</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33420"><code>Copy</code> types are required to have a trivial implementation of <code>Clone</code></a>.
<a href="https://github.com/rust-lang/rfcs/blob/master/text/1521-copy-clone-semantics.md">RFC 1521</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33355">Single-variant enums support the <code>#[repr(..)]</code> attribute</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/32908">Fix <code>#[derive(RustcEncodable)]</code> in the presence of other <code>encode</code> methods</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/32900"><code>panic!</code> can be converted to a runtime abort with the
<code>-C panic=abort</code> flag</a>.
<a href="https://github.com/rust-lang/rfcs/blob/master/text/1513-less-unwinding.md">RFC 1513</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33553">Add a new crate type, 'cdylib'</a>.
cdylibs are dynamic libraries suitable for loading by non-Rust hosts.
<a href="https://github.com/rust-lang/rfcs/blob/master/text/1510-cdylib.md">RFC 1510</a>.
Note that Cargo does not yet directly support cdylibs.</li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><code>os::windows::fs::OpenOptionsExt::access_mode</code></li>
<li><code>os::windows::fs::OpenOptionsExt::share_mode</code></li>
<li><code>os::windows::fs::OpenOptionsExt::custom_flags</code></li>
<li><code>os::windows::fs::OpenOptionsExt::attributes</code></li>
<li><code>os::windows::fs::OpenOptionsExt::security_qos_flags</code></li>
<li><code>os::unix::fs::OpenOptionsExt::custom_flags</code></li>
<li><a href="http://doc.rust-lang.org/alloc/arc/struct.Weak.html#method.new"><code>sync::Weak::new</code></a></li>
<li><code>Default for sync::Weak</code></li>
<li><a href="http://doc.rust-lang.org/std/panic/fn.set_hook.html"><code>panic::set_hook</code></a></li>
<li><a href="http://doc.rust-lang.org/std/panic/fn.take_hook.html"><code>panic::take_hook</code></a></li>
<li><a href="http://doc.rust-lang.org/std/panic/struct.PanicInfo.html"><code>panic::PanicInfo</code></a></li>
<li><a href="http://doc.rust-lang.org/std/panic/struct.PanicInfo.html#method.payload"><code>panic::PanicInfo::payload</code></a></li>
<li><a href="http://doc.rust-lang.org/std/panic/struct.PanicInfo.html#method.location"><code>panic::PanicInfo::location</code></a></li>
<li><a href="http://doc.rust-lang.org/std/panic/struct.Location.html"><code>panic::Location</code></a></li>
<li><a href="http://doc.rust-lang.org/std/panic/struct.Location.html#method.file"><code>panic::Location::file</code></a></li>
<li><a href="http://doc.rust-lang.org/std/panic/struct.Location.html#method.line"><code>panic::Location::line</code></a></li>
<li><a href="http://doc.rust-lang.org/std/ffi/struct.CStr.html#method.from_bytes_with_nul"><code>ffi::CStr::from_bytes_with_nul</code></a></li>
<li><a href="http://doc.rust-lang.org/std/ffi/struct.CStr.html#method.from_bytes_with_nul_unchecked"><code>ffi::CStr::from_bytes_with_nul_unchecked</code></a></li>
<li><a href="http://doc.rust-lang.org/std/ffi/struct.FromBytesWithNulError.html"><code>ffi::FromBytesWithNulError</code></a></li>
<li><a href="http://doc.rust-lang.org/std/fs/struct.Metadata.html#method.modified"><code>fs::Metadata::modified</code></a></li>
<li><a href="http://doc.rust-lang.org/std/fs/struct.Metadata.html#method.accessed"><code>fs::Metadata::accessed</code></a></li>
<li><a href="http://doc.rust-lang.org/std/fs/struct.Metadata.html#method.created"><code>fs::Metadata::created</code></a></li>
<li><code>sync::atomic::Atomic{Usize,Isize,Bool,Ptr}::compare_exchange</code></li>
<li><code>sync::atomic::Atomic{Usize,Isize,Bool,Ptr}::compare_exchange_weak</code></li>
<li><code>collections::{btree,hash}_map::{Occupied,Vacant,}Entry::key</code></li>
<li><code>os::unix::net::{UnixStream, UnixListener, UnixDatagram, SocketAddr}</code></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.SocketAddr.html#method.is_unnamed"><code>SocketAddr::is_unnamed</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.SocketAddr.html#method.as_pathname"><code>SocketAddr::as_pathname</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.connect"><code>UnixStream::connect</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.pair"><code>UnixStream::pair</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.try_clone"><code>UnixStream::try_clone</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.local_addr"><code>UnixStream::local_addr</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.peer_addr"><code>UnixStream::peer_addr</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.read_timeout"><code>UnixStream::set_read_timeout</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.write_timeout"><code>UnixStream::set_write_timeout</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.read_timeout"><code>UnixStream::read_timeout</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.write_timeout"><code>UnixStream::write_timeout</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.set_nonblocking"><code>UnixStream::set_nonblocking</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.take_error"><code>UnixStream::take_error</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.shutdown"><code>UnixStream::shutdown</code></a></li>
<li>Read/Write/RawFd impls for <code>UnixStream</code></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.bind"><code>UnixListener::bind</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.accept"><code>UnixListener::accept</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.try_clone"><code>UnixListener::try_clone</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.local_addr"><code>UnixListener::local_addr</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.set_nonblocking"><code>UnixListener::set_nonblocking</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.take_error"><code>UnixListener::take_error</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.incoming"><code>UnixListener::incoming</code></a></li>
<li>RawFd impls for <code>UnixListener</code></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.bind"><code>UnixDatagram::bind</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.unbound"><code>UnixDatagram::unbound</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.pair"><code>UnixDatagram::pair</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.connect"><code>UnixDatagram::connect</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.try_clone"><code>UnixDatagram::try_clone</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.local_addr"><code>UnixDatagram::local_addr</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.peer_addr"><code>UnixDatagram::peer_addr</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.recv_from"><code>UnixDatagram::recv_from</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.recv"><code>UnixDatagram::recv</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.send_to"><code>UnixDatagram::send_to</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.send"><code>UnixDatagram::send</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.set_read_timeout"><code>UnixDatagram::set_read_timeout</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.set_write_timeout"><code>UnixDatagram::set_write_timeout</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.read_timeout"><code>UnixDatagram::read_timeout</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.write_timeout"><code>UnixDatagram::write_timeout</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.set_nonblocking"><code>UnixDatagram::set_nonblocking</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.take_error"><code>UnixDatagram::take_error</code></a></li>
<li><a href="http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.shutdown"><code>UnixDatagram::shutdown</code></a></li>
<li>RawFd impls for <code>UnixDatagram</code></li>
<li><code>{BTree,Hash}Map::values_mut</code></li>
<li><a href="http://doc.rust-lang.org/std/primitive.slice.html#method.binary_search_by_key"><code>&lt;[_]&gt;::binary_search_by_key</code></a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/33664">The <code>abs_sub</code> method of floats is deprecated</a>.
The semantics of this minor method are subtle and probably not what
most people want.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33306">Add implementation of Ord for Cell&lt;T&gt; and RefCell&lt;T&gt; where T: Ord</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33086">On Linux, if <code>HashMap</code>s can't be initialized with <code>getrandom</code> they
will fall back to <code>/dev/urandom</code> temporarily to avoid blocking
during early boot</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33067">Implemented negation for wrapping numerals</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33050">Implement <code>Clone</code> for <code>binary_heap::IntoIter</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33023">Implement <code>Display</code> and <code>Hash</code> for <code>std::num::Wrapping</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/32990">Add <code>Default</code> implementation for <code>&amp;CStr</code>, <code>CString</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/32866">Implement <code>From&lt;Vec&lt;T&gt;&gt;</code> and <code>Into&lt;Vec&lt;T&gt;&gt;</code> for <code>VecDeque&lt;T&gt;</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/32785">Implement <code>Default</code> for <code>UnsafeCell</code>, <code>fmt::Error</code>, <code>Condvar</code>,
<code>Mutex</code>, <code>RwLock</code></a>.</li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/2687">Cargo.toml supports the <code>profile.*.panic</code> option</a>.
This controls the runtime behavior of the <code>panic!</code> macro
and can be either "unwind" (the default), or "abort".
<a href="https://github.com/rust-lang/rfcs/blob/master/text/1513-less-unwinding.md">RFC 1513</a>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2723">Don't throw away errors with <code>-p</code> arguments</a>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2693">Report status to stderr instead of stdout</a>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2710">Build scripts are passed a <code>CARGO_MANIFEST_LINKS</code> environment
variable that corresponds to the <code>links</code> field of the manifest</a>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2707">Ban keywords from crate names</a>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2604">Canonicalize <code>CARGO_HOME</code> on Windows</a>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2396">Retry network requests</a>.
By default they are retried twice, which can be customized with the
<code>net.retry</code> value in <code>.cargo/config</code>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2674">Don't print extra error info for failing subcommands</a>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2405">Add <code>--force</code> flag to <code>cargo install</code></a>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2623">Don't use <code>flock</code> on NFS mounts</a>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2610">Prefer building <code>cargo install</code> artifacts in temporary directories</a>.
Makes it possible to install multiple crates in parallel.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2578">Add <code>cargo test --doc</code></a>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2551">Add <code>cargo --explain</code></a>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2576">Don't print warnings when <code>-q</code> is passed</a>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2577">Add <code>cargo doc --lib</code> and <code>--bin</code></a>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2560">Don't require build script output to be UTF-8</a>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2584">Correctly attempt multiple git usernames</a>.</li>
</ul>
<h2>Performance</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/33425">rustc memory usage was reduced by refactoring the context used for
type checking</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33318">Speed up creation of <code>HashMap</code>s by caching the random keys used
to initialize the hash state</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33289">The <code>find</code> implementation for <code>Chain</code> iterators is 2x faster</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33138">Trait selection optimizations speed up type checking by 15%</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33098">Efficient trie lookup for boolean Unicode properties</a>.
10x faster than the previous lookup tables.</li>
<li><a href="https://github.com/rust-lang/rust/pull/31414">Special case <code>#[derive(Copy, Clone)]</code> to avoid bloat</a>.</li>
</ul>
<h2>Usability</h2>
<ul>
<li>Many incremental improvements to documentation and rustdoc.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33514">rustdoc: List blanket trait impls</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33151">rustdoc: Clean up ABI rendering</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33401">Indexing with the wrong type produces a more informative error</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33406">Improve diagnostics for constants being used in irrefutable patterns</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33338">When many method candidates are in scope limit the suggestions to 10</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33325">Remove confusing suggestion when calling a <code>fn</code> type</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33319">Do not suggest changing <code>&amp;mut self</code> to <code>&amp;mut mut self</code></a>.</li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/33651">Update i686-linux-android features to match Android ABI</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33500">Update aarch64-linux-android features to match Android ABI</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33554"><code>std</code> no longer prints backtraces on platforms where the running
module must be loaded with <code>env::current_exe</code>, which can't be relied
on</a>.</li>
<li>This release includes std binaries for the i586-unknown-linux-gnu,
i686-unknown-linux-musl, and armv7-linux-androideabi targets. The
i586 target is for old x86 hardware without SSE2, and the armv7
target is for Android running on modern ARM architectures.</li>
<li><a href="https://github.com/rust-lang/rust/pull/32835">The <code>rust-gdb</code> and <code>rust-lldb</code> scripts are distributed on all
Unix platforms</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/31457">On Unix the runtime aborts by calling <code>libc::abort</code> instead of
generating an illegal instruction</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/32942">Rust is now bootstrapped from the previous release of Rust,
instead of a snapshot from an arbitrary commit</a>.</li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/33579"><code>AtomicBool</code> is now bool-sized, not word-sized</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33403"><code>target_env</code> for Linux ARM targets is just <code>gnu</code>, not
<code>gnueabihf</code>, <code>gnueabi</code>, etc</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/33072">Consistently panic on overflow in <code>Duration::new</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/32977">Change <code>String::truncate</code> to panic less</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/32945">Add <code>:block</code> to the follow set for <code>:ty</code> and <code>:path</code></a>.
Affects how macros are parsed.</li>
<li><a href="https://github.com/rust-lang/rust/pull/32923">Fix macro hygiene bug</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/32791">Feature-gated attributes on macro-generated macro invocations are
now rejected</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/32258">Suppress fallback and ambiguity errors during type inference</a>.
This caused some minor changes to type inference.</li>
</ul>
<h1>Version 1.9.0 (2016-05-26)</h1>
<h2>Language</h2>
<ul>
<li>The <code>#[deprecated]</code> attribute when applied to an API will generate
warnings when used. The warnings may be suppressed with
<code>#[allow(deprecated)]</code>. <a href="https://github.com/rust-lang/rfcs/blob/master/text/1270-deprecation.md">RFC 1270</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/31710"><code>fn</code> item types are zero sized, and each <code>fn</code> names a unique
type</a>. This will break code that transmutes <code>fn</code>s, so calling
<code>transmute</code> on a <code>fn</code> type will generate a warning for a few cycles,
then will be converted to an error.</li>
<li><a href="https://github.com/rust-lang/rust/pull/31938">Field and method resolution understand visibility, so private
fields and methods cannot prevent the proper use of public fields
and methods</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/29734">The parser considers unicode codepoints in the
<code>PATTERN_WHITE_SPACE</code> category to be whitespace</a>.</li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><a href="http://doc.rust-lang.org/nightly/std/panic/index.html"><code>std::panic</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/panic/fn.catch_unwind.html"><code>std::panic::catch_unwind</code></a> (renamed from <code>recover</code>)</li>
<li><a href="http://doc.rust-lang.org/nightly/std/panic/fn.resume_unwind.html"><code>std::panic::resume_unwind</code></a> (renamed from <code>propagate</code>)</li>
<li><a href="http://doc.rust-lang.org/nightly/std/panic/struct.AssertUnwindSafe.html"><code>std::panic::AssertUnwindSafe</code></a> (renamed from <code>AssertRecoverSafe</code>)</li>
<li><a href="http://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html"><code>std::panic::UnwindSafe</code></a> (renamed from <code>RecoverSafe</code>)</li>
<li><a href="http://doc.rust-lang.org/nightly/std/primitive.str.html#method.is_char_boundary"><code>str::is_char_boundary</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.as_ref"><code>&lt;*const T&gt;::as_ref</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.as_ref"><code>&lt;*mut T&gt;::as_ref</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.as_mut"><code>&lt;*mut T&gt;::as_mut</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#tymethod.make_ascii_uppercase"><code>AsciiExt::make_ascii_uppercase</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#tymethod.make_ascii_lowercase"><code>AsciiExt::make_ascii_lowercase</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/char/fn.decode_utf16.html"><code>char::decode_utf16</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/char/struct.DecodeUtf16.html"><code>char::DecodeUtf16</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/char/struct.DecodeUtf16Error.html"><code>char::DecodeUtf16Error</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/char/struct.DecodeUtf16Error.html#method.unpaired_surrogate"><code>char::DecodeUtf16Error::unpaired_surrogate</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/collections/btree/set/struct.BTreeSet.html#method.take"><code>BTreeSet::take</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/collections/btree/set/struct.BTreeSet.html#method.replace"><code>BTreeSet::replace</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/collections/btree/set/struct.BTreeSet.html#method.get"><code>BTreeSet::get</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.take"><code>HashSet::take</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.replace"><code>HashSet::replace</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.get"><code>HashSet::get</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/ffi/struct.OsString.html#method.with_capacity"><code>OsString::with_capacity</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/ffi/struct.OsString.html#method.clear"><code>OsString::clear</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/ffi/struct.OsString.html#method.capacity"><code>OsString::capacity</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/ffi/struct.OsString.html#method.reserve"><code>OsString::reserve</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/ffi/struct.OsString.html#method.reserve_exact"><code>OsString::reserve_exact</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/ffi/struct.OsStr.html#method.is_empty"><code>OsStr::is_empty</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/ffi/struct.OsStr.html#method.len"><code>OsStr::len</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/os/unix/thread/index.html"><code>std::os::unix::thread</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/os/unix/thread/type.RawPthread.html"><code>RawPthread</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/os/unix/thread/trait.JoinHandleExt.html"><code>JoinHandleExt</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/os/unix/thread/trait.JoinHandleExt.html#tymethod.as_pthread_t"><code>JoinHandleExt::as_pthread_t</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/os/unix/thread/trait.JoinHandleExt.html#tymethod.into_pthread_t"><code>JoinHandleExt::into_pthread_t</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.hasher"><code>HashSet::hasher</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/collections/struct.HashMap.html#method.hasher"><code>HashMap::hasher</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/os/unix/process/trait.CommandExt.html#tymethod.exec"><code>CommandExt::exec</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/fs/struct.File.html#method.try_clone"><code>File::try_clone</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/enum.SocketAddr.html#method.set_ip"><code>SocketAddr::set_ip</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/enum.SocketAddr.html#method.set_port"><code>SocketAddr::set_port</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV4.html#method.set_ip"><code>SocketAddrV4::set_ip</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV4.html#method.set_port"><code>SocketAddrV4::set_port</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV6.html#method.set_ip"><code>SocketAddrV6::set_ip</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV6.html#method.set_port"><code>SocketAddrV6::set_port</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV6.html#method.set_flowinfo"><code>SocketAddrV6::set_flowinfo</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV6.html#method.set_scope_id"><code>SocketAddrV6::set_scope_id</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.copy_from_slice"><code>slice::copy_from_slice</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/ptr/fn.read_volatile.html"><code>ptr::read_volatile</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/ptr/fn.write_volatile.html"><code>ptr::write_volatile</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/fs/struct.OpenOptions.html#method.create_new"><code>OpenOptions::create_new</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_nodelay"><code>TcpStream::set_nodelay</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.nodelay"><code>TcpStream::nodelay</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_ttl"><code>TcpStream::set_ttl</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.ttl"><code>TcpStream::ttl</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_only_v6"><code>TcpStream::set_only_v6</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.only_v6"><code>TcpStream::only_v6</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.take_error"><code>TcpStream::take_error</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_nonblocking"><code>TcpStream::set_nonblocking</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_ttl"><code>TcpListener::set_ttl</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.ttl"><code>TcpListener::ttl</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_only_v6"><code>TcpListener::set_only_v6</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.only_v6"><code>TcpListener::only_v6</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.take_error"><code>TcpListener::take_error</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_nonblocking"><code>TcpListener::set_nonblocking</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_broadcast"><code>UdpSocket::set_broadcast</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.broadcast"><code>UdpSocket::broadcast</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_multicast_loop_v4"><code>UdpSocket::set_multicast_loop_v4</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.multicast_loop_v4"><code>UdpSocket::multicast_loop_v4</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_multicast_ttl_v4"><code>UdpSocket::set_multicast_ttl_v4</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.multicast_ttl_v4"><code>UdpSocket::multicast_ttl_v4</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_multicast_loop_v6"><code>UdpSocket::set_multicast_loop_v6</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.multicast_loop_v6"><code>UdpSocket::multicast_loop_v6</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_multicast_ttl_v6"><code>UdpSocket::set_multicast_ttl_v6</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.multicast_ttl_v6"><code>UdpSocket::multicast_ttl_v6</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_ttl"><code>UdpSocket::set_ttl</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.ttl"><code>UdpSocket::ttl</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_only_v6"><code>UdpSocket::set_only_v6</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.only_v6"><code>UdpSocket::only_v6</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.join_multicast_v4"><code>UdpSocket::join_multicast_v4</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.join_multicast_v6"><code>UdpSocket::join_multicast_v6</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.leave_multicast_v4"><code>UdpSocket::leave_multicast_v4</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.leave_multicast_v6"><code>UdpSocket::leave_multicast_v6</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.take_error"><code>UdpSocket::take_error</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.connect"><code>UdpSocket::connect</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.send"><code>UdpSocket::send</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.recv"><code>UdpSocket::recv</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_nonblocking"><code>UdpSocket::set_nonblocking</code></a></li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/32325"><code>std::sync::Once</code> is poisoned if its initialization function
fails</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/32652"><code>cell::Ref</code> and <code>cell::RefMut</code> can contain unsized types</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/32054">Most types implement <code>fmt::Debug</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/32695">The default buffer size used by <code>BufReader</code> and <code>BufWriter</code> was
reduced to 8K, from 64K</a>. This is in line with the buffer size
used by other languages.</li>
<li><a href="https://github.com/rust-lang/rust/pull/32448"><code>Instant</code>, <code>SystemTime</code> and <code>Duration</code> implement <code>+=</code> and <code>-=</code>.
<code>Duration</code> additionally implements <code>*=</code> and <code>/=</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/31700"><code>Skip</code> is a <code>DoubleEndedIterator</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/32050"><code>From&lt;[u8; 4]&gt;</code> is implemented for <code>Ipv4Addr</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/32541"><code>Chain</code> implements <code>BufRead</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/32635"><code>HashMap</code>, <code>HashSet</code> and iterators are covariant</a>.</li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/2486">Cargo can now run concurrently</a>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2385">Top-level overrides allow specific revisions of crates to be
overridden through the entire crate graph</a>.  This is intended
to make upgrades easier for large projects, by allowing crates to be
forked temporarily until they've been upgraded and republished.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2465">Cargo exports a <code>CARGO_PKG_AUTHORS</code> environment variable</a>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2241">Cargo will pass the contents of the <code>RUSTFLAGS</code> variable to <code>rustc</code>
on the commandline</a>. <code>rustc</code> arguments can also be specified
in the <code>build.rustflags</code> configuration key.</li>
</ul>
<h2>Performance</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/32062">The time complexity of comparing variables for equivalence during type
unification is reduced from <em>O</em>(<em>n</em>!) to <em>O</em>(<em>n</em>)</a>. This leads
to major compilation time improvement in some scenarios.</li>
<li><a href="https://github.com/rust-lang/rust/pull/32586"><code>ToString</code> is specialized for <code>str</code>, giving it the same performance
as <code>to_owned</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/31618">Spawning processes with <code>Command::output</code> no longer creates extra
threads</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/31977"><code>#[derive(PartialEq)]</code> and <code>#[derive(PartialOrd)]</code> emit less code
for C-like enums</a>.</li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/31887">Passing the <code>--quiet</code> flag to a test runner will produce
much-abbreviated output</a>.</li>
<li>The Rust Project now publishes std binaries for the
<code>mips-unknown-linux-musl</code>, <code>mipsel-unknown-linux-musl</code>, and
<code>i586-pc-windows-msvc</code> targets.</li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/32325"><code>std::sync::Once</code> is poisoned if its initialization function
fails</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/31925">It is illegal to define methods with the same name in overlapping
inherent <code>impl</code> blocks</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/31710"><code>fn</code> item types are zero sized, and each <code>fn</code> names a unique
type</a>. This will break code that transmutes <code>fn</code>s, so calling
<code>transmute</code> on a <code>fn</code> type will generate a warning for a few cycles,
then will be converted to an error.</li>
<li><a href="https://github.com/rust-lang/rust/pull/30587">Improvements to const evaluation may trigger new errors when integer
literals are out of range</a>.</li>
</ul>
<h1>Version 1.8.0 (2016-04-14)</h1>
<h2>Language</h2>
<ul>
<li>Rust supports overloading of compound assignment statements like
<code>+=</code> by implementing the <a href="http://doc.rust-lang.org/nightly/std/ops/trait.AddAssign.html"><code>AddAssign</code></a>, <a href="http://doc.rust-lang.org/nightly/std/ops/trait.SubAssign.html"><code>SubAssign</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/ops/trait.MulAssign.html"><code>MulAssign</code></a>, <a href="http://doc.rust-lang.org/nightly/std/ops/trait.DivAssign.html"><code>DivAssign</code></a>, <a href="http://doc.rust-lang.org/nightly/std/ops/trait.RemAssign.html"><code>RemAssign</code></a>, <a href="http://doc.rust-lang.org/nightly/std/ops/trait.BitAndAssign.html"><code>BitAndAssign</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/ops/trait.BitOrAssign.html"><code>BitOrAssign</code></a>, <a href="http://doc.rust-lang.org/nightly/std/ops/trait.BitXorAssign.html"><code>BitXorAssign</code></a>, <a href="http://doc.rust-lang.org/nightly/std/ops/trait.ShlAssign.html"><code>ShlAssign</code></a>, or <a href="http://doc.rust-lang.org/nightly/std/ops/trait.ShrAssign.html"><code>ShrAssign</code></a>
traits. <a href="https://github.com/rust-lang/rfcs/blob/master/text/0953-op-assign.md">RFC 953</a>.</li>
<li>Empty structs can be defined with braces, as in <code>struct Foo { }</code>, in
addition to the non-braced form, <code>struct Foo;</code>. <a href="https://github.com/rust-lang/rfcs/blob/master/text/0218-empty-struct-with-braces.md">RFC 218</a>.</li>
</ul>
<h2>Libraries</h2>
<ul>
<li>Stabilized APIs:
<ul>
<li><a href="http://doc.rust-lang.org/nightly/std/primitive.str.html#method.encode_utf16"><code>str::encode_utf16</code></a> (renamed from <code>utf16_units</code>)</li>
<li><a href="http://doc.rust-lang.org/nightly/std/str/struct.EncodeUtf16.html"><code>str::EncodeUtf16</code></a> (renamed from <code>Utf16Units</code>)</li>
<li><a href="http://doc.rust-lang.org/nightly/std/cell/struct.Ref.html#method.map"><code>Ref::map</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/cell/struct.RefMut.html#method.map"><code>RefMut::map</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/ptr/fn.drop_in_place.html"><code>ptr::drop_in_place</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/time/struct.Instant.html"><code>time::Instant</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/time/struct.SystemTime.html"><code>time::SystemTime</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/time/struct.Instant.html#method.now"><code>Instant::now</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/time/struct.Instant.html#method.duration_since"><code>Instant::duration_since</code></a> (renamed from <code>duration_from_earlier</code>)</li>
<li><a href="http://doc.rust-lang.org/nightly/std/time/struct.Instant.html#method.elapsed"><code>Instant::elapsed</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/time/struct.SystemTime.html#method.now"><code>SystemTime::now</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/time/struct.SystemTime.html#method.duration_since"><code>SystemTime::duration_since</code></a> (renamed from <code>duration_from_earlier</code>)</li>
<li><a href="http://doc.rust-lang.org/nightly/std/time/struct.SystemTime.html#method.elapsed"><code>SystemTime::elapsed</code></a></li>
<li>Various <code>Add</code>/<code>Sub</code> impls for <code>Time</code> and <code>SystemTime</code></li>
<li><a href="http://doc.rust-lang.org/nightly/std/time/struct.SystemTimeError.html"><code>SystemTimeError</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/time/struct.SystemTimeError.html#method.duration"><code>SystemTimeError::duration</code></a></li>
<li>Various impls for <code>SystemTimeError</code></li>
<li><a href="http://doc.rust-lang.org/nightly/std/time/constant.UNIX_EPOCH.html"><code>UNIX_EPOCH</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/ops/trait.AddAssign.html"><code>AddAssign</code></a>, <a href="http://doc.rust-lang.org/nightly/std/ops/trait.SubAssign.html"><code>SubAssign</code></a>, <a href="http://doc.rust-lang.org/nightly/std/ops/trait.MulAssign.html"><code>MulAssign</code></a>, <a href="http://doc.rust-lang.org/nightly/std/ops/trait.DivAssign.html"><code>DivAssign</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/ops/trait.RemAssign.html"><code>RemAssign</code></a>, <a href="http://doc.rust-lang.org/nightly/std/ops/trait.BitAndAssign.html"><code>BitAndAssign</code></a>, <a href="http://doc.rust-lang.org/nightly/std/ops/trait.BitOrAssign.html"><code>BitOrAssign</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/ops/trait.BitXorAssign.html"><code>BitXorAssign</code></a>, <a href="http://doc.rust-lang.org/nightly/std/ops/trait.ShlAssign.html"><code>ShlAssign</code></a>, <a href="http://doc.rust-lang.org/nightly/std/ops/trait.ShrAssign.html"><code>ShrAssign</code></a>.</li>
</ul>
</li>
<li><a href="https://github.com/rust-lang/rust/pull/31904">The <code>write!</code> and <code>writeln!</code> macros correctly emit errors if any of
their arguments can't be formatted</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/31668">Various I/O functions support large files on 32-bit Linux</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/31551">The Unix-specific <code>raw</code> modules, which contain a number of
redefined C types are deprecated</a>, including <code>os::raw::unix</code>,
<code>os::raw::macos</code>, and <code>os::raw::linux</code>. These modules defined types
such as <code>ino_t</code> and <code>dev_t</code>. The inconsistency of these definitions
across platforms was making it difficult to implement <code>std</code>
correctly. Those that need these definitions should use the <code>libc</code>
crate. <a href="https://github.com/rust-lang/rfcs/blob/master/text/1415-trim-std-os.md">RFC 1415</a>.</li>
<li>The Unix-specific <code>MetadataExt</code> traits, including
<code>os::unix::fs::MetadataExt</code>, which expose values such as inode
numbers <a href="https://github.com/rust-lang/rust/pull/31551">no longer return platform-specific types</a>, but
instead return widened integers. <a href="https://github.com/rust-lang/rfcs/blob/master/text/1415-trim-std-os.md">RFC 1415</a>.</li>
<li><a href="https://github.com/rust-lang/cargo/issues/2365"><code>btree_set::{IntoIter, Iter, Range}</code> are covariant</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/30962">Atomic loads and stores are not volatile</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/30894">All types in <code>sync::mpsc</code> implement <code>fmt::Debug</code></a>.</li>
</ul>
<h2>Performance</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/31460">Inlining hash functions lead to a 3% compile-time improvement in
some workloads</a>.</li>
<li>When using jemalloc, its symbols are <a href="https://github.com/rust-lang/rust/pull/31460">unprefixed so that it
overrides the libc malloc implementation</a>. This means that for
rustc, LLVM is now using jemalloc, which results in a 6%
compile-time improvement on a specific workload.</li>
<li><a href="https://github.com/rust-lang/rust/pull/31390">Avoid quadratic growth in function size due to cleanups</a>.</li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/30448">32-bit MSVC builds finally implement unwinding</a>.
i686-pc-windows-msvc is now considered a tier-1 platform.</li>
<li><a href="https://github.com/rust-lang/rust/pull/31358">The <code>--print targets</code> flag prints a list of supported targets</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/31278">The <code>--print cfg</code> flag prints the <code>cfg</code>s defined for the current
target</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/31123"><code>rustc</code> can be built with an new Cargo-based build system, written
in Rust</a>.  It will eventually replace Rust's Makefile-based
build system. To enable it configure with <code>configure --rustbuild</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/31020">Errors for non-exhaustive <code>match</code> patterns now list up to 3 missing
variants while also indicating the total number of missing variants
if more than 3</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/30859">Executable stacks are disabled on Linux and BSD</a>.</li>
<li>The Rust Project now publishes binary releases of the standard
library for a number of tier-2 targets:
<code>armv7-unknown-linux-gnueabihf</code>, <code>powerpc-unknown-linux-gnu</code>,
<code>powerpc64-unknown-linux-gnu</code>, <code>powerpc64le-unknown-linux-gnu</code>
<code>x86_64-rumprun-netbsd</code>. These can be installed with
tools such as <a href="https://users.rust-lang.org/t/multirust-0-8-with-cross-std-installation/4901">multirust</a>.</li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/2081"><code>cargo init</code> creates a new Cargo project in the current
directory</a>.  It is otherwise like <code>cargo new</code>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2397">Cargo has configuration keys for <code>-v</code> and
<code>--color</code></a>. <code>verbose</code> and <code>color</code>, respectively, go in the
<code>[term]</code> section of <code>.cargo/config</code>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2398">Configuration keys that evaluate to strings or integers can be set
via environment variables</a>. For example the <code>build.jobs</code> key
can be set via <code>CARGO_BUILD_JOBS</code>. Environment variables take
precedence over config files.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2328">Target-specific dependencies support Rust <code>cfg</code> syntax for
describing targets</a> so that dependencies for multiple
targets can be specified together. <a href="https://github.com/rust-lang/rfcs/blob/master/text/1361-cargo-cfg-dependencies.md">RFC 1361</a>.</li>
<li><a href="https://github.com/rust-lang/cargo/issues/2365">The environment variables <code>CARGO_TARGET_ROOT</code>, <code>RUSTC</code>, and
<code>RUSTDOC</code> take precedence over the <code>build.target-dir</code>,
<code>build.rustc</code>, and <code>build.rustdoc</code> configuration values</a>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2370">The child process tree is killed on Windows when Cargo is
killed</a>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2335">The <code>build.target</code> configuration value sets the target platform,
like <code>--target</code></a>.</li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/31793">Unstable compiler flags have been further restricted</a>. Since
1.0 <code>-Z</code> flags have been considered unstable, and other flags that
were considered unstable additionally required passing <code>-Z unstable-options</code> to access. Unlike unstable language and library
features though, these options have been accessible on the stable
release channel. Going forward, <em>new unstable flags will not be
available on the stable release channel</em>, and old unstable flags
will warn about their usage. In the future, all unstable flags will
be unavailable on the stable release channel.</li>
<li><a href="https://github.com/rust-lang/rust/pull/31757">It is no longer possible to <code>match</code> on empty enum variants using
the <code>Variant(..)</code> syntax</a>. This has been a warning since 1.6.</li>
<li>The Unix-specific <code>MetadataExt</code> traits, including
<code>os::unix::fs::MetadataExt</code>, which expose values such as inode
numbers <a href="https://github.com/rust-lang/rust/pull/31551">no longer return platform-specific types</a>, but
instead return widened integers. <a href="https://github.com/rust-lang/rfcs/blob/master/text/1415-trim-std-os.md">RFC 1415</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/31534">Modules sourced from the filesystem cannot appear within arbitrary
blocks, but only within other modules</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/31530"><code>--cfg</code> compiler flags are parsed strictly as identifiers</a>.</li>
<li>On Unix, <a href="https://github.com/rust-lang/rust/pull/31333">stack overflow triggers a runtime abort instead of a
SIGSEGV</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/31056"><code>Command::spawn</code> and its equivalents return an error if any of
its command-line arguments contain interior <code>NUL</code>s</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/30882">Tuple and unit enum variants from other crates are in the type
namespace</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/29520">On Windows <code>rustc</code> emits <code>.lib</code> files for the <code>staticlib</code> library
type instead of <code>.a</code> files</a>. Additionally, for the MSVC
toolchain, <code>rustc</code> emits import libraries named <code>foo.dll.lib</code>
instead of <code>foo.lib</code>.</li>
</ul>
<h1>Version 1.7.0 (2016-03-03)</h1>
<h2>Libraries</h2>
<ul>
<li>Stabilized APIs
<ul>
<li><code>Path</code>
<ul>
<li><a href="http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.strip_prefix"><code>Path::strip_prefix</code></a> (renamed from relative_from)</li>
<li><a href="http://doc.rust-lang.org/nightly/std/path/struct.StripPrefixError.html"><code>path::StripPrefixError</code></a> (new error type returned from strip_prefix)</li>
</ul>
</li>
<li><code>Ipv4Addr</code>
<ul>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_loopback"><code>Ipv4Addr::is_loopback</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_private"><code>Ipv4Addr::is_private</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_link_local"><code>Ipv4Addr::is_link_local</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_multicast"><code>Ipv4Addr::is_multicast</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_broadcast"><code>Ipv4Addr::is_broadcast</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_documentation"><code>Ipv4Addr::is_documentation</code></a></li>
</ul>
</li>
<li><code>Ipv6Addr</code>
<ul>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.Ipv6Addr.html#method.is_unspecified"><code>Ipv6Addr::is_unspecified</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.Ipv6Addr.html#method.is_loopback"><code>Ipv6Addr::is_loopback</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/net/struct.Ipv6Addr.html#method.is_multicast"><code>Ipv6Addr::is_multicast</code></a></li>
</ul>
</li>
<li><code>Vec</code>
<ul>
<li><a href="http://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#method.as_slice"><code>Vec::as_slice</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#method.as_mut_slice"><code>Vec::as_mut_slice</code></a></li>
</ul>
</li>
<li><code>String</code>
<ul>
<li><a href="http://doc.rust-lang.org/nightly/std/string/struct.String.html#method.as_str"><code>String::as_str</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/string/struct.String.html#method.as_mut_str"><code>String::as_mut_str</code></a></li>
</ul>
</li>
<li>Slices
<ul>
<li><code>&lt;[T]&gt;::</code><a href="http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.clone_from_slice"><code>clone_from_slice</code></a>, which now requires the two slices to
be the same length</li>
<li><code>&lt;[T]&gt;::</code><a href="http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.sort_by_key"><code>sort_by_key</code></a></li>
</ul>
</li>
<li>checked, saturated, and overflowing operations
<ul>
<li><a href="http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.checked_rem"><code>i32::checked_rem</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.checked_neg"><code>i32::checked_neg</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.checked_shl"><code>i32::checked_shl</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.checked_shr"><code>i32::checked_shr</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.saturating_mul"><code>i32::saturating_mul</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_add"><code>i32::overflowing_add</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_sub"><code>i32::overflowing_sub</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_mul"><code>i32::overflowing_mul</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_div"><code>i32::overflowing_div</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_rem"><code>i32::overflowing_rem</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_neg"><code>i32::overflowing_neg</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_shl"><code>i32::overflowing_shl</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_shr"><code>i32::overflowing_shr</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.checked_rem"><code>u32::checked_rem</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.checked_neg"><code>u32::checked_neg</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.checked_shl"><code>u32::checked_shl</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.checked_shl"><code>u32::checked_shl</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.saturating_mul"><code>u32::saturating_mul</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_add"><code>u32::overflowing_add</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_sub"><code>u32::overflowing_sub</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_mul"><code>u32::overflowing_mul</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_div"><code>u32::overflowing_div</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_rem"><code>u32::overflowing_rem</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_neg"><code>u32::overflowing_neg</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_shl"><code>u32::overflowing_shl</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_shr"><code>u32::overflowing_shr</code></a></li>
<li>and checked, saturated, and overflowing operations for other primitive types</li>
</ul>
</li>
<li>FFI
<ul>
<li><a href="http://doc.rust-lang.org/nightly/std/ffi/struct.IntoStringError.html"><code>ffi::IntoStringError</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.into_string"><code>CString::into_string</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.into_bytes"><code>CString::into_bytes</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.into_bytes_with_nul"><code>CString::into_bytes_with_nul</code></a></li>
<li><code>From&lt;CString&gt; for Vec&lt;u8&gt;</code></li>
</ul>
</li>
<li><code>IntoStringError</code>
<ul>
<li><a href="http://doc.rust-lang.org/nightly/std/ffi/struct.IntoStringError.html#method.into_cstring"><code>IntoStringError::into_cstring</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/ffi/struct.IntoStringError.html#method.utf8_error"><code>IntoStringError::utf8_error</code></a></li>
<li><code>Error for IntoStringError</code></li>
</ul>
</li>
<li>Hashing
<ul>
<li><a href="http://doc.rust-lang.org/nightly/std/hash/trait.BuildHasher.html"><code>std::hash::BuildHasher</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/hash/trait.Hasher.html"><code>BuildHasher::Hasher</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/hash/trait.BuildHasher.html#tymethod.build_hasher"><code>BuildHasher::build_hasher</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/hash/struct.BuildHasherDefault.html"><code>std::hash::BuildHasherDefault</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/collections/struct.HashMap.html#method.with_hasher"><code>HashMap::with_hasher</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/collections/struct.HashMap.html#method.with_capacity_and_hasher"><code>HashMap::with_capacity_and_hasher</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.with_hasher"><code>HashSet::with_hasher</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.with_capacity_and_hasher"><code>HashSet::with_capacity_and_hasher</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/collections/hash_map/struct.RandomState.html"><code>std::collections::hash_map::RandomState</code></a></li>
<li><a href="http://doc.rust-lang.org/nightly/std/collections/hash_map/struct.RandomState.html#method.new"><code>RandomState::new</code></a></li>
</ul>
</li>
</ul>
</li>
<li><a href="https://github.com/rust-lang/rust/pull/30740">Validating UTF-8 is faster by a factor of between 7 and 14x for
ASCII input</a>. This means that creating <code>String</code>s and <code>str</code>s
from bytes is faster.</li>
<li><a href="https://github.com/rust-lang/rust/pull/30381">The performance of <code>LineWriter</code> (and thus <code>io::stdout</code>) was
improved by using <code>memchr</code> to search for newlines</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/30672"><code>f32::to_degrees</code> and <code>f32::to_radians</code> are stable</a>. The
<code>f64</code> variants were stabilized previously.</li>
<li><a href="https://github.com/rust-lang/rust/pull/30426"><code>BTreeMap</code> was rewritten to use less memory and improve the performance
of insertion and iteration, the latter by as much as 5x</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/30998"><code>BTreeSet</code> and its iterators, <code>Iter</code>, <code>IntoIter</code>, and <code>Range</code> are
covariant over their contained type</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/30663"><code>LinkedList</code> and its iterators, <code>Iter</code> and <code>IntoIter</code> are covariant
over their contained type</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/29498"><code>str::replace</code> now accepts a <code>Pattern</code></a>, like other string
searching methods.</li>
<li><a href="https://github.com/rust-lang/rust/pull/30928"><code>Any</code> is implemented for unsized types</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/30818"><code>Hash</code> is implemented for <code>Duration</code></a>.</li>
</ul>
<h2>Misc</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/30372">When running tests with <code>--test</code>, rustdoc will pass <code>--cfg</code>
arguments to the compiler</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/30353">The compiler is built with RPATH information by default</a>.
This means that it will be possible to run <code>rustc</code> when installed in
unusual configurations without configuring the dynamic linker search
path explicitly.</li>
<li><a href="https://github.com/rust-lang/rust/pull/30394"><code>rustc</code> passes <code>--enable-new-dtags</code> to GNU ld</a>. This makes
any RPATH entries (emitted with <code>-C rpath</code>) <em>not</em> take precedence
over <code>LD_LIBRARY_PATH</code>.</li>
</ul>
<h2>Cargo</h2>
<ul>
<li><a href="https://github.com/rust-lang/cargo/pull/2224"><code>cargo rustc</code> accepts a <code>--profile</code> flag that runs <code>rustc</code> under
any of the compilation profiles, 'dev', 'bench', or 'test'</a>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/2279">The <code>rerun-if-changed</code> build script directive no longer causes the
build script to incorrectly run twice in certain scenarios</a>.</li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li>Soundness fixes to the interactions between associated types and
lifetimes, specified in <a href="https://github.com/rust-lang/rfcs/blob/master/text/1214-projections-lifetimes-and-wf.md">RFC 1214</a>, <a href="https://github.com/rust-lang/rust/pull/30389">now generate errors</a> for
code that violates the new rules. This is a significant change that
is known to break existing code, so it has emitted warnings for the
new error cases since 1.4 to give crate authors time to adapt. The
details of what is changing are subtle; read the RFC for more.</li>
<li><a href="https://github.com/rust-lang/rust/pull/29973">Several bugs in the compiler's visibility calculations were
fixed</a>. Since this was found to break significant amounts of
code, the new errors will be emitted as warnings for several release
cycles, under the <code>private_in_public</code> lint.</li>
<li>Defaulted type parameters were accidentally accepted in positions
that were not intended. In this release, <a href="https://github.com/rust-lang/rust/pull/30724">defaulted type parameters
appearing outside of type definitions will generate a
warning</a>, which will become an error in future releases.</li>
<li><a href="https://github.com/rust-lang/rust/pull/30681">Parsing "." as a float results in an error instead of 0</a>.
That is, <code>".".parse::&lt;f32&gt;()</code> returns <code>Err</code>, not <code>Ok(0.0)</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/30341">Borrows of closure parameters may not outlive the closure</a>.</li>
</ul>
<h1>Version 1.6.0 (2016-01-21)</h1>
<h2>Language</h2>
<ul>
<li>The <code>#![no_std]</code> attribute causes a crate to not be linked to the
standard library, but only the <a href="http://doc.rust-lang.org/core/index.html">core library</a>, as described
in <a href="https://github.com/rust-lang/rfcs/blob/master/text/1184-stabilize-no_std.md">RFC 1184</a>. The core library defines common types and traits but
has no platform dependencies whatsoever, and is the basis for Rust
software in environments that cannot support a full port of the
standard library, such as operating systems. Most of the core
library is now stable.</li>
</ul>
<h2>Libraries</h2>
<ul>
<li>Stabilized APIs:
<a href="http://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.read_exact"><code>Read::read_exact</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/io/enum.ErrorKind.html#variant.UnexpectedEof"><code>ErrorKind::UnexpectedEof</code></a> (renamed from <code>UnexpectedEOF</code>),
<a href="http://doc.rust-lang.org/nightly/std/fs/struct.DirBuilder.html"><code>fs::DirBuilder</code></a>, <a href="http://doc.rust-lang.org/nightly/std/fs/struct.DirBuilder.html#method.new"><code>fs::DirBuilder::new</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/fs/struct.DirBuilder.html#method.recursive"><code>fs::DirBuilder::recursive</code></a>, <a href="http://doc.rust-lang.org/nightly/std/fs/struct.DirBuilder.html#method.create"><code>fs::DirBuilder::create</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.DirBuilderExt.html"><code>os::unix::fs::DirBuilderExt</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.DirBuilderExt.html#tymethod.mode"><code>os::unix::fs::DirBuilderExt::mode</code></a>, <a href="http://doc.rust-lang.org/nightly/std/vec/struct.Drain.html"><code>vec::Drain</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#method.drain"><code>vec::Vec::drain</code></a>, <a href="http://doc.rust-lang.org/nightly/std/string/struct.Drain.html"><code>string::Drain</code></a>, <a href="http://doc.rust-lang.org/nightly/std/string/struct.String.html#method.drain"><code>string::String::drain</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/collections/vec_deque/struct.Drain.html"><code>vec_deque::Drain</code></a>, <a href="http://doc.rust-lang.org/nightly/std/collections/vec_deque/struct.VecDeque.html#method.drain"><code>vec_deque::VecDeque::drain</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/collections/hash_map/struct.Drain.html"><code>collections::hash_map::Drain</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/collections/hash_map/struct.HashMap.html#method.drain"><code>collections::hash_map::HashMap::drain</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/collections/hash_set/struct.Drain.html"><code>collections::hash_set::Drain</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/collections/hash_set/struct.HashSet.html#method.drain"><code>collections::hash_set::HashSet::drain</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/collections/binary_heap/struct.Drain.html"><code>collections::binary_heap::Drain</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/collections/binary_heap/struct.BinaryHeap.html#method.drain"><code>collections::binary_heap::BinaryHeap::drain</code></a>,
<a href="http://doc.rust-lang.org/nightly/collections/vec/struct.Vec.html#method.extend_from_slice"><code>Vec::extend_from_slice</code></a> (renamed from <code>push_all</code>),
<a href="http://doc.rust-lang.org/nightly/std/sync/struct.Mutex.html#method.get_mut"><code>Mutex::get_mut</code></a>, <a href="http://doc.rust-lang.org/nightly/std/sync/struct.Mutex.html#method.into_inner"><code>Mutex::into_inner</code></a>, <a href="http://doc.rust-lang.org/nightly/std/sync/struct.RwLock.html#method.get_mut"><code>RwLock::get_mut</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/sync/struct.RwLock.html#method.into_inner"><code>RwLock::into_inner</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/iter/trait.Iterator.html#method.min_by_key"><code>Iterator::min_by_key</code></a> (renamed from <code>min_by</code>),
<a href="http://doc.rust-lang.org/nightly/std/iter/trait.Iterator.html#method.max_by_key"><code>Iterator::max_by_key</code></a> (renamed from <code>max_by</code>).</li>
<li>The <a href="http://doc.rust-lang.org/core/index.html">core library</a> is stable, as are most of its APIs.</li>
<li><a href="https://github.com/rust-lang/rust/pull/29770">The <code>assert_eq!</code> macro supports arguments that don't implement
<code>Sized</code></a>, such as arrays. In this way it behaves more like
<code>assert!</code>.</li>
<li>Several timer functions that take duration in milliseconds <a href="https://github.com/rust-lang/rust/pull/29604">are
deprecated in favor of those that take <code>Duration</code></a>. These
include <code>Condvar::wait_timeout_ms</code>, <code>thread::sleep_ms</code>, and
<code>thread::park_timeout_ms</code>.</li>
<li>The algorithm by which <code>Vec</code> reserves additional elements was
<a href="https://github.com/rust-lang/rust/pull/29454">tweaked to not allocate excessive space</a> while still growing
exponentially.</li>
<li><code>From</code> conversions are <a href="https://github.com/rust-lang/rust/pull/29129">implemented from integers to floats</a>
in cases where the conversion is lossless. Thus they are not
implemented for 32-bit ints to <code>f32</code>, nor for 64-bit ints to <code>f32</code>
or <code>f64</code>. They are also not implemented for <code>isize</code> and <code>usize</code>
because the implementations would be platform-specific. <code>From</code> is
also implemented from <code>f32</code> to <code>f64</code>.</li>
<li><code>From&lt;&amp;Path&gt;</code> and <code>From&lt;PathBuf&gt;</code> are implemented for <code>Cow&lt;Path&gt;</code>.</li>
<li><code>From&lt;T&gt;</code> is implemented for <code>Box&lt;T&gt;</code>, <code>Rc&lt;T&gt;</code> and <code>Arc&lt;T&gt;</code>.</li>
<li><code>IntoIterator</code> is implemented for <code>&amp;PathBuf</code> and <code>&amp;Path</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/29811"><code>BinaryHeap</code> was refactored</a> for modest performance
improvements.</li>
<li>Sorting slices that are already sorted <a href="https://github.com/rust-lang/rust/pull/29675">is 50% faster in some
cases</a>.</li>
</ul>
<h2>Cargo</h2>
<ul>
<li>Cargo will look in <code>$CARGO_HOME/bin</code> for subcommands <a href="https://github.com/rust-lang/cargo/pull/2192">by default</a>.</li>
<li>Cargo build scripts can specify their dependencies by emitting the
<a href="https://github.com/rust-lang/cargo/pull/2134"><code>rerun-if-changed</code></a> key.</li>
<li>crates.io will reject publication of crates with dependencies that
have a wildcard version constraint. Crates with wildcard
dependencies were seen to cause a variety of problems, as described
in <a href="https://github.com/rust-lang/rfcs/blob/master/text/1241-no-wildcard-deps.md">RFC 1241</a>. Since 1.5 publication of such crates has emitted a
warning.</li>
<li><code>cargo clean</code> <a href="https://github.com/rust-lang/cargo/pull/2131">accepts a <code>--release</code> flag</a> to clean the
release folder.  A variety of artifacts that Cargo failed to clean
are now correctly deleted.</li>
</ul>
<h2>Misc</h2>
<ul>
<li>The <code>unreachable_code</code> lint <a href="https://github.com/rust-lang/rust/pull/30000">warns when a function call's argument
diverges</a>.</li>
<li>The parser indicates <a href="https://github.com/rust-lang/rust/pull/29837">failures that may be caused by
confusingly-similar Unicode characters</a></li>
<li>Certain macro errors <a href="https://github.com/rust-lang/rust/pull/29828">are reported at definition time</a>, not
expansion.</li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li>The compiler no longer makes use of the <a href="https://github.com/rust-lang/rust/pull/30034"><code>RUST_PATH</code></a>
environment variable when locating crates. This was a pre-cargo
feature for integrating with the package manager that was
accidentally never removed.</li>
<li><a href="https://github.com/rust-lang/rust/pull/29726">A number of bugs were fixed in the privacy checker</a> that
could cause previously-accepted code to break.</li>
<li><a href="https://github.com/rust-lang/rust/issues/21546">Modules and unit/tuple structs may not share the same name</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/29383">Bugs in pattern matching unit structs were fixed</a>. The tuple
struct pattern syntax (<code>Foo(..)</code>) can no longer be used to match
unit structs. This is a warning now, but will become an error in
future releases. Patterns that share the same name as a const are
now an error.</li>
<li>A bug was fixed that causes <a href="https://github.com/rust-lang/rust/issues/30123">rustc not to apply default type
parameters</a> when resolving certain method implementations of
traits defined in other crates.</li>
</ul>
<h1>Version 1.5.0 (2015-12-10)</h1>
<ul>
<li>~700 changes, numerous bugfixes</li>
</ul>
<h2>Highlights</h2>
<ul>
<li>Stabilized APIs:
<a href="http://doc.rust-lang.org/nightly/std/convert/trait.From.html#method.from"><code>BinaryHeap::from</code></a>, <a href="http://doc.rust-lang.org/nightly/std/collections/struct.BinaryHeap.html#method.into_sorted_vec"><code>BinaryHeap::into_sorted_vec</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/collections/struct.BinaryHeap.html#method.into_vec"><code>BinaryHeap::into_vec</code></a>, <a href="http://doc.rust-lang.org/nightly/std/sync/struct.Condvar.html#method.wait_timeout"><code>Condvar::wait_timeout</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.FileTypeExt.html#tymethod.is_block_device"><code>FileTypeExt::is_block_device</code></a>, <a href="http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.FileTypeExt.html#tymethod.is_char_device"><code>FileTypeExt::is_char_device</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.FileTypeExt.html#tymethod.is_fifo"><code>FileTypeExt::is_fifo</code></a>, <a href="http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.FileTypeExt.html#tymethod.is_socket"><code>FileTypeExt::is_socket</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.FileTypeExt.html"><code>FileTypeExt</code></a>, <a href="http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.alternate"><code>Formatter::alternate</code></a>, <a href="http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.fill"><code>Formatter::fill</code></a>,
<a href="http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.precision"><code>Formatter::precision</code></a>, <a href="http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.sign_aware_zero_pad"><code>Formatter::sign_aware_zero_pad</code></a>,
<a href="http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.sign_minus"><code>Formatter::sign_minus</code></a>, <a href="http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.sign_plus"><code>Formatter::sign_plus</code></a>,
<a href="http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.width"><code>Formatter::width</code></a>, <a href="http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.cmp"><code>Iterator::cmp</code></a>, <a href="http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.eq"><code>Iterator::eq</code></a>,
<a href="http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.ge"><code>Iterator::ge</code></a>, <a href="http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.gt"><code>Iterator::gt</code></a>, <a href="http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.le"><code>Iterator::le</code></a>,
<a href="http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.lt"><code>Iterator::lt</code></a>, <a href="http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.ne"><code>Iterator::ne</code></a>, <a href="http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.partial_cmp"><code>Iterator::partial_cmp</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.canonicalize"><code>Path::canonicalize</code></a>, <a href="http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.exists"><code>Path::exists</code></a>, <a href="http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.is_dir"><code>Path::is_dir</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.is_file"><code>Path::is_file</code></a>, <a href="http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.metadata"><code>Path::metadata</code></a>, <a href="http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.read_dir"><code>Path::read_dir</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.read_link"><code>Path::read_link</code></a>, <a href="http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.symlink_metadata"><code>Path::symlink_metadata</code></a>,
<a href="http://doc.rust-lang.org/nightly/core/str/struct.Utf8Error.html#method.valid_up_to"><code>Utf8Error::valid_up_to</code></a>, <a href="http://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#method.resize"><code>Vec::resize</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.as_mut_slices"><code>VecDeque::as_mut_slices</code></a>, <a href="http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.as_slices"><code>VecDeque::as_slices</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.insert"><code>VecDeque::insert</code></a>, <a href="http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.shrink_to_fit"><code>VecDeque::shrink_to_fit</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.swap_remove_back"><code>VecDeque::swap_remove_back</code></a>, <a href="http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.swap_remove_front"><code>VecDeque::swap_remove_front</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.split_first_mut"><code>slice::split_first_mut</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.split_first"><code>slice::split_first</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.split_last_mut"><code>slice::split_last_mut</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.split_last"><code>slice::split_last</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/char/fn.from_u32_unchecked.html"><code>char::from_u32_unchecked</code></a>, <a href="http://doc.rust-lang.org/nightly/std/fs/fn.canonicalize.html"><code>fs::canonicalize</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/str/struct.MatchIndices.html"><code>str::MatchIndices</code></a>, <a href="http://doc.rust-lang.org/nightly/std/str/struct.RMatchIndices.html"><code>str::RMatchIndices</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/primitive.str.html#method.match_indices"><code>str::match_indices</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.str.html#method.rmatch_indices"><code>str::rmatch_indices</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/primitive.str.html#method.slice_mut_unchecked"><code>str::slice_mut_unchecked</code></a>, <a href="http://doc.rust-lang.org/nightly/std/string/enum.ParseError.html"><code>string::ParseError</code></a>.</li>
<li>Rust applications hosted on crates.io can be installed locally to
<code>~/.cargo/bin</code> with the <a href="https://github.com/rust-lang/rfcs/blob/master/text/1200-cargo-install.md"><code>cargo install</code></a> command. Among other
things this makes it easier to augment Cargo with new subcommands:
when a binary named e.g. <code>cargo-foo</code> is found in <code>$PATH</code> it can be
invoked as <code>cargo foo</code>.</li>
<li>Crates with wildcard (<code>*</code>) dependencies will <a href="https://github.com/rust-lang/rfcs/blob/master/text/1241-no-wildcard-deps.md">emit warnings when
published</a>. In 1.6 it will no longer be possible to publish
crates with wildcard dependencies.</li>
</ul>
<h2>Breaking Changes</h2>
<ul>
<li>The rules determining when a particular lifetime must outlive
a particular value (known as '<a href="https://doc.rust-lang.org/nightly/nomicon/dropck.html">dropck</a>') have been <a href="https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md">modified
to not rely on parametricity</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/28811">Implementations of <code>AsRef</code> and <code>AsMut</code> were added to <code>Box</code>, <code>Rc</code>,
and <code>Arc</code></a>. Because these smart pointer types implement
<code>Deref</code>, this causes breakage in cases where the interior type
contains methods of the same name.</li>
<li><a href="https://github.com/rust-lang/rust/pull/29110">Correct a bug in Rc/Arc</a> that caused <a href="https://doc.rust-lang.org/nightly/nomicon/dropck.html">dropck</a> to be unaware
that they could drop their content. Soundness fix.</li>
<li>All method invocations are <a href="https://github.com/rust-lang/rust/pull/28669">properly checked</a> for
<a href="https://github.com/rust-lang/rfcs/blob/master/text/1214-projections-lifetimes-and-wf.md">well-formedness</a>. Soundness fix.</li>
<li>Traits whose supertraits contain <code>Self</code> are <a href="https://github.com/rust-lang/rust/pull/29259">not object
safe</a>. Soundness fix.</li>
<li>Target specifications support a <a href="https://github.com/rust-lang/rust/pull/28578"><code>no_default_libraries</code></a>
setting that controls whether <code>-nodefaultlibs</code> is passed to the
linker, and in turn the <code>is_like_windows</code> setting no longer affects
the <code>-nodefaultlibs</code> flag.</li>
<li><code>#[derive(Show)]</code>, long-deprecated, <a href="https://github.com/rust-lang/rust/pull/29148">has been removed</a>.</li>
<li>The <code>#[inline]</code> and <code>#[repr]</code> attributes <a href="https://github.com/rust-lang/rust/pull/28650">can only appear
in valid locations</a>.</li>
<li>Native libraries linked from the local crate are <a href="https://github.com/rust-lang/rust/pull/28605">passed to
the linker before native libraries from upstream crates</a>.</li>
<li>Two rarely-used attributes, <code>#[no_debug]</code> and
<code>#[omit_gdb_pretty_printer_section]</code> <a href="https://github.com/rust-lang/rust/pull/28522">are feature gated</a>.</li>
<li>Negation of unsigned integers, which has been a warning for
several releases, <a href="https://github.com/rust-lang/rust/pull/28468">is now behind a feature gate and will
generate errors</a>.</li>
<li>The parser accidentally accepted visibility modifiers on
enum variants, a bug <a href="https://github.com/rust-lang/rust/pull/28442">which has been fixed</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/28364">A bug was fixed that allowed <code>use</code> statements to import unstable
features</a>.</li>
</ul>
<h2>Language</h2>
<ul>
<li>When evaluating expressions at compile-time that are not
compile-time constants (const-evaluating expressions in non-const
contexts), incorrect code such as overlong bitshifts and arithmetic
overflow will <a href="https://github.com/rust-lang/rfcs/blob/master/text/1229-compile-time-asserts.md">generate a warning instead of an error</a>,
delaying the error until runtime. This will allow the
const-evaluator to be expanded in the future backwards-compatibly.</li>
<li>The <code>improper_ctypes</code> lint <a href="https://github.com/rust-lang/rust/pull/28779">no longer warns about using <code>isize</code> and
<code>usize</code> in FFI</a>.</li>
</ul>
<h2>Libraries</h2>
<ul>
<li><code>Arc&lt;T&gt;</code> and <code>Rc&lt;T&gt;</code> are <a href="https://github.com/rust-lang/rust/pull/29110">covariant with respect to <code>T</code> instead of
invariant</a>.</li>
<li><code>Default</code> is <a href="https://github.com/rust-lang/rust/pull/29245">implemented for mutable slices</a>.</li>
<li><code>FromStr</code> is <a href="https://github.com/rust-lang/rust/pull/29190">implemented for <code>SockAddrV4</code> and <code>SockAddrV6</code></a>.</li>
<li>There are now <code>From</code> conversions <a href="https://github.com/rust-lang/rust/pull/29129">between floating point
types</a> where the conversions are lossless.</li>
<li>There are now <code>From</code> conversions <a href="https://github.com/rust-lang/rust/pull/28921">between integer types</a> where
the conversions are lossless.</li>
<li><a href="https://github.com/rust-lang/rust/pull/29021"><code>fs::Metadata</code> implements <code>Clone</code></a>.</li>
<li>The <code>parse</code> method <a href="https://github.com/rust-lang/rust/pull/28826">accepts a leading "+" when parsing
integers</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/28663"><code>AsMut</code> is implemented for <code>Vec</code></a>.</li>
<li>The <code>clone_from</code> implementations for <code>String</code> and <code>BinaryHeap</code> <a href="https://github.com/rust-lang/rust/pull/28602">have
been optimized</a> and no longer rely on the default impl.</li>
<li>The <code>extern "Rust"</code>, <code>extern "C"</code>, <code>unsafe extern "Rust"</code> and
<code>unsafe extern "C"</code> function types now <a href="https://github.com/rust-lang/rust/pull/28560">implement <code>Clone</code>,
<code>PartialEq</code>, <code>Eq</code>, <code>PartialOrd</code>, <code>Ord</code>, <code>Hash</code>, <code>fmt::Pointer</code>, and
<code>fmt::Debug</code> for up to 12 arguments</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/28531">Dropping <code>Vec</code>s is much faster in unoptimized builds when the
element types don't implement <code>Drop</code></a>.</li>
<li>A bug that caused in incorrect behavior when <a href="https://github.com/rust-lang/rust/pull/28494">combining <code>VecDeque</code>
with zero-sized types</a> was resolved.</li>
<li><a href="https://github.com/rust-lang/rust/pull/28436"><code>PartialOrd</code> for slices is faster</a>.</li>
</ul>
<h2>Miscellaneous</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/28521">Crate metadata size was reduced by 20%</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/28778">Improvements to code generation reduced the size of libcore by 3.3
MB and rustc's memory usage by 18MB</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/28491">Improvements to deref translation increased performance in
unoptimized builds</a>.</li>
<li>Various errors in trait resolution <a href="https://github.com/rust-lang/rust/pull/28645">are deduplicated to only be
reported once</a>.</li>
<li>Rust has preliminary <a href="https://github.com/rust-lang/rust/pull/28593">support for rumprun kernels</a>.</li>
<li>Rust has preliminary <a href="https://github.com/rust-lang/rust/pull/28543">support for NetBSD on amd64</a>.</li>
</ul>
<h1>Version 1.4.0 (2015-10-29)</h1>
<ul>
<li>~1200 changes, numerous bugfixes</li>
</ul>
<h2>Highlights</h2>
<ul>
<li>Windows builds targeting the 64-bit MSVC ABI and linker (instead of
GNU) are now supported and recommended for use.</li>
</ul>
<h2>Breaking Changes</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/27641">Several changes have been made to fix type soundness and improve
the behavior of associated types</a>. See <a href="https://github.com/rust-lang/rfcs/blob/master/text/1214-projections-lifetimes-and-wf.md">RFC 1214</a>. Although
we have mostly introduced these changes as warnings this release, to
become errors next release, there are still some scenarios that will
see immediate breakage.</li>
<li><a href="https://github.com/rust-lang/rust/pull/28034">The <code>str::lines</code> and <code>BufRead::lines</code> iterators treat <code>\r\n</code> as
line breaks in addition to <code>\n</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/28321">Loans of <code>'static</code> lifetime extend to the end of a function</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/27307"><code>str::parse</code> no longer introduces avoidable rounding error when
parsing floating point numbers. Together with earlier changes to
float formatting/output, "round trips" like f.to_string().parse()
now preserve the value of f exactly. Additionally, leading plus
signs are now accepted</a>.</li>
</ul>
<h2>Language</h2>
<ul>
<li><code>use</code> statements that import multiple items <a href="https://github.com/rust-lang/rust/pull/27451">can now rename
them</a>, as in <code>use foo::{bar as kitten, baz as puppy}</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/28270">Binops work correctly on fat pointers</a>.</li>
<li><code>pub extern crate</code>, which does not behave as expected, <a href="https://github.com/rust-lang/rust/pull/28486">issues a
warning</a> until a better solution is found.</li>
</ul>
<h2>Libraries</h2>
<ul>
<li><a href="https://github.com/rust-lang/rust/pull/28339">Many APIs were stabilized</a>: <code>&lt;Box&lt;str&gt;&gt;::into_string</code>,
<a href="http://doc.rust-lang.org/nightly/alloc/arc/struct.Arc.html#method.downgrade"><code>Arc::downgrade</code></a>, <a href="http://doc.rust-lang.org/nightly/alloc/arc/struct.Arc.html#method.get_mut"><code>Arc::get_mut</code></a>, <a href="http://doc.rust-lang.org/nightly/alloc/arc/struct.Arc.html#method.make_mut"><code>Arc::make_mut</code></a>,
<a href="http://doc.rust-lang.org/nightly/alloc/arc/struct.Arc.html#method.try_unwrap"><code>Arc::try_unwrap</code></a>, <a href="http://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html#method.from_raw"><code>Box::from_raw</code></a>, <a href="http://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html#method.into_raw"><code>Box::into_raw</code></a>, <a href="http://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html#method.to_str"><code>CStr::to_str</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html#method.to_string_lossy"><code>CStr::to_string_lossy</code></a>, <a href="http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.from_raw"><code>CString::from_raw</code></a>, <a href="http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.into_raw"><code>CString::into_raw</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/os/unix/io/trait.IntoRawFd.html#tymethod.into_raw_fd"><code>IntoRawFd::into_raw_fd</code></a>, <a href="http://doc.rust-lang.org/nightly/std/os/unix/io/trait.IntoRawFd.html"><code>IntoRawFd</code></a>,
<code>IntoRawHandle::into_raw_handle</code>, <code>IntoRawHandle</code>,
<code>IntoRawSocket::into_raw_socket</code>, <code>IntoRawSocket</code>, <a href="http://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html#method.downgrade"><code>Rc::downgrade</code></a>,
<a href="http://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html#method.get_mut"><code>Rc::get_mut</code></a>, <a href="http://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html#method.make_mut"><code>Rc::make_mut</code></a>, <a href="http://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html#method.try_unwrap"><code>Rc::try_unwrap</code></a>, <a href="http://doc.rust-lang.org/nightly/core/result/enum.Result.html#method.expect"><code>Result::expect</code></a>,
<a href="http://doc.rust-lang.org/nightly/collections/string/struct.String.html#method.into_boxed_str"><code>String::into_boxed_str</code></a>, <a href="http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.read_timeout"><code>TcpStream::read_timeout</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_read_timeout"><code>TcpStream::set_read_timeout</code></a>, <a href="http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_write_timeout"><code>TcpStream::set_write_timeout</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.write_timeout"><code>TcpStream::write_timeout</code></a>, <a href="http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.read_timeout"><code>UdpSocket::read_timeout</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_read_timeout"><code>UdpSocket::set_read_timeout</code></a>, <a href="http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_write_timeout"><code>UdpSocket::set_write_timeout</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.write_timeout"><code>UdpSocket::write_timeout</code></a>, <code>Vec::append</code>, <code>Vec::split_off</code>,
<a href="http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.append"><code>VecDeque::append</code></a>, <a href="http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.retain"><code>VecDeque::retain</code></a>, <a href="http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.split_off"><code>VecDeque::split_off</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/rc/struct.Weak.html#method.upgrade"><code>rc::Weak::upgrade</code></a>, <a href="http://doc.rust-lang.org/nightly/std/rc/struct.Weak.html"><code>rc::Weak</code></a>, <a href="http://doc.rust-lang.org/nightly/std/slice/struct.Iter.html#method.as_slice"><code>slice::Iter::as_slice</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/slice/struct.IterMut.html#method.into_slice"><code>slice::IterMut::into_slice</code></a>, <a href="http://doc.rust-lang.org/nightly/std/str/struct.CharIndices.html#method.as_str"><code>str::CharIndices::as_str</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/str/struct.Chars.html#method.as_str"><code>str::Chars::as_str</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.str.html#method.split_at_mut"><code>str::split_at_mut</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.str.html#method.split_at"><code>str::split_at</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/sync/struct.Weak.html#method.upgrade"><code>sync::Weak::upgrade</code></a>, <a href="http://doc.rust-lang.org/nightly/std/sync/struct.Weak.html"><code>sync::Weak</code></a>, <a href="http://doc.rust-lang.org/nightly/std/thread/fn.park_timeout.html"><code>thread::park_timeout</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/thread/fn.sleep.html"><code>thread::sleep</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/28339">Some APIs were deprecated</a>: <code>BTreeMap::with_b</code>,
<code>BTreeSet::with_b</code>, <code>Option::as_mut_slice</code>, <code>Option::as_slice</code>,
<code>Result::as_mut_slice</code>, <code>Result::as_slice</code>, <code>f32::from_str_radix</code>,
<code>f64::from_str_radix</code>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/27474">Reverse-searching strings is faster with the 'two-way'
algorithm</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/27531"><code>std::io::copy</code> allows <code>?Sized</code> arguments</a>.</li>
<li>The <code>Windows</code>, <code>Chunks</code>, and <code>ChunksMut</code> iterators over slices all
<a href="https://github.com/rust-lang/rust/pull/27652">override <code>count</code>, <code>nth</code> and <code>last</code> with an O(1)
implementation</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/27825"><code>Default</code> is implemented for arrays up to <code>[T; 32]</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/27896"><code>IntoRawFd</code> has been added to the Unix-specific prelude,
<code>IntoRawSocket</code> and <code>IntoRawHandle</code> to the Windows-specific
prelude</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/27956"><code>Extend&lt;String&gt;</code> and <code>FromIterator&lt;String</code> are both implemented for
<code>String</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/28039"><code>IntoIterator</code> is implemented for references to <code>Option</code> and
<code>Result</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/28094"><code>HashMap</code> and <code>HashSet</code> implement <code>Extend&lt;&amp;T&gt;</code> where <code>T: Copy</code></a> as part of <a href="https://github.com/rust-lang/rfcs/blob/master/text/0839-embrace-extend-extinguish.md">RFC 839</a>. This will cause type inference
breakage in rare situations.</li>
<li><a href="https://github.com/rust-lang/rust/pull/28156"><code>BinaryHeap</code> implements <code>Debug</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/28197"><code>Borrow</code> and <code>BorrowMut</code> are implemented for fixed-size
arrays</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/28268"><code>extern fn</code>s with the "Rust" and "C" ABIs implement common
traits including <code>Eq</code>, <code>Ord</code>, <code>Debug</code>, <code>Hash</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/28338">String comparison is faster</a>.</li>
<li><code>&amp;mut T</code> where <code>T: std::fmt::Write</code> <a href="https://github.com/rust-lang/rust/pull/28368">also implements
<code>std::fmt::Write</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/28494">A stable regression in <code>VecDeque::push_back</code> and other
capacity-altering methods that caused panics for zero-sized types
was fixed</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/28560">Function pointers implement traits for up to 12 parameters</a>.</li>
</ul>
<h2>Miscellaneous</h2>
<ul>
<li>The compiler <a href="https://github.com/rust-lang/rust/pull/27338">no longer uses the 'morestack' feature to prevent
stack overflow</a>. Instead it uses guard pages and stack
probes (though stack probes are not yet implemented on any platform
but Windows).</li>
<li><a href="https://github.com/rust-lang/rust/pull/27866">The compiler matches traits faster when projections are involved</a>.</li>
<li>The 'improper_ctypes' lint <a href="https://github.com/rust-lang/rust/pull/28779">no longer warns about use of <code>isize</code> and
<code>usize</code></a>.</li>
<li><a href="https://github.com/rust-lang/cargo/pull/1931">Cargo now displays useful information about what its doing during
<code>cargo update</code></a>.</li>
</ul>
<h1>Version 1.3.0 (2015-09-17)</h1>
<ul>
<li>~900 changes, numerous bugfixes</li>
</ul>
<h2>Highlights</h2>
<ul>
<li>The <a href="https://github.com/rust-lang/rfcs/blob/master/text/1156-adjust-default-object-bounds.md">new object lifetime defaults</a> have been <a href="https://github.com/rust-lang/rust/pull/27045">turned
on</a> after a cycle of warnings about the change. Now types
like <code>&amp;'a Box&lt;Trait&gt;</code> (or <code>&amp;'a Rc&lt;Trait&gt;</code>, etc) will change from
being interpreted as <code>&amp;'a Box&lt;Trait+'a&gt;</code> to <code>&amp;'a Box&lt;Trait+'static&gt;</code>.</li>
<li><a href="http://doc.rust-lang.org/nightly/nomicon/">The Rustonomicon</a> is a new book in the official documentation
that dives into writing unsafe Rust.</li>
<li>The <a href="http://doc.rust-lang.org/nightly/std/time/struct.Duration.html"><code>Duration</code></a> API, <a href="https://github.com/rust-lang/rust/pull/26818">has been stabilized</a>. This basic unit of
timekeeping is employed by other std APIs, as well as out-of-tree
time crates.</li>
</ul>
<h2>Breaking Changes</h2>
<ul>
<li>The <a href="https://github.com/rust-lang/rfcs/blob/master/text/1156-adjust-default-object-bounds.md">new object lifetime defaults</a> have been <a href="https://github.com/rust-lang/rust/pull/27045">turned
on</a> after a cycle of warnings about the change.</li>
<li>There is a known <a href="https://github.com/rust-lang/rust/issues/27248">regression</a> in how object lifetime elision is
interpreted, the proper solution for which is undetermined.</li>
<li>The <code>#[prelude_import]</code> attribute, an internal implementation
detail, was accidentally stabilized previously. <a href="https://github.com/rust-lang/rust/pull/26699">It has been put
behind the <code>prelude_import</code> feature gate</a>. This change is
believed to break no existing code.</li>
<li>The behavior of <a href="http://doc.rust-lang.org/nightly/std/mem/fn.size_of_val.html"><code>size_of_val</code></a> and <a href="http://doc.rust-lang.org/nightly/std/mem/fn.align_of_val.html"><code>align_of_val</code></a> is
<a href="https://github.com/rust-lang/rust/pull/27351">more sane for dynamically sized types</a>. Code that relied on
the previous behavior is thought to be broken.</li>
<li>The <code>dropck</code> rules, which checks that destructors can't access
destroyed values, <a href="https://doc.rust-lang.org/nightly/nomicon/dropck.html">have been updated</a> to match the
<a href="https://github.com/rust-lang/rfcs/blob/master/text/0769-sound-generic-drop.md">RFC</a>. This fixes some soundness holes, and as such will
cause some previously-compiling code to no longer build.</li>
</ul>
<h2>Language</h2>
<ul>
<li>The <a href="https://github.com/rust-lang/rfcs/blob/master/text/1156-adjust-default-object-bounds.md">new object lifetime defaults</a> have been <a href="https://github.com/rust-lang/rust/pull/27045">turned
on</a> after a cycle of warnings about the change.</li>
<li>Semicolons may <a href="https://github.com/rust-lang/rust/pull/27000">now follow types and paths in
macros</a>.</li>
<li>The behavior of <a href="http://doc.rust-lang.org/nightly/std/mem/fn.size_of_val.html"><code>size_of_val</code></a> and <a href="http://doc.rust-lang.org/nightly/std/mem/fn.align_of_val.html"><code>align_of_val</code></a> is
<a href="https://github.com/rust-lang/rust/pull/27351">more sane for dynamically sized types</a>. Code that relied on
the previous behavior is not known to exist, and suspected to be
broken.</li>
<li><code>'static</code> variables <a href="https://github.com/rust-lang/rust/pull/26630">may now be recursive</a>.</li>
<li><code>ref</code> bindings choose between <a href="http://doc.rust-lang.org/nightly/std/ops/trait.Deref.html"><code>Deref</code></a> and <a href="http://doc.rust-lang.org/nightly/std/ops/trait.DerefMut.html"><code>DerefMut</code></a>
implementations correctly.</li>
<li>The <code>dropck</code> rules, which checks that destructors can't access
destroyed values, <a href="https://doc.rust-lang.org/nightly/nomicon/dropck.html">have been updated</a> to match the
<a href="https://github.com/rust-lang/rfcs/blob/master/text/0769-sound-generic-drop.md">RFC</a>.</li>
</ul>
<h2>Libraries</h2>
<ul>
<li>The <a href="http://doc.rust-lang.org/nightly/std/time/struct.Duration.html"><code>Duration</code></a> API, <a href="https://github.com/rust-lang/rust/pull/26818">has been stabilized</a>, as well as the
<code>std::time</code> module, which presently contains only <code>Duration</code>.</li>
<li><code>Box&lt;str&gt;</code> and <code>Box&lt;[T]&gt;</code> both implement <code>Clone</code>.</li>
<li>The owned C string, <a href="http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html"><code>CString</code></a>, implements <a href="http://doc.rust-lang.org/nightly/std/borrow/trait.Borrow.html"><code>Borrow</code></a> and the
borrowed C string, <a href="http://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html"><code>CStr</code></a>, implements <a href="http://doc.rust-lang.org/nightly/std/borrow/trait.ToOwned.html"><code>ToOwned</code></a>. The two of
these allow C strings to be borrowed and cloned in generic code.</li>
<li><a href="http://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html"><code>CStr</code></a> implements <a href="http://doc.rust-lang.org/nightly/std/fmt/trait.Debug.html"><code>Debug</code></a>.</li>
<li><a href="http://doc.rust-lang.org/nightly/std/sync/atomic/struct.AtomicPtr.html"><code>AtomicPtr</code></a> implements <a href="http://doc.rust-lang.org/nightly/std/fmt/trait.Debug.html"><code>Debug</code></a>.</li>
<li><a href="http://doc.rust-lang.org/nightly/std/error/trait.Error.html"><code>Error</code></a> trait objects <a href="https://github.com/rust-lang/rust/pull/24793">can be downcast to their concrete types</a>
in many common configurations, using the <a href="http://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.is"><code>is</code></a>, <a href="http://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.downcast"><code>downcast</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.downcast_ref"><code>downcast_ref</code></a> and <a href="http://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.downcast_mut"><code>downcast_mut</code></a> methods, similarly to the
<a href="http://doc.rust-lang.org/nightly/std/any/trait.Any.html"><code>Any</code></a> trait.</li>
<li>Searching for substrings now <a href="https://github.com/rust-lang/rust/pull/26327">employs the two-way algorithm</a>
instead of doing a naive search. This gives major speedups to a
number of methods, including <a href="http://doc.rust-lang.org/nightly/std/primitive.str.html#method.contains"><code>contains</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.str.html#method.find"><code>find</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/primitive.str.html#method.rfind"><code>rfind</code></a>, <a href="http://doc.rust-lang.org/nightly/std/primitive.str.html#method.split"><code>split</code></a>. <a href="http://doc.rust-lang.org/nightly/std/primitive.str.html#method.starts_with"><code>starts_with</code></a> and
<a href="http://doc.rust-lang.org/nightly/std/primitive.str.html#method.ends_with"><code>ends_with</code></a> are also faster.</li>
<li>The performance of <code>PartialEq</code> for slices is <a href="https://github.com/rust-lang/rust/pull/26884">much faster</a>.</li>
<li>The <a href="http://doc.rust-lang.org/nightly/std/hash/trait.Hash.html"><code>Hash</code></a> trait offers the default method, <a href="http://doc.rust-lang.org/nightly/std/hash/trait.Hash.html#method.hash_slice"><code>hash_slice</code></a>, which
is overridden and optimized by the implementations for scalars.</li>
<li>The <a href="http://doc.rust-lang.org/nightly/std/hash/trait.Hasher.html"><code>Hasher</code></a> trait now has a number of specialized <code>write_*</code>
methods for primitive types, for efficiency.</li>
<li>The I/O-specific error type, <a href="http://doc.rust-lang.org/nightly/std/io/struct.Error.html"><code>std::io::Error</code></a>, gained a set of
methods for accessing the 'inner error', if any: <a href="http://doc.rust-lang.org/nightly/std/io/struct.Error.html#method.get_ref"><code>get_ref</code></a>,
<a href="http://doc.rust-lang.org/nightly/std/io/struct.Error.html#method.get_mut"><code>get_mut</code></a>, <a href="http://doc.rust-lang.org/nightly/std/io/struct.Error.html#method.into_inner"><code>into_inner</code></a>. As well, the implementation
of <a href="http://doc.rust-lang.org/nightly/std/io/struct.Error.html#method.cause"><code>std::error::Error::cause</code></a> also delegates to the inner
error.</li>
<li><a href="http://doc.rust-lang.org/nightly/std/process/struct.Child.html"><code>process::Child</code></a> gained the <a href="http://doc.rust-lang.org/nightly/std/process/struct.Child.html#method.id"><code>id</code></a> method, which returns a
<code>u32</code> representing the platform-specific process identifier.</li>
<li>The <a href="http://doc.rust-lang.org/nightly/std/slice/trait.SliceConcatExt.html#method.connect"><code>connect</code></a> method on slices is deprecated, replaced by the new
<a href="http://doc.rust-lang.org/nightly/std/slice/trait.SliceConcatExt.html#method.join"><code>join</code></a> method (note that both of these are on the <em>unstable</em>
<a href="http://doc.rust-lang.org/nightly/std/slice/trait.SliceConcatExt.html"><code>SliceConcatExt</code></a> trait, but through the magic of the prelude are
available to stable code anyway).</li>
<li>The <a href="http://doc.rust-lang.org/nightly/std/ops/trait.Div.html"><code>Div</code></a> operator is implemented for <a href="http://doc.rust-lang.org/nightly/std/num/struct.Wrapping.html"><code>Wrapping</code></a> types.</li>
<li><a href="https://github.com/rust-lang/rust/pull/26241"><code>DerefMut</code> is implemented for <code>String</code></a>.</li>
<li>Performance of SipHash (the default hasher for <code>HashMap</code>) is
<a href="https://github.com/rust-lang/rust/pull/27280">better for long data</a>.</li>
<li><a href="http://doc.rust-lang.org/nightly/std/sync/atomic/struct.AtomicPtr.html"><code>AtomicPtr</code></a> implements <a href="http://doc.rust-lang.org/nightly/std/marker/trait.Send.html"><code>Send</code></a>.</li>
<li>The <a href="http://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.read_to_end"><code>read_to_end</code></a> implementations for <a href="http://doc.rust-lang.org/nightly/std/io/struct.Stdin.html"><code>Stdin</code></a> and <a href="http://doc.rust-lang.org/nightly/std/fs/struct.File.html"><code>File</code></a>
are now <a href="https://github.com/rust-lang/rust/pull/26950">specialized to use uninitialized buffers for increased
performance</a>.</li>
<li>Lifetime parameters of foreign functions <a href="https://github.com/rust-lang/rust/pull/26588">are now resolved
properly</a>.</li>
</ul>
<h2>Misc</h2>
<ul>
<li>Rust can now, with some coercion, <a href="https://github.com/rust-lang/rust/pull/26569">produce programs that run on
Windows XP</a>, though XP is not considered a supported platform.</li>
<li>Porting Rust on Windows from the GNU toolchain to MSVC continues
(<a href="https://github.com/rust-lang/rust/pull/26569">1</a>, <a href="https://github.com/rust-lang/rust/pull/26741">2</a>, <a href="https://github.com/rust-lang/rust/pull/26741">3</a>, <a href="https://github.com/rust-lang/rust/pull/27210">4</a>). It is still not
recommended for use in 1.3, though should be fully-functional
in the <a href="https://static.rust-lang.org/dist/rust-beta-x86_64-pc-windows-msvc.msi">64-bit 1.4 beta</a>.</li>
<li>On Fedora-based systems installation will <a href="https://github.com/rust-lang/rust-installer/pull/41">properly configure the
dynamic linker</a>.</li>
<li>The compiler gained many new extended error descriptions, which can
be accessed with the <code>--explain</code> flag.</li>
<li>The <code>dropck</code> pass, which checks that destructors can't access
destroyed values, <a href="https://doc.rust-lang.org/nightly/nomicon/dropck.html">has been rewritten</a>. This fixes some
soundness holes, and as such will cause some previously-compiling
code to no longer build.</li>
<li><code>rustc</code> now uses <a href="https://github.com/rust-lang/rust/pull/26926">LLVM to write archive files where possible</a>.
Eventually this will eliminate the compiler's dependency on the ar
utility.</li>
<li>Rust has <a href="https://github.com/rust-lang/rust/pull/26959">preliminary support for i686 FreeBSD</a> (it has long
supported FreeBSD on x86_64).</li>
<li>The <a href="https://github.com/rust-lang/rust/pull/26378"><code>unused_mut</code></a>, <a href="https://github.com/rust-lang/rust/pull/26783"><code>unconditional_recursion</code></a>,
<a href="https://github.com/rust-lang/rust/pull/26583"><code>improper_ctypes</code></a>, and <a href="https://github.com/rust-lang/rust/pull/27026"><code>negate_unsigned</code></a> lints are
more strict.</li>
<li>If landing pads are disabled (with <code>-Z no-landing-pads</code>), <a href="https://github.com/rust-lang/rust/pull/27176"><code>panic!</code>
will kill the process instead of leaking</a>.</li>
</ul>
<h1>Version 1.2.0 (2015-08-07)</h1>
<ul>
<li>~1200 changes, numerous bugfixes</li>
</ul>
<h2>Highlights</h2>
<ul>
<li><a href="https://github.com/rust-lang/rfcs/blob/master/text/0982-dst-coercion.md">Dynamically-sized-type coercions</a> allow smart pointer types
like <code>Rc</code> to contain types without a fixed size, arrays and trait
objects, finally enabling use of <code>Rc&lt;[T]&gt;</code> and completing the
implementation of DST.</li>
<li><a href="https://github.com/rust-lang/rust/pull/26018">Parallel codegen</a> is now working again, which can
substantially speed up large builds in debug mode; It also gets
another ~33% speedup when bootstrapping on a 4 core machine (using 8
jobs). It's not enabled by default, but will be "in the near
future". It can be activated with the <code>-C codegen-units=N</code> flag to
<code>rustc</code>.</li>
<li>This is the first release with <a href="https://github.com/rust-lang/rust/pull/25350">experimental support for linking
with the MSVC linker and lib C on Windows (instead of using the GNU
variants via MinGW)</a>. It is yet recommended only for the most
intrepid Rustaceans.</li>
<li>Benchmark compilations are showing a 30% improvement in
bootstrapping over 1.1.</li>
</ul>
<h2>Breaking Changes</h2>
<ul>
<li>The <a href="https://doc.rust-lang.org/nightly/std/primitive.char.html#method.to_uppercase"><code>to_uppercase</code></a> and <a href="https://doc.rust-lang.org/nightly/std/primitive.char.html#method.to_lowercase"><code>to_lowercase</code></a> methods on <code>char</code> now do
unicode case mapping, which is a previously-planned change in
behavior and considered a bugfix.</li>
<li><a href="https://doc.rust-lang.org/nightly/std/mem/fn.align_of.html"><code>mem::align_of</code></a> now specifies <a href="https://github.com/rust-lang/rust/pull/25646">the <em>minimum alignment</em> for
T</a>, which is usually the alignment programs are interested
in, and the same value reported by clang's
<code>alignof</code>. <a href="https://doc.rust-lang.org/nightly/std/mem/fn.min_align_of.html"><code>mem::min_align_of</code></a> is deprecated. This is not known to
break real code.</li>
<li><a href="https://github.com/rust-lang/rust/pull/25541">The <code>#[packed]</code> attribute is no longer silently accepted by the
compiler</a>. This attribute did nothing and code that
mentioned it likely did not work as intended.</li>
<li>Associated type defaults are <a href="https://github.com/rust-lang/rust/pull/27382">now behind the
<code>associated_type_defaults</code> feature gate</a>. In 1.1 associated type
defaults <em>did not work</em>, but could be mentioned syntactically. As
such this breakage has minimal impact.</li>
</ul>
<h2>Language</h2>
<ul>
<li>Patterns with <code>ref mut</code> now correctly invoke <a href="http://doc.rust-lang.org/nightly/std/ops/trait.DerefMut.html"><code>DerefMut</code></a> when
matching against dereferenceable values.</li>
</ul>
<h2>Libraries</h2>
<ul>
<li>The <a href="https://doc.rust-lang.org/nightly/std/iter/trait.Extend.html"><code>Extend</code></a> trait, which grows a collection from an iterator, is
implemented over iterators of references, for <code>String</code>, <code>Vec</code>,
<code>LinkedList</code>, <code>VecDeque</code>, <code>EnumSet</code>, <code>BinaryHeap</code>, <code>VecMap</code>,
<code>BTreeSet</code> and <code>BTreeMap</code>. <a href="https://github.com/rust-lang/rfcs/blob/master/text/0839-embrace-extend-extinguish.md">RFC</a>.</li>
<li>The <a href="https://doc.rust-lang.org/nightly/std/iter/fn.once.html"><code>iter::once</code></a> function returns an iterator that yields a single
element, and <a href="https://doc.rust-lang.org/std/iter/fn.empty.html"><code>iter::empty</code></a> returns an iterator that yields no
elements.</li>
<li>The <a href="https://doc.rust-lang.org/nightly/std/primitive.str.html#method.matches"><code>matches</code></a> and <a href="https://doc.rust-lang.org/nightly/std/primitive.str.html#method.rmatches"><code>rmatches</code></a> methods on <code>str</code> return iterators
over substring matches.</li>
<li><a href="https://doc.rust-lang.org/nightly/std/cell/struct.Cell.html"><code>Cell</code></a> and <a href="https://doc.rust-lang.org/nightly/std/cell/struct.RefCell.html"><code>RefCell</code></a> both implement <code>Eq</code>.</li>
<li>A number of methods for wrapping arithmetic are added to the
integral types, <a href="https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_div"><code>wrapping_div</code></a>, <a href="https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_rem"><code>wrapping_rem</code></a>,
<a href="https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_neg"><code>wrapping_neg</code></a>, <a href="https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_shl"><code>wrapping_shl</code></a>, <a href="https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_shr"><code>wrapping_shr</code></a>. These are in
addition to the existing <a href="https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_add"><code>wrapping_add</code></a>, <a href="https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_sub"><code>wrapping_sub</code></a>, and
<a href="https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_mul"><code>wrapping_mul</code></a> methods, and alternatives to the <a href="http://doc.rust-lang.org/nightly/std/num/struct.Wrapping.html"><code>Wrapping</code></a>
type.. It is illegal for the default arithmetic operations in Rust
to overflow; the desire to wrap must be explicit.</li>
<li>The <code>{:#?}</code> formatting specifier <a href="https://www.reddit.com/r/rust/comments/3ceaui/psa_produces_prettyprinted_debug_output/">displays the alternate,
pretty-printed</a> form of the <code>Debug</code> formatter. This
feature was actually introduced prior to 1.0 with little
fanfare.</li>
<li><a href="https://doc.rust-lang.org/nightly/std/fmt/struct.Formatter.html"><code>fmt::Formatter</code></a> implements <a href="https://doc.rust-lang.org/nightly/std/fmt/trait.Write.html"><code>fmt::Write</code></a>, a <code>fmt</code>-specific trait
for writing data to formatted strings, similar to <a href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html"><code>io::Write</code></a>.</li>
<li><a href="https://doc.rust-lang.org/nightly/std/fmt/struct.Formatter.html"><code>fmt::Formatter</code></a> adds 'debug builder' methods, <a href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.debug_struct"><code>debug_struct</code></a>,
<a href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.debug_tuple"><code>debug_tuple</code></a>, <a href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.debug_list"><code>debug_list</code></a>, <a href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.debug_set"><code>debug_set</code></a>, <a href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.debug_map"><code>debug_map</code></a>. These
are used by code generators to emit implementations of <a href="http://doc.rust-lang.org/nightly/std/fmt/trait.Debug.html"><code>Debug</code></a>.</li>
<li><code>str</code> has new <a href="https://doc.rust-lang.org/nightly/std/primitive.str.html#method.to_uppercase"><code>to_uppercase</code></a> and <a href="https://doc.rust-lang.org/nightly/std/primitive.str.html#method.to_lowercase"><code>to_lowercase</code></a>
methods that convert case, following Unicode case mapping.</li>
<li>It is now easier to handle poisoned locks. The <a href="https://doc.rust-lang.org/nightly/std/sync/struct.PoisonError.html"><code>PoisonError</code></a>
type, returned by failing lock operations, exposes <code>into_inner</code>,
<code>get_ref</code>, and <code>get_mut</code>, which all give access to the inner lock
guard, and allow the poisoned lock to continue to operate. The
<code>is_poisoned</code> method of <a href="https://doc.rust-lang.org/nightly/std/sync/struct.RwLock.html"><code>RwLock</code></a> and <a href="https://doc.rust-lang.org/nightly/std/sync/struct.Mutex.html"><code>Mutex</code></a> can poll for a
poisoned lock without attempting to take the lock.</li>
<li>On Unix the <a href="https://doc.rust-lang.org/nightly/std/os/unix/io/trait.FromRawFd.html"><code>FromRawFd</code></a> trait is implemented for <a href="https://doc.rust-lang.org/nightly/std/process/struct.Stdio.html"><code>Stdio</code></a>, and
<a href="https://doc.rust-lang.org/nightly/std/os/unix/io/trait.AsRawFd.html"><code>AsRawFd</code></a> for <a href="https://doc.rust-lang.org/nightly/std/process/struct.ChildStdin.html"><code>ChildStdin</code></a>, <a href="https://doc.rust-lang.org/nightly/std/process/struct.ChildStdout.html"><code>ChildStdout</code></a>, <a href="https://doc.rust-lang.org/nightly/std/process/struct.ChildStderr.html"><code>ChildStderr</code></a>.
On Windows the <code>FromRawHandle</code> trait is implemented for <code>Stdio</code>,
and <code>AsRawHandle</code> for <code>ChildStdin</code>, <code>ChildStdout</code>,
<code>ChildStderr</code>.</li>
<li><a href="https://doc.rust-lang.org/nightly/std/io/enum.ErrorKind.html"><code>io::ErrorKind</code></a> has a new variant, <code>InvalidData</code>, which indicates
malformed input.</li>
</ul>
<h2>Misc</h2>
<ul>
<li><code>rustc</code> employs smarter heuristics for guessing at <a href="https://github.com/rust-lang/rust/pull/26087">typos</a>.</li>
<li><code>rustc</code> emits more efficient code for <a href="https://github.com/rust-lang/rust/pull/26336">no-op conversions between
unsafe pointers</a>.</li>
<li>Fat pointers are now <a href="https://github.com/rust-lang/rust/pull/26411">passed in pairs of immediate arguments</a>,
resulting in faster compile times and smaller code.</li>
</ul>
<h1>Version 1.1.0 (2015-06-25)</h1>
<ul>
<li>~850 changes, numerous bugfixes</li>
</ul>
<h2>Highlights</h2>
<ul>
<li>The <a href="https://github.com/rust-lang/rfcs/blob/master/text/1044-io-fs-2.1.md"><code>std::fs</code> module has been expanded</a> to expand the set of
functionality exposed:
<ul>
<li><code>DirEntry</code> now supports optimizations like <code>file_type</code> and <code>metadata</code> which
don't incur a syscall on some platforms.</li>
<li>A <code>symlink_metadata</code> function has been added.</li>
<li>The <code>fs::Metadata</code> structure now lowers to its OS counterpart, providing
access to all underlying information.</li>
</ul>
</li>
<li>The compiler now contains extended explanations of many errors. When an error
with an explanation occurs the compiler suggests using the <code>--explain</code> flag
to read the explanation. Error explanations are also <a href="https://doc.rust-lang.org/error-index.html">available online</a>.</li>
<li>Thanks to multiple <a href="https://github.com/rust-lang/rust/pull/24615">improvements</a> to <a href="https://github.com/rust-lang/rust/pull/25323">type checking</a>, as
well as other work, the time to bootstrap the compiler decreased by
32%.</li>
</ul>
<h2>Libraries</h2>
<ul>
<li>The <a href="https://doc.rust-lang.org/nightly/std/primitive.str.html#method.split_whitespace"><code>str::split_whitespace</code></a> method splits a string on unicode
whitespace boundaries.</li>
<li>On both Windows and Unix, new extension traits provide conversion of
I/O types to and from the underlying system handles. On Unix, these
traits are <a href="https://doc.rust-lang.org/nightly/std/os/unix/io/trait.FromRawFd.html"><code>FromRawFd</code></a> and <a href="https://doc.rust-lang.org/nightly/std/os/unix/io/trait.AsRawFd.html"><code>AsRawFd</code></a>, on Windows <code>FromRawHandle</code>
and <code>AsRawHandle</code>. These are implemented for <code>File</code>, <code>TcpStream</code>,
<code>TcpListener</code>, and <code>UpdSocket</code>. Further implementations for
<code>std::process</code> will be stabilized later.</li>
<li>On Unix, <a href="https://doc.rust-lang.org/nightly/std/os/unix/fs/fn.symlink.html"><code>std::os::unix::symlink</code></a> creates symlinks. On
Windows, symlinks can be created with
<code>std::os::windows::symlink_dir</code> and
<code>std::os::windows::symlink_file</code>.</li>
<li>The <code>mpsc::Receiver</code> type can now be converted into an iterator with
<code>into_iter</code> on the <a href="https://doc.rust-lang.org/nightly/std/iter/trait.IntoIterator.html"><code>IntoIterator</code></a> trait.</li>
<li><code>Ipv4Addr</code> can be created from <code>u32</code> with the <code>From&lt;u32&gt;</code>
implementation of the <a href="https://doc.rust-lang.org/nightly/std/convert/trait.From.html"><code>From</code></a> trait.</li>
<li>The <code>Debug</code> implementation for <code>RangeFull</code> <a href="https://github.com/rust-lang/rust/pull/24491">creates output that is
more consistent with other implementations</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/24598"><code>Debug</code> is implemented for <code>File</code></a>.</li>
<li>The <code>Default</code> implementation for <code>Arc</code> <a href="https://github.com/rust-lang/rust/pull/24695">no longer requires <code>Sync + Send</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/24701">The <code>Iterator</code> methods <code>count</code>, <code>nth</code>, and <code>last</code> have been
overridden for slices to have O(1) performance instead of O(n)</a>.</li>
<li>Incorrect handling of paths on Windows has been improved in both the
compiler and the standard library.</li>
<li><a href="https://github.com/rust-lang/rust/pull/24834"><code>AtomicPtr</code> gained a <code>Default</code> implementation</a>.</li>
<li>In accordance with Rust's policy on arithmetic overflow <code>abs</code> now
<a href="https://github.com/rust-lang/rust/pull/25441">panics on overflow when debug assertions are enabled</a>.</li>
<li>The <a href="https://doc.rust-lang.org/nightly/std/iter/struct.Cloned.html"><code>Cloned</code></a> iterator, which was accidentally left unstable for
1.0 <a href="https://github.com/rust-lang/rust/pull/25496">has been stabilized</a>.</li>
<li>The <a href="https://doc.rust-lang.org/nightly/std/net/struct.Incoming.html"><code>Incoming</code></a> iterator, which iterates over incoming TCP
connections, and which was accidentally unnamable in 1.0, <a href="https://github.com/rust-lang/rust/pull/25522">is now
properly exported</a>.</li>
<li><a href="https://doc.rust-lang.org/nightly/std/collections/struct.BinaryHeap.html"><code>BinaryHeap</code></a> no longer corrupts itself <a href="https://github.com/rust-lang/rust/pull/25856">when functions called by
<code>sift_up</code> or <code>sift_down</code> panic</a>.</li>
<li>The <a href="https://doc.rust-lang.org/nightly/collections/linked_list/struct.LinkedList.html#method.split_off"><code>split_off</code></a> method of <code>LinkedList</code> <a href="https://github.com/rust-lang/rust/pull/26022">no longer corrupts
the list in certain scenarios</a>.</li>
</ul>
<h2>Misc</h2>
<ul>
<li>Type checking performance <a href="https://github.com/rust-lang/rust/pull/24615">has improved notably</a> with
<a href="https://github.com/rust-lang/rust/pull/25323">multiple improvements</a>.</li>
<li>The compiler <a href="https://github.com/rust-lang/rust/pull/24683">suggests code changes</a> for more errors.</li>
<li>rustc and it's build system have experimental support for <a href="https://github.com/rust-lang/rust/pull/24777">building
toolchains against MUSL</a> instead of glibc on Linux.</li>
<li>The compiler defines the <code>target_env</code> cfg value, which is used for
distinguishing toolchains that are otherwise for the same
platform. Presently this is set to <code>gnu</code> for common GNU Linux
targets and for MinGW targets, and <code>musl</code> for MUSL Linux targets.</li>
<li>The <a href="https://github.com/rust-lang/cargo/pull/1568"><code>cargo rustc</code></a> command invokes a build with custom flags
to rustc.</li>
<li><a href="https://github.com/rust-lang/rust/pull/24953">Android executables are always position independent</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/24935">The <code>drop_with_repr_extern</code> lint warns about mixing <code>repr(C)</code>
with <code>Drop</code></a>.</li>
</ul>
<h1>Version 1.0.0 (2015-05-15)</h1>
<ul>
<li>~1500 changes, numerous bugfixes</li>
</ul>
<h2>Highlights</h2>
<ul>
<li>The vast majority of the standard library is now <code>#[stable]</code>. It is
no longer possible to use unstable features with a stable build of
the compiler.</li>
<li>Many popular crates on <a href="http://crates.io">crates.io</a> now work on the stable release
channel.</li>
<li>Arithmetic on basic integer types now <a href="https://github.com/rust-lang/rfcs/blob/master/text/0560-integer-overflow.md">checks for overflow in debug
builds</a>.</li>
</ul>
<h2>Language</h2>
<ul>
<li>Several <a href="https://github.com/rust-lang/rfcs/blob/master/text/1023-rebalancing-coherence.md">restrictions have been added to trait coherence</a> in
order to make it easier for upstream authors to change traits
without breaking downstream code.</li>
<li>Digits of binary and octal literals are <a href="https://github.com/rust-lang/rfcs/blob/master/text/0879-small-base-lexing.md">lexed more eagerly</a> to
improve error messages and macro behavior. For example, <code>0b1234</code> is
now lexed as <code>0b1234</code> instead of two tokens, <code>0b1</code> and <code>234</code>.</li>
<li>Trait bounds <a href="https://github.com/rust-lang/rust/pull/23938">are always invariant</a>, eliminating the need for
the <code>PhantomFn</code> and <code>MarkerTrait</code> lang items, which have been
removed.</li>
<li><a href="https://github.com/rust-lang/rust/pull/23419">"-" is no longer a valid character in crate names</a>, the <code>extern crate "foo" as bar</code> syntax has been replaced with <code>extern crate foo as bar</code>, and Cargo now automatically translates "-" in <em>package</em> names
to underscore for the crate name.</li>
<li><a href="https://github.com/rust-lang/rust/pull/24057">Lifetime shadowing is an error</a>.</li>
<li><a href="https://github.com/rust-lang/rfcs/blob/master/text/0458-send-improvements.md"><code>Send</code> no longer implies <code>'static</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/22172">UFCS now supports trait-less associated paths</a> like
<code>MyType::default()</code>.</li>
<li>Primitive types <a href="https://github.com/rust-lang/rust/pull/23104">now have inherent methods</a>,
obviating the need for extension traits like <code>SliceExt</code>.</li>
<li>Methods with <code>Self: Sized</code> in their <code>where</code> clause are <a href="https://github.com/rust-lang/rust/pull/22301">considered
object-safe</a>, allowing many extension traits like
<code>IteratorExt</code> to be merged into the traits they extended.</li>
<li>You can now <a href="https://github.com/rust-lang/rust/pull/22512">refer to associated types</a> whose
corresponding trait bounds appear only in a <code>where</code> clause.</li>
<li>The final bits of <a href="https://github.com/rust-lang/rust/pull/21689">OIBIT landed</a>, meaning that traits
like <code>Send</code> and <code>Sync</code> are now library-defined.</li>
<li>A <a href="https://github.com/rust-lang/rust/pull/23712">Reflect trait</a> was introduced, which means that
downcasting via the <code>Any</code> trait is effectively limited to concrete
types. This helps retain the potentially-important "parametricity"
property: generic code cannot behave differently for different type
arguments except in minor ways.</li>
<li>The <code>unsafe_destructor</code> feature is now deprecated in favor of the
<a href="https://doc.rust-lang.org/nightly/nomicon/dropck.html">new <code>dropck</code></a>. This change is a major reduction in unsafe
code.</li>
</ul>
<h2>Libraries</h2>
<ul>
<li>The <code>thread_local</code> module <a href="https://github.com/rust-lang/rfcs/blob/master/text/0909-move-thread-local-to-std-thread.md">has been renamed to <code>std::thread</code></a>.</li>
<li>The methods of <code>IteratorExt</code> <a href="http://doc.rust-lang.org/nightly/std/io/struct.Error.html">have been moved to the <code>Iterator</code>
trait itself</a>.</li>
<li>Several traits that implement Rust's conventions for type
conversions, <code>AsMut</code>, <code>AsRef</code>, <code>From</code>, and <code>Into</code> have been
<a href="https://github.com/rust-lang/rust/pull/23875">centralized in the <code>std::convert</code> module</a>.</li>
<li>The <code>FromError</code> trait <a href="https://github.com/rust-lang/rust/pull/23879">was removed in favor of <code>From</code></a>.</li>
<li>The basic sleep function <a href="https://github.com/rust-lang/rust/pull/23949">has moved to
<code>std::thread::sleep_ms</code></a>.</li>
<li>The <code>splitn</code> function now takes an <code>n</code> parameter that represents the
number of items yielded by the returned iterator <a href="https://github.com/rust-lang/rfcs/blob/master/text/0979-align-splitn-with-other-languages.md">instead of the
number of 'splits'</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/24034">On Unix, all file descriptors are <code>CLOEXEC</code> by default</a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/24270">Derived implementations of <code>PartialOrd</code> now order enums according
to their explicitly-assigned discriminants</a>.</li>
<li><a href="https://github.com/rust-lang/rfcs/blob/master/text/0528-string-patterns.md">Methods for searching strings are generic over <code>Pattern</code>s</a>,
implemented presently by <code>&amp;char</code>, <code>&amp;str</code>, <code>FnMut(char) -&gt; bool</code> and
some others.</li>
<li><a href="https://github.com/rust-lang/rust/pull/24056">In method resolution, object methods are resolved before inherent
methods</a>.</li>
<li><a href="http://doc.rust-lang.org/nightly/std/primitive.str.html#method.find"><code>String::from_str</code> has been deprecated in favor of the <code>From</code> impl,
<code>String::from</code></a>.</li>
<li><a href="https://github.com/rust-lang/rust/pull/24133"><code>io::Error</code> implements <code>Sync</code></a>.</li>
<li><a href="https://github.com/rust-lang/rfcs/blob/master/text/1054-str-words.md">The <code>words</code> method on <code>&amp;str</code> has been replaced with
<code>split_whitespace</code></a>, to avoid answering the tricky question, 'what is
a word?'</li>
<li>The new path and IO modules are complete and <code>#[stable]</code>. This
was the major library focus for this cycle.</li>
<li>The path API was <a href="https://github.com/rust-lang/rust/pull/23229">revised</a> to normalize <code>.</code>,
adjusting the tradeoffs in favor of the most common usage.</li>
<li>A large number of remaining APIs in <code>std</code> were also stabilized
during this cycle; about 75% of the non-deprecated API surface
is now stable.</li>
<li>The new <a href="https://github.com/rust-lang/rust/pull/22466">string pattern API</a> landed, which makes
the string slice API much more internally consistent and flexible.</li>
<li>A new set of <a href="https://github.com/rust-lang/rfcs/pull/529">generic conversion traits</a> replaced
many existing ad hoc traits.</li>
<li>Generic numeric traits were <a href="https://github.com/rust-lang/rust/pull/23549">completely removed</a>. This
was made possible thanks to inherent methods for primitive types,
and the removal gives maximal flexibility for designing a numeric
hierarchy in the future.</li>
<li>The <code>Fn</code> traits are now related via <a href="https://github.com/rust-lang/rust/pull/23282">inheritance</a>
and provide ergonomic <a href="https://github.com/rust-lang/rust/pull/23895">blanket implementations</a>.</li>
<li>The <code>Index</code> and <code>IndexMut</code> traits were changed to
<a href="https://github.com/rust-lang/rust/pull/23601">take the index by value</a>, enabling code like
<code>hash_map["string"]</code> to work.</li>
<li><code>Copy</code> now <a href="https://github.com/rust-lang/rust/pull/23860">inherits</a> from <code>Clone</code>, meaning that all
<code>Copy</code> data is known to be <code>Clone</code> as well.</li>
</ul>
<h2>Misc</h2>
<ul>
<li>Many errors now have extended explanations that can be accessed with
the <code>--explain</code> flag to <code>rustc</code>.</li>
<li>Many new examples have been added to the standard library
documentation.</li>
<li>rustdoc has received a number of improvements focused on completion
and polish.</li>
<li>Metadata was tuned, shrinking binaries <a href="https://github.com/rust-lang/rust/pull/22971">by 27%</a>.</li>
<li>Much headway was made on ecosystem-wide CI, making it possible
to <a href="https://gist.github.com/brson/a30a77836fbec057cbee">compare builds for breakage</a>.</li>
</ul>
<h1>Version 1.0.0-alpha.2 (2015-02-20)</h1>
<ul>
<li>
<p>~1300 changes, numerous bugfixes</p>
</li>
<li>
<p>Highlights</p>
<ul>
<li>The various I/O modules were <a href="https://github.com/rust-lang/rfcs/blob/master/text/0517-io-os-reform.md">overhauled</a> to reduce
unnecessary abstractions and provide better interoperation with
the underlying platform. The old <code>io</code> module remains temporarily
at <code>std::old_io</code>.</li>
<li>The standard library now <a href="https://github.com/rust-lang/rust/pull/21248">participates in feature gating</a>,
so use of unstable libraries now requires a <code>#![feature(...)]</code>
attribute. The impact of this change is <a href="https://users.rust-lang.org/t/psa-important-info-about-rustcs-new-feature-staging/82/5">described on the
forum</a>. <a href="https://github.com/rust-lang/rfcs/blob/master/text/0507-release-channels.md">RFC</a>.</li>
</ul>
</li>
<li>
<p>Language</p>
<ul>
<li><code>for</code> loops <a href="https://github.com/rust-lang/rust/pull/20790">now operate on the <code>IntoIterator</code> trait</a>,
which eliminates the need to call <code>.iter()</code>, etc. to iterate
over collections. There are some new subtleties to remember
though regarding what sort of iterators various types yield, in
particular that <code>for foo in bar { }</code> yields values from a move
iterator, destroying the original collection. <a href="https://github.com/rust-lang/rfcs/blob/master/text/0235-collections-conventions.md#intoiterator-and-iterable">RFC</a>.</li>
<li>Objects now have <a href="https://github.com/rust-lang/rust/pull/22230">default lifetime bounds</a>, so you don't
have to write <code>Box&lt;Trait+'static&gt;</code> when you don't care about
storing references. <a href="https://github.com/rust-lang/rfcs/blob/master/text/0599-default-object-bound.md">RFC</a>.</li>
<li>In types that implement <code>Drop</code>, <a href="https://github.com/rust-lang/rust/pull/24935">lifetimes must outlive the
value</a>. This will soon make it possible to safely
implement <code>Drop</code> for types where <code>#[unsafe_destructor]</code> is now
required. Read the <a href="https://github.com/rust-lang/rfcs/blob/master/text/0769-sound-generic-drop.md">gorgeous RFC</a> for details.</li>
<li>The fully qualified &lt;T as Trait&gt;::X syntax lets you set the Self
type for a trait method or associated type. <a href="https://github.com/rust-lang/rfcs/blob/master/text/0132-ufcs.md">RFC</a>.</li>
<li>References to types that implement <code>Deref&lt;U&gt;</code> now <a href="https://github.com/rust-lang/rust/pull/21351">automatically
coerce to references</a> to the dereferenced type <code>U</code>,
e.g. <code>&amp;T where T: Deref&lt;U&gt;</code> automatically coerces to <code>&amp;U</code>. This
should eliminate many unsightly uses of <code>&amp;*</code>, as when converting
from references to vectors into references to
slices. <a href="https://github.com/rust-lang/rfcs/blob/master/text/0241-deref-conversions.md">RFC</a>.</li>
<li>The explicit <a href="https://github.com/rust-lang/rust/pull/21843">closure kind syntax</a> (<code>|&amp;:|</code>, <code>|&amp;mut:|</code>,
<code>|:|</code>) is obsolete and closure kind is inferred from context.</li>
<li><a href="https://github.com/rust-lang/rust/pull/22158"><code>Self</code> is a keyword</a>.</li>
</ul>
</li>
<li>
<p>Libraries</p>
<ul>
<li>The <code>Show</code> and <code>String</code> formatting traits <a href="https://github.com/rust-lang/rust/pull/21457">have been
renamed</a> to <code>Debug</code> and <code>Display</code> to more clearly reflect
their related purposes. Automatically getting a string
conversion to use with <code>format!("{:?}", something_to_debug)</code> is
now written <code>#[derive(Debug)]</code>.</li>
<li>Abstract <a href="https://github.com/rust-lang/rust/pull/21488">OS-specific string types</a>, <code>std::ff::{OsString, OsStr}</code>, provide strings in platform-specific encodings for easier
interop with system APIs. <a href="https://github.com/rust-lang/rfcs/blob/master/text/0517-io-os-reform.md">RFC</a>.</li>
<li>The <code>boxed::into_raw</code> and <code>Box::from_raw</code> functions <a href="https://github.com/rust-lang/rust/pull/21318">convert
between <code>Box&lt;T&gt;</code> and <code>*mut T</code></a>, a common pattern for
creating raw pointers.</li>
</ul>
</li>
<li>
<p>Tooling</p>
<ul>
<li>Certain long error messages of the form 'expected foo found bar'
are now <a href="https://github.com/rust-lang/rust/pull/19870">split neatly across multiple
lines</a>. Examples in the PR.</li>
<li>On Unix Rust can be <a href="https://github.com/rust-lang/rust/pull/22256">uninstalled</a> by running
<code>/usr/local/lib/rustlib/uninstall.sh</code>.</li>
<li>The <code>#[rustc_on_unimplemented]</code> attribute, requiring the
'on_unimplemented' feature, lets rustc <a href="https://github.com/rust-lang/rust/pull/20889">display custom error
messages when a trait is expected to be implemented for a type
but is not</a>.</li>
</ul>
</li>
<li>
<p>Misc</p>
<ul>
<li>Rust is tested against a <a href="https://github.com/rust-lang/rust/pull/21452">LALR grammar</a>, which parses
almost all the Rust files that rustc does.</li>
</ul>
</li>
</ul>
<h1>Version 1.0.0-alpha (2015-01-09)</h1>
<ul>
<li>
<p>~2400 changes, numerous bugfixes</p>
</li>
<li>
<p>Highlights</p>
<ul>
<li>The language itself is considered feature complete for 1.0,
though there will be many usability improvements and bugfixes
before the final release.</li>
<li>Nearly 50% of the public API surface of the standard library has
been declared 'stable'. Those interfaces are unlikely to change
before 1.0.</li>
<li>The long-running debate over integer types has been
<a href="https://github.com/rust-lang/rfcs/pull/544#issuecomment-68760871">settled</a>: Rust will ship with types named <code>isize</code> and
<code>usize</code>, rather than <code>int</code> and <code>uint</code>, for pointer-sized
integers. Guidelines will be rolled out during the alpha cycle.</li>
<li>Most crates that are not <code>std</code> have been moved out of the Rust
distribution into the Cargo ecosystem so they can evolve
separately and don't need to be stabilized as quickly, including
'time', 'getopts', 'num', 'regex', and 'term'.</li>
<li>Documentation continues to be expanded with more API coverage, more
examples, and more in-depth explanations. The guides have been
consolidated into <a href="https://doc.rust-lang.org/book/index.html">The Rust Programming Language</a>.</li>
<li>"<a href="http://rustbyexample.com/">Rust By Example</a>" is now maintained by the Rust team.</li>
<li>All official Rust binary installers now come with <a href="https://crates.io">Cargo</a>, the
Rust package manager.</li>
</ul>
</li>
<li>
<p>Language</p>
<ul>
<li>Closures have been <a href="http://smallcultfollowing.com/babysteps/blog/2014/11/26/purging-proc/">completely redesigned</a> to be
implemented in terms of traits, can now be used as generic type
bounds and thus monomorphized and inlined, or via an opaque
pointer (boxed) as in the old system. The new system is often
referred to as 'unboxed' closures.</li>
<li>Traits now support <a href="https://github.com/rust-lang/rfcs/blob/master/text/0195-associated-items.md">associated types</a>, allowing families
of related types to be defined together and used generically in
powerful ways.</li>
<li>Enum variants are <a href="https://github.com/rust-lang/rfcs/blob/master/text/0390-enum-namespacing.md">namespaced by their type names</a>.</li>
<li><a href="https://github.com/rust-lang/rfcs/blob/master/text/0135-where.md"><code>where</code> clauses</a> provide a more versatile and attractive
syntax for specifying generic bounds, though the previous syntax
remains valid.</li>
<li>Rust again picks a <a href="https://github.com/rust-lang/rust/pull/26959">fallback</a> (either i32 or f64) for uninferred
numeric types.</li>
<li>Rust <a href="https://github.com/rust-lang/rfcs/blob/master/text/0230-remove-runtime.md">no longer has a runtime</a> of any description, and only
supports OS threads, not green threads.</li>
<li>At long last, Rust has been overhauled for 'dynamically-sized
types' (<a href="https://github.com/rust-lang/rfcs/blob/master/text/0982-dst-coercion.md">DST</a>), which integrates 'fat pointers' (object types,
arrays, and <code>str</code>) more deeply into the type system, making it
more consistent.</li>
<li>Rust now has a general <a href="https://github.com/rust-lang/rfcs/blob/master/text/0439-cmp-ops-reform.md#indexing-and-slicing">range syntax</a>, <code>i..j</code>, <code>i..</code>, and
<code>..j</code> that produce range types and which, when combined with the
<code>Index</code> operator and multidispatch, leads to a convenient slice
notation, <code>[i..j]</code>.</li>
<li>The new range syntax revealed an ambiguity in the fixed-length
array syntax, so now fixed length arrays <a href="https://github.com/rust-lang/rfcs/blob/master/text/0520-new-array-repeat-syntax.md">are written <code>[T; N]</code></a>.</li>
<li>The <code>Copy</code> trait is no longer implemented automatically. Unsafe
pointers no longer implement <code>Sync</code> and <code>Send</code> so types
containing them don't automatically either. <code>Sync</code> and <code>Send</code>
are now 'unsafe traits' so one can "forcibly" implement them via
<code>unsafe impl</code> if a type confirms to the requirements for them
even though the internals do not (e.g. structs containing unsafe
pointers like <code>Arc</code>). These changes are intended to prevent some
footguns and are collectively known as <a href="https://github.com/rust-lang/rfcs/blob/master/text/0019-opt-in-builtin-traits.md">opt-in built-in
traits</a> (though <code>Sync</code> and <code>Send</code> will soon become pure
library types unknown to the compiler).</li>
<li>Operator traits now take their operands <a href="https://github.com/rust-lang/rfcs/blob/master/text/0439-cmp-ops-reform.md">by value</a>, and
comparison traits can use multidispatch to compare one type
against multiple other types, allowing e.g. <code>String</code> to be
compared with <code>&amp;str</code>.</li>
<li><code>if let</code> and <code>while let</code> are no longer feature-gated.</li>
<li>Rust has adopted a more <a href="https://github.com/rust-lang/rfcs/blob/master/text/0446-es6-unicode-escapes.md">uniform syntax for escaping unicode
characters</a>.</li>
<li><code>macro_rules!</code> <a href="https://github.com/rust-lang/rfcs/blob/master/text/0453-macro-reform.md">has been declared stable</a>. Though it is a
flawed system it is sufficiently popular that it must be usable
for 1.0. Effort has gone into <a href="https://github.com/rust-lang/rfcs/pull/550">future-proofing</a> it
in ways that will allow other macro systems to be developed in
parallel, and won't otherwise impact the evolution of the
language.</li>
<li>The prelude has been <a href="https://github.com/rust-lang/rfcs/blob/master/text/0503-prelude-stabilization.md">pared back significantly</a> such
that it is the minimum necessary to support the most pervasive
code patterns, and through <a href="https://github.com/rust-lang/rfcs/blob/master/text/0135-where.md">generalized where clauses</a>
many of the prelude extension traits have been consolidated.</li>
<li>Rust's rudimentary reflection <a href="https://github.com/rust-lang/rfcs/blob/master/text/0379-remove-reflection.md">has been removed</a>, as it
incurred too much code generation for little benefit.</li>
<li><a href="https://github.com/rust-lang/rfcs/blob/master/text/0418-struct-variants.md">Struct variants</a> are no longer feature-gated.</li>
<li>Trait bounds can be <a href="https://github.com/rust-lang/rfcs/blob/master/text/0387-higher-ranked-trait-bounds.md">polymorphic over lifetimes</a>. Also
known as 'higher-ranked trait bounds', this crucially allows
unboxed closures to work.</li>
<li>Macros invocations surrounded by parens or square brackets and
not terminated by a semicolon are <a href="https://github.com/rust-lang/rfcs/blob/master/text/0378-expr-macros.md">parsed as
expressions</a>, which makes expressions like <code>vec![1i32, 2, 3].len()</code> work as expected.</li>
<li>Trait objects now implement their traits automatically, and
traits that can be coerced to objects now must be <a href="https://github.com/rust-lang/rfcs/blob/master/text/0255-object-safety.md">object
safe</a>.</li>
<li>Automatically deriving traits is now done with <code>#[derive(...)]</code>
not <code>#[deriving(...)]</code> for <a href="https://github.com/rust-lang/rfcs/blob/master/text/0534-deriving2derive.md">consistency with other naming
conventions</a>.</li>
<li>Importing the containing module or enum at the same time as
items or variants they contain is <a href="https://github.com/rust-lang/rust/pull/22158">now done with <code>self</code> instead
of <code>mod</code></a>, as in use <code>foo::{self, bar}</code></li>
<li>Glob imports are no longer feature-gated.</li>
<li>The <code>box</code> operator and <code>box</code> patterns have been feature-gated
pending a redesign. For now unique boxes should be allocated
like other containers, with <code>Box::new</code>.</li>
</ul>
</li>
<li>
<p>Libraries</p>
<ul>
<li>A <a href="https://github.com/rust-lang/rfcs/blob/master/text/0235-collections-conventions.md">series</a> of <a href="https://github.com/rust-lang/rfcs/blob/master/text/0509-collections-reform-part-2.md">efforts</a> to establish
<a href="https://github.com/rust-lang/rfcs/blob/master/text/0216-collection-views.md">conventions</a> for collections types has resulted in API
improvements throughout the standard library.</li>
<li>New <a href="https://github.com/rust-lang/rfcs/blob/master/text/0201-error-chaining.md">APIs for error handling</a> provide ergonomic interop
between error types, and <a href="https://github.com/rust-lang/rfcs/blob/master/text/0236-error-conventions.md">new conventions</a> describe
more clearly the recommended error handling strategies in Rust.</li>
<li>The <code>fail!</code> macro has been renamed to <a href="https://github.com/rust-lang/rfcs/blob/master/text/0221-panic.md"><code>panic!</code></a> so that
it is easier to discuss failure in the context of error handling
without making clarifications as to whether you are referring to
the 'fail' macro or failure more generally.</li>
<li>On Linux, <code>OsRng</code> prefers the new, more reliable <code>getrandom</code>
syscall when available.</li>
<li>The 'serialize' crate has been renamed 'rustc-serialize' and
moved out of the distribution to Cargo. Although it is widely
used now, it is expected to be superseded in the near future.</li>
<li>The <code>Show</code> formatter, typically implemented with
<code>#[derive(Show)]</code> is <a href="https://github.com/rust-lang/rfcs/blob/master/text/0504-show-stabilization.md">now requested with the <code>{:?}</code>
specifier</a> and is intended for use by all types, for uses
such as <code>println!</code> debugging. The new <code>String</code> formatter must be
implemented by hand, uses the <code>{}</code> specifier, and is intended
for full-fidelity conversions of things that can logically be
represented as strings.</li>
</ul>
</li>
<li>
<p>Tooling</p>
<ul>
<li><a href="https://github.com/rust-lang/rfcs/blob/master/text/0131-target-specification.md">Flexible target specification</a> allows rustc's code
generation to be configured to support otherwise-unsupported
platforms.</li>
<li>Rust comes with rust-gdb and rust-lldb scripts that launch their
respective debuggers with Rust-appropriate pretty-printing.</li>
<li>The Windows installation of Rust is distributed with the
MinGW components currently required to link binaries on that
platform.</li>
</ul>
</li>
<li>
<p>Misc</p>
<ul>
<li>Nullable enum optimizations have been extended to more types so
that e.g. <code>Option&lt;Vec&lt;T&gt;&gt;</code> and <code>Option&lt;String&gt;</code> take up no more
space than the inner types themselves.</li>
<li>Work has begun on supporting AArch64.</li>
</ul>
</li>
</ul>
<h1>Version 0.12.0 (2014-10-09)</h1>
<ul>
<li>
<p>~1900 changes, numerous bugfixes</p>
</li>
<li>
<p>Highlights</p>
<ul>
<li>The introductory documentation (now called The Rust Guide) has
been completely rewritten, as have a number of supplementary
guides.</li>
<li>Rust's package manager, Cargo, continues to improve and is
sometimes considered to be quite awesome.</li>
<li>Many API's in <code>std</code> have been reviewed and updated for
consistency with the in-development Rust coding
guidelines. The standard library documentation tracks
stabilization progress.</li>
<li>Minor libraries have been moved out-of-tree to the rust-lang org
on GitHub: uuid, semver, glob, num, hexfloat, fourcc. They can
be installed with Cargo.</li>
<li>Lifetime elision allows lifetime annotations to be left off of
function declarations in many common scenarios.</li>
<li>Rust now works on 64-bit Windows.</li>
</ul>
</li>
<li>
<p>Language</p>
<ul>
<li>Indexing can be overloaded with the <code>Index</code> and <code>IndexMut</code>
traits.</li>
<li>The <code>if let</code> construct takes a branch only if the <code>let</code> pattern
matches, currently behind the 'if_let' feature gate.</li>
<li>'where clauses', a more flexible syntax for specifying trait
bounds that is more aesthetic, have been added for traits and
free functions. Where clauses will in the future make it
possible to constrain associated types, which would be
impossible with the existing syntax.</li>
<li>A new slicing syntax (e.g. <code>[0..4]</code>) has been introduced behind
the 'slicing_syntax' feature gate, and can be overloaded with
the <code>Slice</code> or <code>SliceMut</code> traits.</li>
<li>The syntax for matching of sub-slices has been changed to use a
postfix <code>..</code> instead of prefix (.e.g. <code>[a, b, c..]</code>), for
consistency with other uses of <code>..</code> and to future-proof
potential additional uses of the syntax.</li>
<li>The syntax for matching inclusive ranges in patterns has changed
from <code>0..3</code> to <code>0...4</code> to be consistent with the exclusive range
syntax for slicing.</li>
<li>Matching of sub-slices in non-tail positions (e.g.  <code>[a.., b, c]</code>) has been put behind the 'advanced_slice_patterns' feature
gate and may be removed in the future.</li>
<li>Components of tuples and tuple structs can be extracted using
the <code>value.0</code> syntax, currently behind the <code>tuple_indexing</code>
feature gate.</li>
<li>The <code>#[crate_id]</code> attribute is no longer supported; versioning
is handled by the package manager.</li>
<li>Renaming crate imports are now written <code>extern crate foo as bar</code>
instead of <code>extern crate bar = foo</code>.</li>
<li>Renaming use statements are now written <code>use foo as bar</code> instead
of <code>use bar = foo</code>.</li>
<li><code>let</code> and <code>match</code> bindings and argument names in macros are now
hygienic.</li>
<li>The new, more efficient, closure types ('unboxed closures') have
been added under a feature gate, 'unboxed_closures'. These will
soon replace the existing closure types, once higher-ranked
trait lifetimes are added to the language.</li>
<li><code>move</code> has been added as a keyword, for indicating closures
that capture by value.</li>
<li>Mutation and assignment is no longer allowed in pattern guards.</li>
<li>Generic structs and enums can now have trait bounds.</li>
<li>The <code>Share</code> trait is now called <code>Sync</code> to free up the term
'shared' to refer to 'shared reference' (the default reference
type.</li>
<li>Dynamically-sized types have been mostly implemented,
unifying the behavior of fat-pointer types with the rest of the
type system.</li>
<li>As part of dynamically-sized types, the <code>Sized</code> trait has been
introduced, which qualifying types implement by default, and
which type parameters expect by default. To specify that a type
parameter does not need to be sized, write <code>&lt;Sized? T&gt;</code>. Most
types are <code>Sized</code>, notable exceptions being unsized arrays
(<code>[T]</code>) and trait types.</li>
<li>Closures can return <code>!</code>, as in <code>|| -&gt; !</code> or <code>proc() -&gt; !</code>.</li>
<li>Lifetime bounds can now be applied to type parameters and object
types.</li>
<li>The old, reference counted GC type, <code>Gc&lt;T&gt;</code> which was once
denoted by the <code>@</code> sigil, has finally been removed. GC will be
revisited in the future.</li>
</ul>
</li>
<li>
<p>Libraries</p>
<ul>
<li>Library documentation has been improved for a number of modules.</li>
<li>Bit-vectors, collections::bitv has been modernized.</li>
<li>The url crate is deprecated in favor of
http://github.com/servo/rust-url, which can be installed with
Cargo.</li>
<li>Most I/O stream types can be cloned and subsequently closed from
a different thread.</li>
<li>A <code>std::time::Duration</code> type has been added for use in I/O
methods that rely on timers, as well as in the 'time' crate's
<code>Timespec</code> arithmetic.</li>
<li>The runtime I/O abstraction layer that enabled the green thread
scheduler to do non-thread-blocking I/O has been removed, along
with the libuv-based implementation employed by the green thread
scheduler. This will greatly simplify the future I/O work.</li>
<li><code>collections::btree</code> has been rewritten to have a more
idiomatic and efficient design.</li>
</ul>
</li>
<li>
<p>Tooling</p>
<ul>
<li>rustdoc output now indicates the stability levels of API's.</li>
<li>The <code>--crate-name</code> flag can specify the name of the crate
being compiled, like <code>#[crate_name]</code>.</li>
<li>The <code>-C metadata</code> specifies additional metadata to hash into
symbol names, and <code>-C extra-filename</code> specifies additional
information to put into the output filename, for use by the
package manager for versioning.</li>
<li>debug info generation has continued to improve and should be
more reliable under both gdb and lldb.</li>
<li>rustc has experimental support for compiling in parallel
using the <code>-C codegen-units</code> flag.</li>
<li>rustc no longer encodes rpath information into binaries by
default.</li>
</ul>
</li>
<li>
<p>Misc</p>
<ul>
<li>Stack usage has been optimized with LLVM lifetime annotations.</li>
<li>Official Rust binaries on Linux are more compatible with older
kernels and distributions, built on CentOS 5.10.</li>
</ul>
</li>
</ul>
<h1>Version 0.11.0 (2014-07-02)</h1>
<ul>
<li>
<p>~1700 changes, numerous bugfixes</p>
</li>
<li>
<p>Language</p>
<ul>
<li>~[T] has been removed from the language. This type is superseded by
the Vec&lt;T&gt; type.</li>
<li>~str has been removed from the language. This type is superseded by
the String type.</li>
<li>~T has been removed from the language. This type is superseded by the
Box&lt;T&gt; type.</li>
<li>@T has been removed from the language. This type is superseded by the
standard library's std::gc::Gc&lt;T&gt; type.</li>
<li>Struct fields are now all private by default.</li>
<li>Vector indices and shift amounts are both required to be a <code>uint</code>
instead of any integral type.</li>
<li>Byte character, byte string, and raw byte string literals are now all
supported by prefixing the normal literal with a <code>b</code>.</li>
<li>Multiple ABIs are no longer allowed in an ABI string</li>
<li>The syntax for lifetimes on closures/procedures has been tweaked
slightly: <code>&lt;'a&gt;|A, B|: 'b + K -&gt; T</code></li>
<li>Floating point modulus has been removed from the language; however it
is still provided by a library implementation.</li>
<li>Private enum variants are now disallowed.</li>
<li>The <code>priv</code> keyword has been removed from the language.</li>
<li>A closure can no longer be invoked through a &amp;-pointer.</li>
<li>The <code>use foo, bar, baz;</code> syntax has been removed from the language.</li>
<li>The transmute intrinsic no longer works on type parameters.</li>
<li>Statics now allow blocks/items in their definition.</li>
<li>Trait bounds are separated from objects with + instead of : now.</li>
<li>Objects can no longer be read while they are mutably borrowed.</li>
<li>The address of a static is now marked as insignificant unless the
#[inline(never)] attribute is placed it.</li>
<li>The #[unsafe_destructor] attribute is now behind a feature gate.</li>
<li>Struct literals are no longer allowed in ambiguous positions such as
if, while, match, and for..in.</li>
<li>Declaration of lang items and intrinsics are now feature-gated by
default.</li>
<li>Integral literals no longer default to <code>int</code>, and floating point
literals no longer default to <code>f64</code>. Literals must be suffixed with an
appropriate type if inference cannot determine the type of the
literal.</li>
<li>The Box&lt;T&gt; type is no longer implicitly borrowed to &amp;mut T.</li>
<li>Procedures are now required to not capture borrowed references.</li>
</ul>
</li>
<li>
<p>Libraries</p>
<ul>
<li>The standard library is now a "facade" over a number of underlying
libraries. This means that development on the standard library should
be speedier due to smaller crates, as well as a clearer line between
all dependencies.</li>
<li>A new library, libcore, lives under the standard library's facade
which is Rust's "0-assumption" library, suitable for embedded and
kernel development for example.</li>
<li>A regex crate has been added to the standard distribution. This crate
includes statically compiled regular expressions.</li>
<li>The unwrap/unwrap_err methods on Result require a Show bound for
better error messages.</li>
<li>The return types of the std::comm primitives have been centralized
around the Result type.</li>
<li>A number of I/O primitives have gained the ability to time out their
operations.</li>
<li>A number of I/O primitives have gained the ability to close their
reading/writing halves to cancel pending operations.</li>
<li>Reverse iterator methods have been removed in favor of <code>rev()</code> on
their forward-iteration counterparts.</li>
<li>A bitflags! macro has been added to enable easy interop with C and
management of bit flags.</li>
<li>A debug_assert! macro is now provided which is disabled when
<code>--cfg ndebug</code> is passed to the compiler.</li>
<li>A graphviz crate has been added for creating .dot files.</li>
<li>The std::cast module has been migrated into std::mem.</li>
<li>The std::local_data api has been migrated from freestanding functions
to being based on methods.</li>
<li>The Pod trait has been renamed to Copy.</li>
<li>jemalloc has been added as the default allocator for types.</li>
<li>The API for allocating memory has been changed to use proper alignment
and sized deallocation</li>
<li>Connecting a TcpStream or binding a TcpListener is now based on a
string address and a u16 port. This allows connecting to a hostname as
opposed to an IP.</li>
<li>The Reader trait now contains a core method, read_at_least(), which
correctly handles many repeated 0-length reads.</li>
<li>The process-spawning API is now centered around a builder-style
Command struct.</li>
<li>The :? printing qualifier has been moved from the standard library to
an external libdebug crate.</li>
<li>Eq/Ord have been renamed to PartialEq/PartialOrd. TotalEq/TotalOrd
have been renamed to Eq/Ord.</li>
<li>The select/plural methods have been removed from format!. The escapes
for { and } have also changed from { and } to {{ and }},
respectively.</li>
<li>The TaskBuilder API has been re-worked to be a true builder, and
extension traits for spawning native/green tasks have been added.</li>
</ul>
</li>
<li>
<p>Tooling</p>
<ul>
<li>All breaking changes to the language or libraries now have their
commit message annotated with <code>[breaking-change]</code> to allow for easy
discovery of breaking changes.</li>
<li>The compiler will now try to suggest how to annotate lifetimes if a
lifetime-related error occurs.</li>
<li>Debug info continues to be improved greatly with general bug fixes and
better support for situations like link time optimization (LTO).</li>
<li>Usage of syntax extensions when cross-compiling has been fixed.</li>
<li>Functionality equivalent to GCC &amp; Clang's -ffunction-sections,
-fdata-sections and --gc-sections has been enabled by default</li>
<li>The compiler is now stricter about where it will load module files
from when a module is declared via <code>mod foo;</code>.</li>
<li>The #[phase(syntax)] attribute has been renamed to #[phase(plugin)].
Syntax extensions are now discovered via a "plugin registrar" type
which will be extended in the future to other various plugins.</li>
<li>Lints have been restructured to allow for dynamically loadable lints.</li>
<li>A number of rustdoc improvements:
<ul>
<li>The HTML output has been visually redesigned.</li>
<li>Markdown is now powered by hoedown instead of sundown.</li>
<li>Searching heuristics have been greatly improved.</li>
<li>The search index has been reduced in size by a great amount.</li>
<li>Cross-crate documentation via <code>pub use</code> has been greatly improved.</li>
<li>Primitive types are now hyperlinked and documented.</li>
</ul>
</li>
<li>Documentation has been moved from static.rust-lang.org/doc to
doc.rust-lang.org</li>
<li>A new sandbox, play.rust-lang.org, is available for running and
sharing rust code examples on-line.</li>
<li>Unused attributes are now more robustly warned about.</li>
<li>The dead_code lint now warns about unused struct fields.</li>
<li>Cross-compiling to iOS is now supported.</li>
<li>Cross-compiling to mipsel is now supported.</li>
<li>Stability attributes are now inherited by default and no longer apply
to intra-crate usage, only inter-crate usage.</li>
<li>Error message related to non-exhaustive match expressions have been
greatly improved.</li>
</ul>
</li>
</ul>
<h1>Version 0.10 (2014-04-03)</h1>
<ul>
<li>
<p>~1500 changes, numerous bugfixes</p>
</li>
<li>
<p>Language</p>
<ul>
<li>A new RFC process is now in place for modifying the language.</li>
<li>Patterns with <code>@</code>-pointers have been removed from the language.</li>
<li>Patterns with unique vectors (<code>~[T]</code>) have been removed from the
language.</li>
<li>Patterns with unique strings (<code>~str</code>) have been removed from the
language.</li>
<li><code>@str</code> has been removed from the language.</li>
<li><code>@[T]</code> has been removed from the language.</li>
<li><code>@self</code> has been removed from the language.</li>
<li><code>@Trait</code> has been removed from the language.</li>
<li>Headers on <code>~</code> allocations which contain <code>@</code> boxes inside the type for
reference counting have been removed.</li>
<li>The semantics around the lifetimes of temporary expressions have changed,
see #3511 and #11585 for more information.</li>
<li>Cross-crate syntax extensions are now possible, but feature gated. See
#11151 for more information. This includes both <code>macro_rules!</code> macros as
well as syntax extensions such as <code>format!</code>.</li>
<li>New lint modes have been added, and older ones have been turned on to be
warn-by-default.
<ul>
<li>Unnecessary parentheses</li>
<li>Uppercase statics</li>
<li>Camel Case types</li>
<li>Uppercase variables</li>
<li>Publicly visible private types</li>
<li><code>#[deriving]</code> with raw pointers</li>
</ul>
</li>
<li>Unsafe functions can no longer be coerced to closures.</li>
<li>Various obscure macros such as <code>log_syntax!</code> are now behind feature gates.</li>
<li>The <code>#[simd]</code> attribute is now behind a feature gate.</li>
<li>Visibility is no longer allowed on <code>extern crate</code> statements, and
unnecessary visibility (<code>priv</code>) is no longer allowed on <code>use</code> statements.</li>
<li>Trailing commas are now allowed in argument lists and tuple patterns.</li>
<li>The <code>do</code> keyword has been removed, it is now a reserved keyword.</li>
<li>Default type parameters have been implemented, but are feature gated.</li>
<li>Borrowed variables through captures in closures are now considered soundly.</li>
<li><code>extern mod</code> is now <code>extern crate</code></li>
<li>The <code>Freeze</code> trait has been removed.</li>
<li>The <code>Share</code> trait has been added for types that can be shared among
threads.</li>
<li>Labels in macros are now hygienic.</li>
<li>Expression/statement macro invocations can be delimited with <code>{}</code> now.</li>
<li>Treatment of types allowed in <code>static mut</code> locations has been tweaked.</li>
<li>The <code>*</code> and <code>.</code> operators are now overloadable through the <code>Deref</code> and
<code>DerefMut</code> traits.</li>
<li><code>~Trait</code> and <code>proc</code> no longer have <code>Send</code> bounds by default.</li>
<li>Partial type hints are now supported with the <code>_</code> type marker.</li>
<li>An <code>Unsafe</code> type was introduced for interior mutability. It is now
considered undefined to transmute from <code>&amp;T</code> to <code>&amp;mut T</code> without using the
<code>Unsafe</code> type.</li>
<li>The #[linkage] attribute was implemented for extern statics/functions.</li>
<li>The inner attribute syntax has changed from <code>#[foo];</code> to <code>#![foo]</code>.</li>
<li><code>Pod</code> was renamed to <code>Copy</code>.</li>
</ul>
</li>
<li>
<p>Libraries</p>
<ul>
<li>The <code>libextra</code> library has been removed. It has now been decomposed into
component libraries with smaller and more focused nuggets of
functionality. The full list of libraries can be found on the
documentation index page.</li>
<li>std: <code>std::condition</code> has been removed. All I/O errors are now propagated
through the <code>Result</code> type. In order to assist with error handling, a
<code>try!</code> macro for unwrapping errors with an early return and a lint for
unused results has been added. See #12039 for more information.</li>
<li>std: The <code>vec</code> module has been renamed to <code>slice</code>.</li>
<li>std: A new vector type, <code>Vec&lt;T&gt;</code>, has been added in preparation for DST.
This will become the only growable vector in the future.</li>
<li>std: <code>std::io</code> now has more public re-exports. Types such as <code>BufferedReader</code>
are now found at <code>std::io::BufferedReader</code> instead of
<code>std::io::buffered::BufferedReader</code>.</li>
<li>std: <code>print</code> and <code>println</code> are no longer in the prelude, the <code>print!</code> and
<code>println!</code> macros are intended to be used instead.</li>
<li>std: <code>Rc</code> now has a <code>Weak</code> pointer for breaking cycles, and it no longer
attempts to statically prevent cycles.</li>
<li>std: The standard distribution is adopting the policy of pushing failure
to the user rather than failing in libraries. Many functions (such as
<code>slice::last()</code>) now return <code>Option&lt;T&gt;</code> instead of <code>T</code> + failing.</li>
<li>std: <code>fmt::Default</code> has been renamed to <code>fmt::Show</code>, and it now has a new
deriving mode: <code>#[deriving(Show)]</code>.</li>
<li>std: <code>ToStr</code> is now implemented for all types implementing <code>Show</code>.</li>
<li>std: The formatting trait methods now take <code>&amp;self</code> instead of <code>&amp;T</code></li>
<li>std: The <code>invert()</code> method on iterators has been renamed to <code>rev()</code></li>
<li>std: <code>std::num</code> has seen a reduction in the genericity of its traits,
consolidating functionality into a few core traits.</li>
<li>std: Backtraces are now printed on task failure if the environment
variable <code>RUST_BACKTRACE</code> is present.</li>
<li>std: Naming conventions for iterators have been standardized. More details
can be found on the wiki's style guide.</li>
<li>std: <code>eof()</code> has been removed from the <code>Reader</code> trait. Specific types may
still implement the function.</li>
<li>std: Networking types are now cloneable to allow simultaneous reads/writes.</li>
<li>std: <code>assert_approx_eq!</code> has been removed</li>
<li>std: The <code>e</code> and <code>E</code> formatting specifiers for floats have been added to
print them in exponential notation.</li>
<li>std: The <code>Times</code> trait has been removed</li>
<li>std: Indications of variance and opting out of builtin bounds is done
through marker types in <code>std::kinds::marker</code> now</li>
<li>std: <code>hash</code> has been rewritten, <code>IterBytes</code> has been removed, and
<code>#[deriving(Hash)]</code> is now possible.</li>
<li>std: <code>SharedChan</code> has been removed, <code>Sender</code> is now cloneable.</li>
<li>std: <code>Chan</code> and <code>Port</code> were renamed to <code>Sender</code> and <code>Receiver</code>.</li>
<li>std: <code>Chan::new</code> is now <code>channel()</code>.</li>
<li>std: A new synchronous channel type has been implemented.</li>
<li>std: A <code>select!</code> macro is now provided for selecting over <code>Receiver</code>s.</li>
<li>std: <code>hashmap</code> and <code>trie</code> have been moved to <code>libcollections</code></li>
<li>std: <code>run</code> has been rolled into <code>io::process</code></li>
<li>std: <code>assert_eq!</code> now uses <code>{}</code> instead of <code>{:?}</code></li>
<li>std: The equality and comparison traits have seen some reorganization.</li>
<li>std: <code>rand</code> has moved to <code>librand</code>.</li>
<li>std: <code>to_{lower,upper}case</code> has been implemented for <code>char</code>.</li>
<li>std: Logging has been moved to <code>liblog</code>.</li>
<li>collections: <code>HashMap</code> has been rewritten for higher performance and less
memory usage.</li>
<li>native: The default runtime is now <code>libnative</code>. If <code>libgreen</code> is desired,
it can be booted manually. The runtime guide has more information and
examples.</li>
<li>native: All I/O functionality except signals has been implemented.</li>
<li>green: Task spawning with <code>libgreen</code> has been optimized with stack caching
and various trimming of code.</li>
<li>green: Tasks spawned by <code>libgreen</code> now have an unmapped guard page.</li>
<li>sync: The <code>extra::sync</code> module has been updated to modern rust (and moved
to the <code>sync</code> library), tweaking and improving various interfaces while
dropping redundant functionality.</li>
<li>sync: A new <code>Barrier</code> type has been added to the <code>sync</code> library.</li>
<li>sync: An efficient mutex for native and green tasks has been implemented.</li>
<li>serialize: The <code>base64</code> module has seen some improvement. It treats
newlines better, has non-string error values, and has seen general
cleanup.</li>
<li>fourcc: A <code>fourcc!</code> macro was introduced</li>
<li>hexfloat: A <code>hexfloat!</code> macro was implemented for specifying floats via a
hexadecimal literal.</li>
</ul>
</li>
<li>
<p>Tooling</p>
<ul>
<li><code>rustpkg</code> has been deprecated and removed from the main repository. Its
replacement, <code>cargo</code>, is under development.</li>
<li>Nightly builds of rust are now available</li>
<li>The memory usage of rustc has been improved many times throughout this
release cycle.</li>
<li>The build process supports disabling rpath support for the rustc binary
itself.</li>
<li>Code generation has improved in some cases, giving more information to the
LLVM optimization passes to enable more extensive optimizations.</li>
<li>Debuginfo compatibility with lldb on OSX has been restored.</li>
<li>The master branch is now gated on an android bot, making building for
android much more reliable.</li>
<li>Output flags have been centralized into one <code>--emit</code> flag.</li>
<li>Crate type flags have been centralized into one <code>--crate-type</code> flag.</li>
<li>Codegen flags have been consolidated behind a <code>-C</code> flag.</li>
<li>Linking against outdated crates now has improved error messages.</li>
<li>Error messages with lifetimes will often suggest how to annotate the
function to fix the error.</li>
<li>Many more types are documented in the standard library, and new guides
were written.</li>
<li>Many <code>rustdoc</code> improvements:
<ul>
<li>code blocks are syntax highlighted.</li>
<li>render standalone markdown files.</li>
<li>the --test flag tests all code blocks by default.</li>
<li>exported macros are displayed.</li>
<li>re-exported types have their documentation inlined at the location of the
first re-export.</li>
<li>search works across crates that have been rendered to the same output
directory.</li>
</ul>
</li>
</ul>
</li>
</ul>
<h1>Version 0.9 (2014-01-09)</h1>
<ul>
<li>
<p>~1800 changes, numerous bugfixes</p>
</li>
<li>
<p>Language</p>
<ul>
<li>The <code>float</code> type has been removed. Use <code>f32</code> or <code>f64</code> instead.</li>
<li>A new facility for enabling experimental features (feature gating) has
been added, using the crate-level <code>#[feature(foo)]</code> attribute.</li>
<li>Managed boxes (@) are now behind a feature gate
(<code>#[feature(managed_boxes)]</code>) in preparation for future removal. Use the
standard library's <code>Gc</code> or <code>Rc</code> types instead.</li>
<li><code>@mut</code> has been removed. Use <code>std::cell::{Cell, RefCell}</code> instead.</li>
<li>Jumping back to the top of a loop is now done with <code>continue</code> instead of
<code>loop</code>.</li>
<li>Strings can no longer be mutated through index assignment.</li>
<li>Raw strings can be created via the basic <code>r"foo"</code> syntax or with matched
hash delimiters, as in <code>r###"foo"###</code>.</li>
<li><code>~fn</code> is now written <code>proc (args) -&gt; retval { ... }</code> and may only be
called once.</li>
<li>The <code>&amp;fn</code> type is now written <code>|args| -&gt; ret</code> to match the literal form.</li>
<li><code>@fn</code>s have been removed.</li>
<li><code>do</code> only works with procs in order to make it obvious what the cost
of <code>do</code> is.</li>
<li>Single-element tuple-like structs can no longer be dereferenced to
obtain the inner value. A more comprehensive solution for overloading
the dereference operator will be provided in the future.</li>
<li>The <code>#[link(...)]</code> attribute has been replaced with
<code>#[crate_id = "name#vers"]</code>.</li>
<li>Empty <code>impl</code>s must be terminated with empty braces and may not be
terminated with a semicolon.</li>
<li>Keywords are no longer allowed as lifetime names; the <code>self</code> lifetime
no longer has any special meaning.</li>
<li>The old <code>fmt!</code> string formatting macro has been removed.</li>
<li><code>printf!</code> and <code>printfln!</code> (old-style formatting) removed in favor of
<code>print!</code> and <code>println!</code>.</li>
<li><code>mut</code> works in patterns now, as in <code>let (mut x, y) = (1, 2);</code>.</li>
<li>The <code>extern mod foo (name = "bar")</code> syntax has been removed. Use
<code>extern mod foo = "bar"</code> instead.</li>
<li>New reserved keywords: <code>alignof</code>, <code>offsetof</code>, <code>sizeof</code>.</li>
<li>Macros can have attributes.</li>
<li>Macros can expand to items with attributes.</li>
<li>Macros can expand to multiple items.</li>
<li>The <code>asm!</code> macro is feature-gated (<code>#[feature(asm)]</code>).</li>
<li>Comments may be nested.</li>
<li>Values automatically coerce to trait objects they implement, without
an explicit <code>as</code>.</li>
<li>Enum discriminants are no longer an entire word but as small as needed to
contain all the variants. The <code>repr</code> attribute can be used to override
the discriminant size, as in <code>#[repr(int)]</code> for integer-sized, and
<code>#[repr(C)]</code> to match C enums.</li>
<li>Non-string literals are not allowed in attributes (they never worked).</li>
<li>The FFI now supports variadic functions.</li>
<li>Octal numeric literals, as in <code>0o7777</code>.</li>
<li>The <code>concat!</code> syntax extension performs compile-time string concatenation.</li>
<li>The <code>#[fixed_stack_segment]</code> and <code>#[rust_stack]</code> attributes have been
removed as Rust no longer uses segmented stacks.</li>
<li>Non-ascii identifiers are feature-gated (<code>#[feature(non_ascii_idents)]</code>).</li>
<li>Ignoring all fields of an enum variant or tuple-struct is done with <code>..</code>,
not <code>*</code>; ignoring remaining fields of a struct is also done with <code>..</code>,
not <code>_</code>; ignoring a slice of a vector is done with <code>..</code>, not <code>.._</code>.</li>
<li><code>rustc</code> supports the "win64" calling convention via <code>extern "win64"</code>.</li>
<li><code>rustc</code> supports the "system" calling convention, which defaults to the
preferred convention for the target platform, "stdcall" on 32-bit Windows,
"C" elsewhere.</li>
<li>The <code>type_overflow</code> lint (default: warn) checks literals for overflow.</li>
<li>The <code>unsafe_block</code> lint (default: allow) checks for usage of <code>unsafe</code>.</li>
<li>The <code>attribute_usage</code> lint (default: warn) warns about unknown
attributes.</li>
<li>The <code>unknown_features</code> lint (default: warn) warns about unknown
feature gates.</li>
<li>The <code>dead_code</code> lint (default: warn) checks for dead code.</li>
<li>Rust libraries can be linked statically to one another</li>
<li><code>#[link_args]</code> is behind the <code>link_args</code> feature gate.</li>
<li>Native libraries are now linked with <code>#[link(name = "foo")]</code></li>
<li>Native libraries can be statically linked to a rust crate
(<code>#[link(name = "foo", kind = "static")]</code>).</li>
<li>Native OS X frameworks are now officially supported
(<code>#[link(name = "foo", kind = "framework")]</code>).</li>
<li>The <code>#[thread_local]</code> attribute creates thread-local (not task-local)
variables. Currently behind the <code>thread_local</code> feature gate.</li>
<li>The <code>return</code> keyword may be used in closures.</li>
<li>Types that can be copied via a memcpy implement the <code>Pod</code> kind.</li>
<li>The <code>cfg</code> attribute can now be used on struct fields and enum variants.</li>
</ul>
</li>
<li>
<p>Libraries</p>
<ul>
<li>std: The <code>option</code> and <code>result</code> API's have been overhauled to make them
simpler, more consistent, and more composable.</li>
<li>std: The entire <code>std::io</code> module has been replaced with one that is
more comprehensive and that properly interfaces with the underlying
scheduler. File, TCP, UDP, Unix sockets, pipes, and timers are all
implemented.</li>
<li>std: <code>io::util</code> contains a number of useful implementations of
<code>Reader</code> and <code>Writer</code>, including <code>NullReader</code>, <code>NullWriter</code>,
<code>ZeroReader</code>, <code>TeeReader</code>.</li>
<li>std: The reference counted pointer type <code>extra::rc</code> moved into std.</li>
<li>std: The <code>Gc</code> type in the <code>gc</code> module will replace <code>@</code> (it is currently
just a wrapper around it).</li>
<li>std: The <code>Either</code> type has been removed.</li>
<li>std: <code>fmt::Default</code> can be implemented for any type to provide default
formatting to the <code>format!</code> macro, as in <code>format!("{}", myfoo)</code>.</li>
<li>std: The <code>rand</code> API continues to be tweaked.</li>
<li>std: The <code>rust_begin_unwind</code> function, useful for inserting breakpoints
on failure in gdb, is now named <code>rust_fail</code>.</li>
<li>std: The <code>each_key</code> and <code>each_value</code> methods on <code>HashMap</code> have been
replaced by the <code>keys</code> and <code>values</code> iterators.</li>
<li>std: Functions dealing with type size and alignment have moved from the
<code>sys</code> module to the <code>mem</code> module.</li>
<li>std: The <code>path</code> module was written and API changed.</li>
<li>std: <code>str::from_utf8</code> has been changed to cast instead of allocate.</li>
<li>std: <code>starts_with</code> and <code>ends_with</code> methods added to vectors via the
<code>ImmutableEqVector</code> trait, which is in the prelude.</li>
<li>std: Vectors can be indexed with the <code>get_opt</code> method, which returns <code>None</code>
if the index is out of bounds.</li>
<li>std: Task failure no longer propagates between tasks, as the model was
complex, expensive, and incompatible with thread-based tasks.</li>
<li>std: The <code>Any</code> type can be used for dynamic typing.</li>
<li>std: <code>~Any</code> can be passed to the <code>fail!</code> macro and retrieved via
<code>task::try</code>.</li>
<li>std: Methods that produce iterators generally do not have an <code>_iter</code>
suffix now.</li>
<li>std: <code>cell::Cell</code> and <code>cell::RefCell</code> can be used to introduce mutability
roots (mutable fields, etc.). Use instead of e.g. <code>@mut</code>.</li>
<li>std: <code>util::ignore</code> renamed to <code>prelude::drop</code>.</li>
<li>std: Slices have <code>sort</code> and <code>sort_by</code> methods via the <code>MutableVector</code>
trait.</li>
<li>std: <code>vec::raw</code> has seen a lot of cleanup and API changes.</li>
<li>std: The standard library no longer includes any C++ code, and very
minimal C, eliminating the dependency on libstdc++.</li>
<li>std: Runtime scheduling and I/O functionality has been factored out into
extensible interfaces and is now implemented by two different crates:
libnative, for native threading and I/O; and libgreen, for green threading
and I/O. This paves the way for using the standard library in more limited
embedded environments.</li>
<li>std: The <code>comm</code> module has been rewritten to be much faster, have a
simpler, more consistent API, and to work for both native and green
threading.</li>
<li>std: All libuv dependencies have been moved into the rustuv crate.</li>
<li>native: New implementations of runtime scheduling on top of OS threads.</li>
<li>native: New native implementations of TCP, UDP, file I/O, process spawning,
and other I/O.</li>
<li>green: The green thread scheduler and message passing types are almost
entirely lock-free.</li>
<li>extra: The <code>flatpipes</code> module had bitrotted and was removed.</li>
<li>extra: All crypto functions have been removed and Rust now has a policy of
not reimplementing crypto in the standard library. In the future crypto
will be provided by external crates with bindings to established libraries.</li>
<li>extra: <code>c_vec</code> has been modernized.</li>
<li>extra: The <code>sort</code> module has been removed. Use the <code>sort</code> method on
mutable slices.</li>
</ul>
</li>
<li>
<p>Tooling</p>
<ul>
<li>The <code>rust</code> and <code>rusti</code> commands have been removed, due to lack of
maintenance.</li>
<li><code>rustdoc</code> was completely rewritten.</li>
<li><code>rustdoc</code> can test code examples in documentation.</li>
<li><code>rustpkg</code> can test packages with the argument, 'test'.</li>
<li><code>rustpkg</code> supports arbitrary dependencies, including C libraries.</li>
<li><code>rustc</code>'s support for generating debug info is improved again.</li>
<li><code>rustc</code> has better error reporting for unbalanced delimiters.</li>
<li><code>rustc</code>'s JIT support was removed due to bitrot.</li>
<li>Executables and static libraries can be built with LTO (-Z lto)</li>
<li><code>rustc</code> adds a <code>--dep-info</code> flag for communicating dependencies to
build tools.</li>
</ul>
</li>
</ul>
<h1>Version 0.8 (2013-09-26)</h1>
<ul>
<li>
<p>~2200 changes, numerous bugfixes</p>
</li>
<li>
<p>Language</p>
<ul>
<li>The <code>for</code> loop syntax has changed to work with the <code>Iterator</code> trait.</li>
<li>At long last, unwinding works on Windows.</li>
<li>Default methods are ready for use.</li>
<li>Many trait inheritance bugs fixed.</li>
<li>Owned and borrowed trait objects work more reliably.</li>
<li><code>copy</code> is no longer a keyword. It has been replaced by the <code>Clone</code> trait.</li>
<li>rustc can omit emission of code for the <code>debug!</code> macro if it is passed
<code>--cfg ndebug</code></li>
<li>mod.rs is now "blessed". When loading <code>mod foo;</code>, rustc will now look
for foo.rs, then foo/mod.rs, and will generate an error when both are
present.</li>
<li>Strings no longer contain trailing nulls. The new <code>std::c_str</code> module
provides new mechanisms for converting to C strings.</li>
<li>The type of foreign functions is now <code>extern "C" fn</code> instead of `*u8'.</li>
<li>The FFI has been overhauled such that foreign functions are called directly,
instead of through a stack-switching wrapper.</li>
<li>Calling a foreign function must be done through a Rust function with the
<code>#[fixed_stack_segment]</code> attribute.</li>
<li>The <code>externfn!</code> macro can be used to declare both a foreign function and
a <code>#[fixed_stack_segment]</code> wrapper at once.</li>
<li><code>pub</code> and <code>priv</code> modifiers on <code>extern</code> blocks are no longer parsed.</li>
<li><code>unsafe</code> is no longer allowed on extern fns - they are all unsafe.</li>
<li><code>priv</code> is disallowed everywhere except for struct fields and enum variants.</li>
<li><code>&amp;T</code> (besides <code>&amp;'static T</code>) is no longer allowed in <code>@T</code>.</li>
<li><code>ref</code> bindings in irrefutable patterns work correctly now.</li>
<li><code>char</code> is now prevented from containing invalid code points.</li>
<li>Casting to <code>bool</code> is no longer allowed.</li>
<li><code>\0</code> is now accepted as an escape in chars and strings.</li>
<li><code>yield</code> is a reserved keyword.</li>
<li><code>typeof</code> is a reserved keyword.</li>
<li>Crates may be imported by URL with <code>extern mod foo = "url";</code>.</li>
<li>Explicit enum discriminants may be given as uints as in <code>enum E { V = 0u }</code></li>
<li>Static vectors can be initialized with repeating elements,
e.g. <code>static foo: [u8, .. 100]: [0, .. 100];</code>.</li>
<li>Static structs can be initialized with functional record update,
e.g. <code>static foo: Foo = Foo { a: 5, .. bar };</code>.</li>
<li><code>cfg!</code> can be used to conditionally execute code based on the crate
configuration, similarly to <code>#[cfg(...)]</code>.</li>
<li>The <code>unnecessary_qualification</code> lint detects unneeded module
prefixes (default: allow).</li>
<li>Arithmetic operations have been implemented on the SIMD types in
<code>std::unstable::simd</code>.</li>
<li>Exchange allocation headers were removed, reducing memory usage.</li>
<li><code>format!</code> implements a completely new, extensible, and higher-performance
string formatting system. It will replace <code>fmt!</code>.</li>
<li><code>print!</code> and <code>println!</code> write formatted strings (using the <code>format!</code>
extension) to stdout.</li>
<li><code>write!</code> and <code>writeln!</code> write formatted strings (using the <code>format!</code>
extension) to the new Writers in <code>std::rt::io</code>.</li>
<li>The library section in which a function or static is placed may
be specified with <code>#[link_section = "..."]</code>.</li>
<li>The <code>proto!</code> syntax extension for defining bounded message protocols
was removed.</li>
<li><code>macro_rules!</code> is hygienic for <code>let</code> declarations.</li>
<li>The <code>#[export_name]</code> attribute specifies the name of a symbol.</li>
<li><code>unreachable!</code> can be used to indicate unreachable code, and fails
if executed.</li>
</ul>
</li>
<li>
<p>Libraries</p>
<ul>
<li>std: Transitioned to the new runtime, written in Rust.</li>
<li>std: Added an experimental I/O library, <code>rt::io</code>, based on the new
runtime.</li>
<li>std: A new generic <code>range</code> function was added to the prelude, replacing
<code>uint::range</code> and friends.</li>
<li>std: <code>range_rev</code> no longer exists. Since range is an iterator it can be
reversed with <code>range(lo, hi).invert()</code>.</li>
<li>std: The <code>chain</code> method on option renamed to <code>and_then</code>; <code>unwrap_or_default</code>
renamed to <code>unwrap_or</code>.</li>
<li>std: The <code>iterator</code> module was renamed to <code>iter</code>.</li>
<li>std: Integral types now support the <code>checked_add</code>, <code>checked_sub</code>, and
<code>checked_mul</code> operations for detecting overflow.</li>
<li>std: Many methods in <code>str</code>, <code>vec</code>, <code>option, </code>result` were renamed for
consistency.</li>
<li>std: Methods are standardizing on conventions for casting methods:
<code>to_foo</code> for copying, <code>into_foo</code> for moving, <code>as_foo</code> for temporary
and cheap casts.</li>
<li>std: The <code>CString</code> type in <code>c_str</code> provides new ways to convert to and
from C strings.</li>
<li>std: <code>DoubleEndedIterator</code> can yield elements in two directions.</li>
<li>std: The <code>mut_split</code> method on vectors partitions an <code>&amp;mut [T]</code> into
two splices.</li>
<li>std: <code>str::from_bytes</code> renamed to <code>str::from_utf8</code>.</li>
<li>std: <code>pop_opt</code> and <code>shift_opt</code> methods added to vectors.</li>
<li>std: The task-local data interface no longer uses @, and keys are
no longer function pointers.</li>
<li>std: The <code>swap_unwrap</code> method of <code>Option</code> renamed to <code>take_unwrap</code>.</li>
<li>std: Added <code>SharedPort</code> to <code>comm</code>.</li>
<li>std: <code>Eq</code> has a default method for <code>ne</code>; only <code>eq</code> is required
in implementations.</li>
<li>std: <code>Ord</code> has default methods for <code>le</code>, <code>gt</code> and <code>ge</code>; only <code>lt</code>
is required in implementations.</li>
<li>std: <code>is_utf8</code> performance is improved, impacting many string functions.</li>
<li>std: <code>os::MemoryMap</code> provides cross-platform mmap.</li>
<li>std: <code>ptr::offset</code> is now unsafe, but also more optimized. Offsets that
are not 'in-bounds' are considered undefined.</li>
<li>std: Many freestanding functions in <code>vec</code> removed in favor of methods.</li>
<li>std: Many freestanding functions on scalar types removed in favor of
methods.</li>
<li>std: Many options to task builders were removed since they don't make
sense in the new scheduler design.</li>
<li>std: More containers implement <code>FromIterator</code> so can be created by the
<code>collect</code> method.</li>
<li>std: More complete atomic types in <code>unstable::atomics</code>.</li>
<li>std: <code>comm::PortSet</code> removed.</li>
<li>std: Mutating methods in the <code>Set</code> and <code>Map</code> traits have been moved into
the <code>MutableSet</code> and <code>MutableMap</code> traits. <code>Container::is_empty</code>,
<code>Map::contains_key</code>, <code>MutableMap::insert</code>, and <code>MutableMap::remove</code> have
default implementations.</li>
<li>std: Various <code>from_str</code> functions were removed in favor of a generic
<code>from_str</code> which is available in the prelude.</li>
<li>std: <code>util::unreachable</code> removed in favor of the <code>unreachable!</code> macro.</li>
<li>extra: <code>dlist</code>, the doubly-linked list was modernized.</li>
<li>extra: Added a <code>hex</code> module with <code>ToHex</code> and <code>FromHex</code> traits.</li>
<li>extra: Added <code>glob</code> module, replacing <code>std::os::glob</code>.</li>
<li>extra: <code>rope</code> was removed.</li>
<li>extra: <code>deque</code> was renamed to <code>ringbuf</code>. <code>RingBuf</code> implements <code>Deque</code>.</li>
<li>extra: <code>net</code>, and <code>timer</code> were removed. The experimental replacements
are <code>std::rt::io::net</code> and <code>std::rt::io::timer</code>.</li>
<li>extra: Iterators implemented for <code>SmallIntMap</code>.</li>
<li>extra: Iterators implemented for <code>Bitv</code> and <code>BitvSet</code>.</li>
<li>extra: <code>SmallIntSet</code> removed. Use <code>BitvSet</code>.</li>
<li>extra: Performance of JSON parsing greatly improved.</li>
<li>extra: <code>semver</code> updated to SemVer 2.0.0.</li>
<li>extra: <code>term</code> handles more terminals correctly.</li>
<li>extra: <code>dbg</code> module removed.</li>
<li>extra: <code>par</code> module removed.</li>
<li>extra: <code>future</code> was cleaned up, with some method renames.</li>
<li>extra: Most free functions in <code>getopts</code> were converted to methods.</li>
</ul>
</li>
<li>
<p>Other</p>
<ul>
<li>rustc's debug info generation (<code>-Z debug-info</code>) is greatly improved.</li>
<li>rustc accepts <code>--target-cpu</code> to compile to a specific CPU architecture,
similarly to gcc's <code>--march</code> flag.</li>
<li>rustc's performance compiling small crates is much better.</li>
<li>rustpkg has received many improvements.</li>
<li>rustpkg supports git tags as package IDs.</li>
<li>rustpkg builds into target-specific directories so it can be used for
cross-compiling.</li>
<li>The number of concurrent test tasks is controlled by the environment
variable RUST_TEST_TASKS.</li>
<li>The test harness can now report metrics for benchmarks.</li>
<li>All tools have man pages.</li>
<li>Programs compiled with <code>--test</code> now support the <code>-h</code> and <code>--help</code> flags.</li>
<li>The runtime uses jemalloc for allocations.</li>
<li>Segmented stacks are temporarily disabled as part of the transition to
the new runtime. Stack overflows are possible!</li>
<li>A new documentation backend, rustdoc_ng, is available for use. It is
still invoked through the normal <code>rustdoc</code> command.</li>
</ul>
</li>
</ul>
<h1>Version 0.7 (2013-07-03)</h1>
<ul>
<li>
<p>~2000 changes, numerous bugfixes</p>
</li>
<li>
<p>Language</p>
<ul>
<li><code>impl</code>s no longer accept a visibility qualifier. Put them on methods
instead.</li>
<li>The borrow checker has been rewritten with flow-sensitivity, fixing
many bugs and inconveniences.</li>
<li>The <code>self</code> parameter no longer implicitly means <code>&amp;'self self</code>,
and can be explicitly marked with a lifetime.</li>
<li>Overloadable compound operators (<code>+=</code>, etc.) have been temporarily
removed due to bugs.</li>
<li>The <code>for</code> loop protocol now requires <code>for</code>-iterators to return <code>bool</code>
so they compose better.</li>
<li>The <code>Durable</code> trait is replaced with the <code>'static</code> bounds.</li>
<li>Trait default methods work more often.</li>
<li>Structs with the <code>#[packed]</code> attribute have byte alignment and
no padding between fields.</li>
<li>Type parameters bound by <code>Copy</code> must now be copied explicitly with
the <code>copy</code> keyword.</li>
<li>It is now illegal to move out of a dereferenced unsafe pointer.</li>
<li><code>Option&lt;~T&gt;</code> is now represented as a nullable pointer.</li>
<li><code>@mut</code> does dynamic borrow checks correctly.</li>
<li>The <code>main</code> function is only detected at the topmost level of the crate.
The <code>#[main]</code> attribute is still valid anywhere.</li>
<li>Struct fields may no longer be mutable. Use inherited mutability.</li>
<li>The <code>#[no_send]</code> attribute makes a type that would otherwise be
<code>Send</code>, not.</li>
<li>The <code>#[no_freeze]</code> attribute makes a type that would otherwise be
<code>Freeze</code>, not.</li>
<li>Unbounded recursion will abort the process after reaching the limit
specified by the <code>RUST_MAX_STACK</code> environment variable (default: 1GB).</li>
<li>The <code>vecs_implicitly_copyable</code> lint mode has been removed. Vectors
are never implicitly copyable.</li>
<li><code>#[static_assert]</code> makes compile-time assertions about static bools.</li>
<li>At long last, 'argument modes' no longer exist.</li>
<li>The rarely used <code>use mod</code> statement no longer exists.</li>
</ul>
</li>
<li>
<p>Syntax extensions</p>
<ul>
<li><code>fail!</code> and <code>assert!</code> accept <code>~str</code>, <code>&amp;'static str</code> or <code>fmt!</code>-style
argument list.</li>
<li><code>Encodable</code>, <code>Decodable</code>, <code>Ord</code>, <code>TotalOrd</code>, <code>TotalEq</code>, <code>DeepClone</code>,
<code>Rand</code>, <code>Zero</code> and <code>ToStr</code> can all be automatically derived with
<code>#[deriving(...)]</code>.</li>
<li>The <code>bytes!</code> macro returns a vector of bytes for string, u8, char,
and unsuffixed integer literals.</li>
</ul>
</li>
<li>
<p>Libraries</p>
<ul>
<li>The <code>core</code> crate was renamed to <code>std</code>.</li>
<li>The <code>std</code> crate was renamed to <code>extra</code>.</li>
<li>More and improved documentation.</li>
<li>std: <code>iterator</code> module for external iterator objects.</li>
<li>Many old-style (internal, higher-order function) iterators replaced by
implementations of <code>Iterator</code>.</li>
<li>std: Many old internal vector and string iterators,
incl. <code>any</code>, <code>all</code>. removed.</li>
<li>std: The <code>finalize</code> method of <code>Drop</code> renamed to <code>drop</code>.</li>
<li>std: The <code>drop</code> method now takes <code>&amp;mut self</code> instead of <code>&amp;self</code>.</li>
<li>std: The prelude no longer re-exports any modules, only types and traits.</li>
<li>std: Prelude additions: <code>print</code>, <code>println</code>, <code>FromStr</code>, <code>ApproxEq</code>, <code>Equiv</code>,
<code>Iterator</code>, <code>IteratorUtil</code>, many numeric traits, many tuple traits.</li>
<li>std: New numeric traits: <code>Fractional</code>, <code>Real</code>, <code>RealExt</code>, <code>Integer</code>, <code>Ratio</code>,
<code>Algebraic</code>, <code>Trigonometric</code>, <code>Exponential</code>, <code>Primitive</code>.</li>
<li>std: Tuple traits and accessors defined for up to 12-tuples, e.g.
<code>(0, 1, 2).n2()</code> or <code>(0, 1, 2).n2_ref()</code>.</li>
<li>std: Many types implement <code>Clone</code>.</li>
<li>std: <code>path</code> type renamed to <code>Path</code>.</li>
<li>std: <code>mut</code> module and <code>Mut</code> type removed.</li>
<li>std: Many standalone functions removed in favor of methods and iterators
in <code>vec</code>, <code>str</code>. In the future methods will also work as functions.</li>
<li>std: <code>reinterpret_cast</code> removed. Use <code>transmute</code>.</li>
<li>std: ascii string handling in <code>std::ascii</code>.</li>
<li>std: <code>Rand</code> is implemented for ~/@.</li>
<li>std: <code>run</code> module for spawning processes overhauled.</li>
<li>std: Various atomic types added to <code>unstable::atomic</code>.</li>
<li>std: Various types implement <code>Zero</code>.</li>
<li>std: <code>LinearMap</code> and <code>LinearSet</code> renamed to <code>HashMap</code> and <code>HashSet</code>.</li>
<li>std: Borrowed pointer functions moved from <code>ptr</code> to <code>borrow</code>.</li>
<li>std: Added <code>os::mkdir_recursive</code>.</li>
<li>std: Added <code>os::glob</code> function performs filesystems globs.</li>
<li>std: <code>FuzzyEq</code> renamed to <code>ApproxEq</code>.</li>
<li>std: <code>Map</code> now defines <code>pop</code> and <code>swap</code> methods.</li>
<li>std: <code>Cell</code> constructors converted to static methods.</li>
<li>extra: <code>rc</code> module adds the reference counted pointers, <code>Rc</code> and <code>RcMut</code>.</li>
<li>extra: <code>flate</code> module moved from <code>std</code> to <code>extra</code>.</li>
<li>extra: <code>fileinput</code> module for iterating over a series of files.</li>
<li>extra: <code>Complex</code> number type and <code>complex</code> module.</li>
<li>extra: <code>Rational</code> number type and <code>rational</code> module.</li>
<li>extra: <code>BigInt</code>, <code>BigUint</code> implement numeric and comparison traits.</li>
<li>extra: <code>term</code> uses terminfo now, is more correct.</li>
<li>extra: <code>arc</code> functions converted to methods.</li>
<li>extra: Implementation of fixed output size variations of SHA-2.</li>
</ul>
</li>
<li>
<p>Tooling</p>
<ul>
<li><code>unused_variable</code>  lint mode for unused variables (default: warn).</li>
<li><code>unused_unsafe</code> lint mode for detecting unnecessary <code>unsafe</code> blocks
(default: warn).</li>
<li><code>unused_mut</code> lint mode for identifying unused <code>mut</code> qualifiers
(default: warn).</li>
<li><code>dead_assignment</code> lint mode for unread variables (default: warn).</li>
<li><code>unnecessary_allocation</code> lint mode detects some heap allocations that are
immediately borrowed so could be written without allocating (default: warn).</li>
<li><code>missing_doc</code> lint mode (default: allow).</li>
<li><code>unreachable_code</code> lint mode (default: warn).</li>
<li>The <code>rusti</code> command has been rewritten and a number of bugs addressed.</li>
<li>rustc outputs in color on more terminals.</li>
<li>rustc accepts a <code>--link-args</code> flag to pass arguments to the linker.</li>
<li>rustc accepts a <code>-Z print-link-args</code> flag for debugging linkage.</li>
<li>Compiling with <code>-g</code> will make the binary record information about
dynamic borrowcheck failures for debugging.</li>
<li>rustdoc has a nicer stylesheet.</li>
<li>Various improvements to rustdoc.</li>
<li>Improvements to rustpkg (see the detailed release notes).</li>
</ul>
</li>
</ul>
<h1>Version 0.6 (2013-04-03)</h1>
<ul>
<li>
<p>~2100 changes, numerous bugfixes</p>
</li>
<li>
<p>Syntax changes</p>
<ul>
<li>The self type parameter in traits is now spelled <code>Self</code></li>
<li>The <code>self</code> parameter in trait and impl methods must now be explicitly
named (for example: <code>fn f(&amp;self) { }</code>). Implicit self is deprecated.</li>
<li>Static methods no longer require the <code>static</code> keyword and instead
are distinguished by the lack of a <code>self</code> parameter</li>
<li>Replaced the <code>Durable</code> trait with the <code>'static</code> lifetime</li>
<li>The old closure type syntax with the trailing sigil has been
removed in favor of the more consistent leading sigil</li>
<li><code>super</code> is a keyword, and may be prefixed to paths</li>
<li>Trait bounds are separated with <code>+</code> instead of whitespace</li>
<li>Traits are implemented with <code>impl Trait for Type</code>
instead of <code>impl Type: Trait</code></li>
<li>Lifetime syntax is now <code>&amp;'l foo</code> instead of <code>&amp;l/foo</code></li>
<li>The <code>export</code> keyword has finally been removed</li>
<li>The <code>move</code> keyword has been removed (see "Semantic changes")</li>
<li>The interior mutability qualifier on vectors, <code>[mut T]</code>, has been
removed. Use <code>&amp;mut [T]</code>, etc.</li>
<li><code>mut</code> is no longer valid in <code>~mut T</code>. Use inherited mutability</li>
<li><code>fail</code> is no longer a keyword. Use <code>fail!()</code></li>
<li><code>assert</code> is no longer a keyword. Use <code>assert!()</code></li>
<li><code>log</code> is no longer a keyword. use <code>debug!</code>, etc.</li>
<li>1-tuples may be represented as <code>(T,)</code></li>
<li>Struct fields may no longer be <code>mut</code>. Use inherited mutability,
<code>@mut T</code>, <code>core::mut</code> or <code>core::cell</code></li>
<li><code>extern mod { ... }</code> is no longer valid syntax for foreign
function modules. Use extern blocks: <code>extern { ... }</code></li>
<li>Newtype enums removed. Use tuple-structs.</li>
<li>Trait implementations no longer support visibility modifiers</li>
<li>Pattern matching over vectors improved and expanded</li>
<li><code>const</code> renamed to <code>static</code> to correspond to lifetime name,
and make room for future <code>static mut</code> unsafe mutable globals.</li>
<li>Replaced <code>#[deriving_eq]</code> with <code>#[deriving(Eq)]</code>, etc.</li>
<li><code>Clone</code> implementations can be automatically generated with
<code>#[deriving(Clone)]</code></li>
<li>Casts to traits must use a pointer sigil, e.g. <code>@foo as @Bar</code>
instead of <code>foo as Bar</code>.</li>
<li>Fixed length vector types are now written as <code>[int, .. 3]</code>
instead of <code>[int * 3]</code>.</li>
<li>Fixed length vector types can express the length as a constant
expression. (ex: <code>[int, .. GL_BUFFER_SIZE - 2]</code>)</li>
</ul>
</li>
<li>
<p>Semantic changes</p>
<ul>
<li>Types with owned pointers or custom destructors move by default,
eliminating the <code>move</code> keyword</li>
<li>All foreign functions are considered unsafe</li>
<li>&amp;mut is now unaliasable</li>
<li>Writes to borrowed @mut pointers are prevented dynamically</li>
<li>() has size 0</li>
<li>The name of the main function can be customized using #[main]</li>
<li>The default type of an inferred closure is &amp;fn instead of @fn</li>
<li><code>use</code> statements may no longer be "chained" - they cannot import
identifiers imported by previous <code>use</code> statements</li>
<li><code>use</code> statements are crate relative, importing from the "top"
of the crate by default. Paths may be prefixed with <code>super::</code>
or <code>self::</code> to change the search behavior.</li>
<li>Method visibility is inherited from the implementation declaration</li>
<li>Structural records have been removed</li>
<li>Many more types can be used in static items, including enums
'static-lifetime pointers and vectors</li>
<li>Pattern matching over vectors improved and expanded</li>
<li>Typechecking of closure types has been overhauled to
improve inference and eliminate unsoundness</li>
<li>Macros leave scope at the end of modules, unless that module is
tagged with #[macro_escape]</li>
</ul>
</li>
<li>
<p>Libraries</p>
<ul>
<li>Added big integers to <code>std::bigint</code></li>
<li>Removed <code>core::oldcomm</code> module</li>
<li>Added pipe-based <code>core::comm</code> module</li>
<li>Numeric traits have been reorganized under <code>core::num</code></li>
<li><code>vec::slice</code> finally returns a slice</li>
<li><code>debug!</code> and friends don't require a format string, e.g. <code>debug!(Foo)</code></li>
<li>Containers reorganized around traits in <code>core::container</code></li>
<li><code>core::dvec</code> removed, <code>~[T]</code> is a drop-in replacement</li>
<li><code>core::send_map</code> renamed to <code>core::hashmap</code></li>
<li><code>std::map</code> removed; replaced with <code>core::hashmap</code></li>
<li><code>std::treemap</code> reimplemented as an owned balanced tree</li>
<li><code>std::deque</code> and <code>std::smallintmap</code> reimplemented as owned containers</li>
<li><code>core::trie</code> added as a fast ordered map for integer keys</li>
<li>Set types added to <code>core::hashmap</code>, <code>core::trie</code> and <code>std::treemap</code></li>
<li><code>Ord</code> split into <code>Ord</code> and <code>TotalOrd</code>. <code>Ord</code> is still used to
overload the comparison operators, whereas <code>TotalOrd</code> is used
by certain container types</li>
</ul>
</li>
<li>
<p>Other</p>
<ul>
<li>Replaced the 'cargo' package manager with 'rustpkg'</li>
<li>Added all-purpose 'rust' tool</li>
<li><code>rustc --test</code> now supports benchmarks with the <code>#[bench]</code> attribute</li>
<li>rustc now <em>attempts</em> to offer spelling suggestions</li>
<li>Improved support for ARM and Android</li>
<li>Preliminary MIPS backend</li>
<li>Improved foreign function ABI implementation for x86, x86_64</li>
<li>Various memory usage improvements</li>
<li>Rust code may be embedded in foreign code under limited circumstances</li>
<li>Inline assembler supported by new asm!() syntax extension.</li>
</ul>
</li>
</ul>
<h1>Version 0.5 (2012-12-21)</h1>
<ul>
<li>
<p>~900 changes, numerous bugfixes</p>
</li>
<li>
<p>Syntax changes</p>
<ul>
<li>Removed <code>&lt;-</code> move operator</li>
<li>Completed the transition from the <code>#fmt</code> extension syntax to <code>fmt!</code></li>
<li>Removed old fixed length vector syntax - <code>[T]/N</code></li>
<li>New token-based quasi-quoters, <code>quote_tokens!</code>, <code>quote_expr!</code>, etc.</li>
<li>Macros may now expand to items and statements</li>
<li><code>a.b()</code> is always parsed as a method call, never as a field projection</li>
<li><code>Eq</code> and <code>IterBytes</code> implementations can be automatically generated
with <code>#[deriving_eq]</code> and <code>#[deriving_iter_bytes]</code> respectively</li>
<li>Removed the special crate language for <code>.rc</code> files</li>
<li>Function arguments may consist of any irrefutable pattern</li>
</ul>
</li>
<li>
<p>Semantic changes</p>
<ul>
<li><code>&amp;</code> and <code>~</code> pointers may point to objects</li>
<li>Tuple structs - <code>struct Foo(Bar, Baz)</code>. Will replace newtype enums.</li>
<li>Enum variants may be structs</li>
<li>Destructors can be added to all nominal types with the Drop trait</li>
<li>Structs and nullary enum variants may be constants</li>
<li>Values that cannot be implicitly copied are now automatically moved
without writing <code>move</code> explicitly</li>
<li><code>&amp;T</code> may now be coerced to <code>*T</code></li>
<li>Coercions happen in <code>let</code> statements as well as function calls</li>
<li><code>use</code> statements now take crate-relative paths</li>
<li>The module and type namespaces have been merged so that static
method names can be resolved under the trait in which they are
declared</li>
</ul>
</li>
<li>
<p>Improved support for language features</p>
<ul>
<li>Trait inheritance works in many scenarios</li>
<li>More support for explicit self arguments in methods - <code>self</code>, <code>&amp;self</code>
<code>@self</code>, and <code>~self</code> all generally work as expected</li>
<li>Static methods work in more situations</li>
<li>Experimental: Traits may declare default methods for the implementations
to use</li>
</ul>
</li>
<li>
<p>Libraries</p>
<ul>
<li>New condition handling system in <code>core::condition</code></li>
<li>Timsort added to <code>std::sort</code></li>
<li>New priority queue, <code>std::priority_queue</code></li>
<li>Pipes for serializable types, `std::flatpipes'</li>
<li>Serialization overhauled to be trait-based</li>
<li>Expanded <code>getopts</code> definitions</li>
<li>Moved futures to <code>std</code></li>
<li>More functions are pure now</li>
<li><code>core::comm</code> renamed to <code>oldcomm</code>. Still deprecated</li>
<li><code>rustdoc</code> and <code>cargo</code> are libraries now</li>
</ul>
</li>
<li>
<p>Misc</p>
<ul>
<li>Added a preliminary REPL, <code>rusti</code></li>
<li>License changed from MIT to dual MIT/APL2</li>
</ul>
</li>
</ul>
<h1>Version 0.4 (2012-10-15)</h1>
<ul>
<li>
<p>~2000 changes, numerous bugfixes</p>
</li>
<li>
<p>Syntax</p>
<ul>
<li>All keywords are now strict and may not be used as identifiers anywhere</li>
<li>Keyword removal: 'again', 'import', 'check', 'new', 'owned', 'send',
'of', 'with', 'to', 'class'.</li>
<li>Classes are replaced with simpler structs</li>
<li>Explicit method self types</li>
<li><code>ret</code> became <code>return</code> and <code>alt</code> became <code>match</code></li>
<li><code>import</code> is now <code>use</code>; <code>use is now </code>extern mod`</li>
<li><code>extern mod { ... }</code> is now <code>extern { ... }</code></li>
<li><code>use mod</code> is the recommended way to import modules</li>
<li><code>pub</code> and <code>priv</code> replace deprecated export lists</li>
<li>The syntax of <code>match</code> pattern arms now uses fat arrow (=&gt;)</li>
<li><code>main</code> no longer accepts an args vector; use <code>os::args</code> instead</li>
</ul>
</li>
<li>
<p>Semantics</p>
<ul>
<li>Trait implementations are now coherent, ala Haskell typeclasses</li>
<li>Trait methods may be static</li>
<li>Argument modes are deprecated</li>
<li>Borrowed pointers are much more mature and recommended for use</li>
<li>Strings and vectors in the static region are stored in constant memory</li>
<li>Typestate was removed</li>
<li>Resolution rewritten to be more reliable</li>
<li>Support for 'dual-mode' data structures (freezing and thawing)</li>
</ul>
</li>
<li>
<p>Libraries</p>
<ul>
<li>Most binary operators can now be overloaded via the traits in
`core::ops'</li>
<li><code>std::net::url</code> for representing URLs</li>
<li>Sendable hash maps in <code>core::send_map</code></li>
<li>`core::task' gained a (currently unsafe) task-local storage API</li>
</ul>
</li>
<li>
<p>Concurrency</p>
<ul>
<li>An efficient new intertask communication primitive called the pipe,
along with a number of higher-level channel types, in <code>core::pipes</code></li>
<li><code>std::arc</code>, an atomically reference counted, immutable, shared memory
type</li>
<li><code>std::sync</code>, various exotic synchronization tools based on arcs and pipes</li>
<li>Futures are now based on pipes and sendable</li>
<li>More robust linked task failure</li>
<li>Improved task builder API</li>
</ul>
</li>
<li>
<p>Other</p>
<ul>
<li>Improved error reporting</li>
<li>Preliminary JIT support</li>
<li>Preliminary work on precise GC</li>
<li>Extensive architectural improvements to rustc</li>
<li>Begun a transition away from buggy C++-based reflection (shape) code to
Rust-based (visitor) code</li>
<li>All hash functions and tables converted to secure, randomized SipHash</li>
</ul>
</li>
</ul>
<h1>Version 0.3  (2012-07-12)</h1>
<ul>
<li>
<p>~1900 changes, numerous bugfixes</p>
</li>
<li>
<p>New coding conveniences</p>
<ul>
<li>Integer-literal suffix inference</li>
<li>Per-item control over warnings, errors</li>
<li>#[cfg(windows)] and #[cfg(unix)] attributes</li>
<li>Documentation comments</li>
<li>More compact closure syntax</li>
<li>'do' expressions for treating higher-order functions as
control structures</li>
<li>*-patterns (wildcard extended to all constructor fields)</li>
</ul>
</li>
<li>
<p>Semantic cleanup</p>
<ul>
<li>Name resolution pass and exhaustiveness checker rewritten</li>
<li>Region pointers and borrow checking supersede alias
analysis</li>
<li>Init-ness checking is now provided by a region-based liveness
pass instead of the typestate pass; same for last-use analysis</li>
<li>Extensive work on region pointers</li>
</ul>
</li>
<li>
<p>Experimental new language features</p>
<ul>
<li>Slices and fixed-size, interior-allocated vectors</li>
<li>#!-comments for lang versioning, shell execution</li>
<li>Destructors and iface implementation for classes;
type-parameterized classes and class methods</li>
<li>'const' type kind for types that can be used to implement
shared-memory concurrency patterns</li>
</ul>
</li>
<li>
<p>Type reflection</p>
</li>
<li>
<p>Removal of various obsolete features</p>
<ul>
<li>
<p>Keywords: 'be', 'prove', 'syntax', 'note', 'mutable', 'bind',
'crust', 'native' (now 'extern'), 'cont' (now 'again')</p>
</li>
<li>
<p>Constructs: do-while loops ('do' repurposed), fn binding,
resources (replaced by destructors)</p>
</li>
</ul>
</li>
<li>
<p>Compiler reorganization</p>
<ul>
<li>Syntax-layer of compiler split into separate crate</li>
<li>Clang (from LLVM project) integrated into build</li>
<li>Typechecker split into sub-modules</li>
</ul>
</li>
<li>
<p>New library code</p>
<ul>
<li>New time functions</li>
<li>Extension methods for many built-in types</li>
<li>Arc: atomic-refcount read-only / exclusive-use shared cells</li>
<li>Par: parallel map and search routines</li>
<li>Extensive work on libuv interface</li>
<li>Much vector code moved to libraries</li>
<li>Syntax extensions: #line, #col, #file, #mod, #stringify,
#include, #include_str, #include_bin</li>
</ul>
</li>
<li>
<p>Tool improvements</p>
<ul>
<li>Cargo automatically resolves dependencies</li>
</ul>
</li>
</ul>
<h1>Version 0.2  (2012-03-29)</h1>
<ul>
<li>
<blockquote>
<p>1500 changes, numerous bugfixes</p>
</blockquote>
</li>
<li>
<p>New docs and doc tooling</p>
</li>
<li>
<p>New port: FreeBSD x86_64</p>
</li>
<li>
<p>Compilation model enhancements</p>
<ul>
<li>Generics now specialized, multiply instantiated</li>
<li>Functions now inlined across separate crates</li>
</ul>
</li>
<li>
<p>Scheduling, stack and threading fixes</p>
<ul>
<li>Noticeably improved message-passing performance</li>
<li>Explicit schedulers</li>
<li>Callbacks from C</li>
<li>Helgrind clean</li>
</ul>
</li>
<li>
<p>Experimental new language features</p>
<ul>
<li>Operator overloading</li>
<li>Region pointers</li>
<li>Classes</li>
</ul>
</li>
<li>
<p>Various language extensions</p>
<ul>
<li>C-callback function types: 'crust fn ...'</li>
<li>Infinite-loop construct: 'loop { ... }'</li>
<li>Shorten 'mutable' to 'mut'</li>
<li>Required mutable-local qualifier: 'let mut ...'</li>
<li>Basic glob-exporting: 'export foo::*;'</li>
<li>Alt now exhaustive, 'alt check' for runtime-checked</li>
<li>Block-function form of 'for' loop, with 'break' and 'ret'.</li>
</ul>
</li>
<li>
<p>New library code</p>
<ul>
<li>AST quasi-quote syntax extension</li>
<li>Revived libuv interface</li>
<li>New modules: core::{future, iter}, std::arena</li>
<li>Merged per-platform std::{os*, fs*} to core::{libc, os}</li>
<li>Extensive cleanup, regularization in libstd, libcore</li>
</ul>
</li>
</ul>
<h1>Version 0.1  (2012-01-20)</h1>
<ul>
<li>
<p>Most language features work, including:</p>
<ul>
<li>Unique pointers, unique closures, move semantics</li>
<li>Interface-constrained generics</li>
<li>Static interface dispatch</li>
<li>Stack growth</li>
<li>Multithread task scheduling</li>
<li>Typestate predicates</li>
<li>Failure unwinding, destructors</li>
<li>Pattern matching and destructuring assignment</li>
<li>Lightweight block-lambda syntax</li>
<li>Preliminary macro-by-example</li>
</ul>
</li>
<li>
<p>Compiler works with the following configurations:</p>
<ul>
<li>Linux: x86 and x86_64 hosts and targets</li>
<li>macOS: x86 and x86_64 hosts and targets</li>
<li>Windows: x86 hosts and targets</li>
</ul>
</li>
<li>
<p>Cross compilation / multi-target configuration supported.</p>
</li>
<li>
<p>Preliminary API-documentation and package-management tools included.</p>
</li>
</ul>
<p>Known issues:</p>
<ul>
<li>
<p>Documentation is incomplete.</p>
</li>
<li>
<p>Performance is below intended target.</p>
</li>
<li>
<p>Standard library APIs are subject to extensive change, reorganization.</p>
</li>
<li>
<p>Language-level versioning is not yet operational - future code will
break unexpectedly.</p>
</li>
</ul>
</section><div class="code-panel"><pre class="code src" data-hl="RELEASES.md"><span class="code-line"><a class="ln" id="L1" href="#L1">1</a><span class="code-text">Version 1.39.0 (2019-11-07)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2" href="#L2">2</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3" href="#L3">3</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4" href="#L4">4</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5" href="#L5">5</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6" href="#L6">6</a><span class="code-text">- [You can now create `async` functions and blocks with `async fn`, `async move {}`, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7" href="#L7">7</a><span class="code-text">  `async {}` respectively, and you can now call `.await` on async expressions.][63209]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8" href="#L8">8</a><span class="code-text">- [You can now use certain attributes on function, closure, and function pointer</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L9" href="#L9">9</a><span class="code-text">  parameters.][64010] These attributes include `cfg`, `cfg_attr`, `allow`, `warn`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L10" href="#L10">10</a><span class="code-text">  `deny`, `forbid` as well as inert helper attributes used by procedural macro</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L11" href="#L11">11</a><span class="code-text">  attributes applied to items. e.g.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L12" href="#L12">12</a><span class="code-text">  ```rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L13" href="#L13">13</a><span class="code-text">  fn len(</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L14" href="#L14">14</a><span class="code-text">      #[cfg(windows)] slice: &amp;[u16],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L15" href="#L15">15</a><span class="code-text">      #[cfg(not(windows))] slice: &amp;[u8],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L16" href="#L16">16</a><span class="code-text">  ) -&gt; usize {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L17" href="#L17">17</a><span class="code-text">      slice.len()</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L18" href="#L18">18</a><span class="code-text">  }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L19" href="#L19">19</a><span class="code-text">  ```</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L20" href="#L20">20</a><span class="code-text">- [You can now take shared references to bind-by-move patterns in the `if` guards</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L21" href="#L21">21</a><span class="code-text">  of `match` arms.][63118] e.g.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L22" href="#L22">22</a><span class="code-text">  ```rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L23" href="#L23">23</a><span class="code-text">  fn main() {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L24" href="#L24">24</a><span class="code-text">      let array: Box&lt;[u8; 4]&gt; = Box::new([1, 2, 3, 4]);</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L25" href="#L25">25</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L26" href="#L26">26</a><span class="code-text">      match array {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L27" href="#L27">27</a><span class="code-text">          nums</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L28" href="#L28">28</a><span class="code-text">  //      ---- `nums` is bound by move.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L29" href="#L29">29</a><span class="code-text">              if nums.iter().sum::&lt;u8&gt;() == 10</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L30" href="#L30">30</a><span class="code-text">  //                 ^------ `.iter()` implicitly takes a reference to `nums`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L31" href="#L31">31</a><span class="code-text">          =&gt; {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L32" href="#L32">32</a><span class="code-text">              drop(nums);</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L33" href="#L33">33</a><span class="code-text">  //          ----------- Legal as `nums` was bound by move and so we have ownership.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L34" href="#L34">34</a><span class="code-text">          }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L35" href="#L35">35</a><span class="code-text">          _ =&gt; unreachable!(),</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L36" href="#L36">36</a><span class="code-text">      }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L37" href="#L37">37</a><span class="code-text">  }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L38" href="#L38">38</a><span class="code-text">  ```</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L39" href="#L39">39</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L40" href="#L40">40</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L41" href="#L41">41</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L42" href="#L42">42</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L43" href="#L43">43</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L44" href="#L44">44</a><span class="code-text">- [Added tier 3\* support for the `i686-unknown-uefi` target.][64334]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L45" href="#L45">45</a><span class="code-text">- [Added tier 3 support for the `sparc64-unknown-openbsd` target.][63595]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L46" href="#L46">46</a><span class="code-text">- [rustc will now trim code snippets in diagnostics to fit in your terminal.][63402]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L47" href="#L47">47</a><span class="code-text">  **Note** Cargo currently doesn't use this feature. Refer to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L48" href="#L48">48</a><span class="code-text">  [cargo#7315][cargo/7315] to track this feature's progress.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L49" href="#L49">49</a><span class="code-text">- [You can now pass `--show-output` argument to test binaries to print the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L50" href="#L50">50</a><span class="code-text">  output of successful tests.][62600]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L51" href="#L51">51</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L52" href="#L52">52</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L53" href="#L53">53</a><span class="code-text">\* Refer to Rust's [platform support page][forge-platform-support] for more</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L54" href="#L54">54</a><span class="code-text">information on Rust's tiered platform support.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L55" href="#L55">55</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L56" href="#L56">56</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L57" href="#L57">57</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L58" href="#L58">58</a><span class="code-text">- [`Vec::new` and `String::new` are now `const` functions.][64028]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L59" href="#L59">59</a><span class="code-text">- [`LinkedList::new` is now a `const` function.][63684]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L60" href="#L60">60</a><span class="code-text">- [`str::len`, `[T]::len` and `str::as_bytes` are now `const` functions.][63770]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L61" href="#L61">61</a><span class="code-text">- [The `abs`, `wrapping_abs`, and `overflowing_abs` numeric functions are</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L62" href="#L62">62</a><span class="code-text">  now `const`.][63786]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L63" href="#L63">63</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L64" href="#L64">64</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L65" href="#L65">65</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L66" href="#L66">66</a><span class="code-text">- [`Pin::into_inner`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L67" href="#L67">67</a><span class="code-text">- [`Instant::checked_duration_since`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L68" href="#L68">68</a><span class="code-text">- [`Instant::saturating_duration_since`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L69" href="#L69">69</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L70" href="#L70">70</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L71" href="#L71">71</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L72" href="#L72">72</a><span class="code-text">- [You can now publish git dependencies if supplied with a `version`.][cargo/7237]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L73" href="#L73">73</a><span class="code-text">- [The `--all` flag has been renamed to `--workspace`.][cargo/7241] Using</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L74" href="#L74">74</a><span class="code-text">  `--all` is now deprecated.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L75" href="#L75">75</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L76" href="#L76">76</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L77" href="#L77">77</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L78" href="#L78">78</a><span class="code-text">- [You can now pass `-Clinker` to rustdoc to control the linker used</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L79" href="#L79">79</a><span class="code-text">  for compiling doctests.][63834]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L80" href="#L80">80</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L81" href="#L81">81</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L82" href="#L82">82</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L83" href="#L83">83</a><span class="code-text">- [Code that was previously accepted by the old borrow checker, but rejected by</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L84" href="#L84">84</a><span class="code-text">  the NLL borrow checker is now a hard error in Rust 2018.][63565] This was</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L85" href="#L85">85</a><span class="code-text">  previously a warning, and will also become a hard error in the Rust 2015</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L86" href="#L86">86</a><span class="code-text">  edition in the 1.40.0 release.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L87" href="#L87">87</a><span class="code-text">- [`rustdoc` now requires `rustc` to be installed and in the same directory to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L88" href="#L88">88</a><span class="code-text">  run tests.][63827] This should improve performance when running a large</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L89" href="#L89">89</a><span class="code-text">  amount of doctests.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L90" href="#L90">90</a><span class="code-text">- [The `try!` macro will now issue a deprecation warning.][62672] It is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L91" href="#L91">91</a><span class="code-text">  recommended to use the `?` operator instead.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L92" href="#L92">92</a><span class="code-text">- [`asinh(-0.0)` now correctly returns `-0.0`.][63698] Previously this</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L93" href="#L93">93</a><span class="code-text">  returned `0.0`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L94" href="#L94">94</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L95" href="#L95">95</a><span class="code-text">[62600]: https://github.com/rust-lang/rust/pull/62600/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L96" href="#L96">96</a><span class="code-text">[62672]: https://github.com/rust-lang/rust/pull/62672/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L97" href="#L97">97</a><span class="code-text">[63118]: https://github.com/rust-lang/rust/pull/63118/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L98" href="#L98">98</a><span class="code-text">[63209]: https://github.com/rust-lang/rust/pull/63209/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L99" href="#L99">99</a><span class="code-text">[63402]: https://github.com/rust-lang/rust/pull/63402/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L100" href="#L100">100</a><span class="code-text">[63565]: https://github.com/rust-lang/rust/pull/63565/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L101" href="#L101">101</a><span class="code-text">[63595]: https://github.com/rust-lang/rust/pull/63595/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L102" href="#L102">102</a><span class="code-text">[63684]: https://github.com/rust-lang/rust/pull/63684/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L103" href="#L103">103</a><span class="code-text">[63698]: https://github.com/rust-lang/rust/pull/63698/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L104" href="#L104">104</a><span class="code-text">[63770]: https://github.com/rust-lang/rust/pull/63770/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L105" href="#L105">105</a><span class="code-text">[63786]: https://github.com/rust-lang/rust/pull/63786/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L106" href="#L106">106</a><span class="code-text">[63827]: https://github.com/rust-lang/rust/pull/63827/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L107" href="#L107">107</a><span class="code-text">[63834]: https://github.com/rust-lang/rust/pull/63834/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L108" href="#L108">108</a><span class="code-text">[63927]: https://github.com/rust-lang/rust/pull/63927/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L109" href="#L109">109</a><span class="code-text">[63933]: https://github.com/rust-lang/rust/pull/63933/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L110" href="#L110">110</a><span class="code-text">[63934]: https://github.com/rust-lang/rust/pull/63934/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L111" href="#L111">111</a><span class="code-text">[63938]: https://github.com/rust-lang/rust/pull/63938/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L112" href="#L112">112</a><span class="code-text">[63940]: https://github.com/rust-lang/rust/pull/63940/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L113" href="#L113">113</a><span class="code-text">[63941]: https://github.com/rust-lang/rust/pull/63941/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L114" href="#L114">114</a><span class="code-text">[63945]: https://github.com/rust-lang/rust/pull/63945/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L115" href="#L115">115</a><span class="code-text">[64010]: https://github.com/rust-lang/rust/pull/64010/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L116" href="#L116">116</a><span class="code-text">[64028]: https://github.com/rust-lang/rust/pull/64028/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L117" href="#L117">117</a><span class="code-text">[64334]: https://github.com/rust-lang/rust/pull/64334/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L118" href="#L118">118</a><span class="code-text">[cargo/7237]: https://github.com/rust-lang/cargo/pull/7237/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L119" href="#L119">119</a><span class="code-text">[cargo/7241]: https://github.com/rust-lang/cargo/pull/7241/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L120" href="#L120">120</a><span class="code-text">[cargo/7315]: https://github.com/rust-lang/cargo/pull/7315/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L121" href="#L121">121</a><span class="code-text">[`Pin::into_inner`]: https://doc.rust-lang.org/std/pin/struct.Pin.html#method.into_inner</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L122" href="#L122">122</a><span class="code-text">[`Instant::checked_duration_since`]: https://doc.rust-lang.org/std/time/struct.Instant.html#method.checked_duration_since</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L123" href="#L123">123</a><span class="code-text">[`Instant::saturating_duration_since`]: https://doc.rust-lang.org/std/time/struct.Instant.html#method.saturating_duration_since</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L124" href="#L124">124</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L125" href="#L125">125</a><span class="code-text">Version 1.38.0 (2019-09-26)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L126" href="#L126">126</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L127" href="#L127">127</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L128" href="#L128">128</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L129" href="#L129">129</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L130" href="#L130">130</a><span class="code-text">- [The `#[global_allocator]` attribute can now be used in submodules.][62735]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L131" href="#L131">131</a><span class="code-text">- [The `#[deprecated]` attribute can now be used on macros.][62042]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L132" href="#L132">132</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L133" href="#L133">133</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L134" href="#L134">134</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L135" href="#L135">135</a><span class="code-text">- [Added pipelined compilation support to `rustc`.][62766] This will</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L136" href="#L136">136</a><span class="code-text">  improve compilation times in some cases. For further information please refer</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L137" href="#L137">137</a><span class="code-text">  to the [_&quot;Evaluating pipelined rustc compilation&quot;_][pipeline-internals] thread.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L138" href="#L138">138</a><span class="code-text">- [Added tier 3\* support for the `aarch64-uwp-windows-msvc`, `i686-uwp-windows-gnu`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L139" href="#L139">139</a><span class="code-text">  `i686-uwp-windows-msvc`, `x86_64-uwp-windows-gnu`, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L140" href="#L140">140</a><span class="code-text">  `x86_64-uwp-windows-msvc` targets.][60260]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L141" href="#L141">141</a><span class="code-text">- [Added tier 3 support for the `armv7-unknown-linux-gnueabi` and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L142" href="#L142">142</a><span class="code-text">  `armv7-unknown-linux-musleabi` targets.][63107]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L143" href="#L143">143</a><span class="code-text">- [Added tier 3 support for the `hexagon-unknown-linux-musl` target.][62814]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L144" href="#L144">144</a><span class="code-text">- [Added tier 3 support for the `riscv32i-unknown-none-elf` target.][62784]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L145" href="#L145">145</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L146" href="#L146">146</a><span class="code-text">\* Refer to Rust's [platform support page][forge-platform-support] for more</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L147" href="#L147">147</a><span class="code-text">information on Rust's tiered platform support.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L148" href="#L148">148</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L149" href="#L149">149</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L150" href="#L150">150</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L151" href="#L151">151</a><span class="code-text">- [`ascii::EscapeDefault` now implements `Clone` and `Display`.][63421]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L152" href="#L152">152</a><span class="code-text">- [Derive macros for prelude traits (e.g. `Clone`, `Debug`, `Hash`) are now</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L153" href="#L153">153</a><span class="code-text">  available at the same path as the trait.][63056] (e.g. The `Clone` derive macro</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L154" href="#L154">154</a><span class="code-text">  is available at `std::clone::Clone`). This also makes all built-in macros</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L155" href="#L155">155</a><span class="code-text">  available in `std`/`core` root. e.g. `std::include_bytes!`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L156" href="#L156">156</a><span class="code-text">- [`str::Chars` now implements `Debug`.][63000]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L157" href="#L157">157</a><span class="code-text">- [`slice::{concat, connect, join}` now accepts `&amp;[T]` in addition to `&amp;T`.][62528]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L158" href="#L158">158</a><span class="code-text">- [`*const T` and `*mut T` now implement `marker::Unpin`.][62583]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L159" href="#L159">159</a><span class="code-text">- [`Arc&lt;[T]&gt;` and `Rc&lt;[T]&gt;` now implement `FromIterator&lt;T&gt;`.][61953]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L160" href="#L160">160</a><span class="code-text">- [Added euclidean remainder and division operations (`div_euclid`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L161" href="#L161">161</a><span class="code-text">  `rem_euclid`) to all numeric primitives.][61884] Additionally `checked`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L162" href="#L162">162</a><span class="code-text">  `overflowing`, and `wrapping` versions are available for all</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L163" href="#L163">163</a><span class="code-text">  integer primitives.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L164" href="#L164">164</a><span class="code-text">- [`thread::AccessError` now implements `Clone`, `Copy`, `Eq`, `Error`, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L165" href="#L165">165</a><span class="code-text">  `PartialEq`.][61491]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L166" href="#L166">166</a><span class="code-text">- [`iter::{StepBy, Peekable, Take}` now implement `DoubleEndedIterator`.][61457]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L167" href="#L167">167</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L168" href="#L168">168</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L169" href="#L169">169</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L170" href="#L170">170</a><span class="code-text">- [`&lt;*const T&gt;::cast`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L171" href="#L171">171</a><span class="code-text">- [`&lt;*mut T&gt;::cast`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L172" href="#L172">172</a><span class="code-text">- [`Duration::as_secs_f32`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L173" href="#L173">173</a><span class="code-text">- [`Duration::as_secs_f64`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L174" href="#L174">174</a><span class="code-text">- [`Duration::div_f32`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L175" href="#L175">175</a><span class="code-text">- [`Duration::div_f64`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L176" href="#L176">176</a><span class="code-text">- [`Duration::from_secs_f32`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L177" href="#L177">177</a><span class="code-text">- [`Duration::from_secs_f64`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L178" href="#L178">178</a><span class="code-text">- [`Duration::mul_f32`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L179" href="#L179">179</a><span class="code-text">- [`Duration::mul_f64`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L180" href="#L180">180</a><span class="code-text">- [`any::type_name`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L181" href="#L181">181</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L182" href="#L182">182</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L183" href="#L183">183</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L184" href="#L184">184</a><span class="code-text">- [Added pipelined compilation support to `cargo`.][cargo/7143]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L185" href="#L185">185</a><span class="code-text">- [You can now pass the `--features` option multiple times to enable</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L186" href="#L186">186</a><span class="code-text">  multiple features.][cargo/7084]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L187" href="#L187">187</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L188" href="#L188">188</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L189" href="#L189">189</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L190" href="#L190">190</a><span class="code-text">- [`rustc` will now warn about some incorrect uses of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L191" href="#L191">191</a><span class="code-text">  `mem::{uninitialized, zeroed}` that are known to cause undefined behaviour.][63346]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L192" href="#L192">192</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L193" href="#L193">193</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L194" href="#L194">194</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L195" href="#L195">195</a><span class="code-text">- The [`x86_64-unknown-uefi` platform can not be built][62785] with rustc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L196" href="#L196">196</a><span class="code-text">  1.38.0.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L197" href="#L197">197</a><span class="code-text">- The [`armv7-unknown-linux-gnueabihf` platform is known to have</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L198" href="#L198">198</a><span class="code-text">  issues][62896] with certain crates such as libc.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L199" href="#L199">199</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L200" href="#L200">200</a><span class="code-text">[60260]: https://github.com/rust-lang/rust/pull/60260/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L201" href="#L201">201</a><span class="code-text">[61457]: https://github.com/rust-lang/rust/pull/61457/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L202" href="#L202">202</a><span class="code-text">[61491]: https://github.com/rust-lang/rust/pull/61491/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L203" href="#L203">203</a><span class="code-text">[61884]: https://github.com/rust-lang/rust/pull/61884/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L204" href="#L204">204</a><span class="code-text">[61953]: https://github.com/rust-lang/rust/pull/61953/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L205" href="#L205">205</a><span class="code-text">[62042]: https://github.com/rust-lang/rust/pull/62042/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L206" href="#L206">206</a><span class="code-text">[62528]: https://github.com/rust-lang/rust/pull/62528/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L207" href="#L207">207</a><span class="code-text">[62583]: https://github.com/rust-lang/rust/pull/62583/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L208" href="#L208">208</a><span class="code-text">[62735]: https://github.com/rust-lang/rust/pull/62735/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L209" href="#L209">209</a><span class="code-text">[62766]: https://github.com/rust-lang/rust/pull/62766/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L210" href="#L210">210</a><span class="code-text">[62784]: https://github.com/rust-lang/rust/pull/62784/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L211" href="#L211">211</a><span class="code-text">[62785]: https://github.com/rust-lang/rust/issues/62785/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L212" href="#L212">212</a><span class="code-text">[62814]: https://github.com/rust-lang/rust/pull/62814/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L213" href="#L213">213</a><span class="code-text">[62896]: https://github.com/rust-lang/rust/issues/62896/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L214" href="#L214">214</a><span class="code-text">[63000]: https://github.com/rust-lang/rust/pull/63000/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L215" href="#L215">215</a><span class="code-text">[63056]: https://github.com/rust-lang/rust/pull/63056/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L216" href="#L216">216</a><span class="code-text">[63107]: https://github.com/rust-lang/rust/pull/63107/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L217" href="#L217">217</a><span class="code-text">[63346]: https://github.com/rust-lang/rust/pull/63346/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L218" href="#L218">218</a><span class="code-text">[63421]: https://github.com/rust-lang/rust/pull/63421/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L219" href="#L219">219</a><span class="code-text">[cargo/7084]: https://github.com/rust-lang/cargo/pull/7084/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L220" href="#L220">220</a><span class="code-text">[cargo/7143]: https://github.com/rust-lang/cargo/pull/7143/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L221" href="#L221">221</a><span class="code-text">[`&lt;*const T&gt;::cast`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.cast</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L222" href="#L222">222</a><span class="code-text">[`&lt;*mut T&gt;::cast`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.cast</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L223" href="#L223">223</a><span class="code-text">[`Duration::as_secs_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_secs_f32</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L224" href="#L224">224</a><span class="code-text">[`Duration::as_secs_f64`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_secs_f64</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L225" href="#L225">225</a><span class="code-text">[`Duration::div_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.div_f32</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L226" href="#L226">226</a><span class="code-text">[`Duration::div_f64`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.div_f64</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L227" href="#L227">227</a><span class="code-text">[`Duration::from_secs_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.from_secs_f32</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L228" href="#L228">228</a><span class="code-text">[`Duration::from_secs_f64`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.from_secs_f64</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L229" href="#L229">229</a><span class="code-text">[`Duration::mul_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.mul_f32</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L230" href="#L230">230</a><span class="code-text">[`Duration::mul_f64`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.mul_f64</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L231" href="#L231">231</a><span class="code-text">[`any::type_name`]: https://doc.rust-lang.org/std/any/fn.type_name.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L232" href="#L232">232</a><span class="code-text">[forge-platform-support]: https://forge.rust-lang.org/platform-support.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L233" href="#L233">233</a><span class="code-text">[pipeline-internals]: https://internals.rust-lang.org/t/evaluating-pipelined-rustc-compilation/10199</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L234" href="#L234">234</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L235" href="#L235">235</a><span class="code-text">Version 1.37.0 (2019-08-15)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L236" href="#L236">236</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L237" href="#L237">237</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L238" href="#L238">238</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L239" href="#L239">239</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L240" href="#L240">240</a><span class="code-text">- `#[must_use]` will now warn if the type is contained in a [tuple][61100],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L241" href="#L241">241</a><span class="code-text">  [`Box`][62228], or an [array][62235] and unused.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L242" href="#L242">242</a><span class="code-text">- [You can now use the `cfg` and `cfg_attr` attributes on</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L243" href="#L243">243</a><span class="code-text">  generic parameters.][61547]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L244" href="#L244">244</a><span class="code-text">- [You can now use enum variants through type alias.][61682] e.g. You can</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L245" href="#L245">245</a><span class="code-text">  write the following:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L246" href="#L246">246</a><span class="code-text">  ```rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L247" href="#L247">247</a><span class="code-text">  type MyOption = Option&lt;u8&gt;;</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L248" href="#L248">248</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L249" href="#L249">249</a><span class="code-text">  fn increment_or_zero(x: MyOption) -&gt; u8 {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L250" href="#L250">250</a><span class="code-text">      match x {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L251" href="#L251">251</a><span class="code-text">          MyOption::Some(y) =&gt; y + 1,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L252" href="#L252">252</a><span class="code-text">          MyOption::None =&gt; 0,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L253" href="#L253">253</a><span class="code-text">      }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L254" href="#L254">254</a><span class="code-text">  }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L255" href="#L255">255</a><span class="code-text">  ```</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L256" href="#L256">256</a><span class="code-text">- [You can now use `_` as an identifier for consts.][61347] e.g. You can write</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L257" href="#L257">257</a><span class="code-text">  `const _: u32 = 5;`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L258" href="#L258">258</a><span class="code-text">- [You can now use `#[repr(align(X)]` on enums.][61229]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L259" href="#L259">259</a><span class="code-text">- [The  `?` Kleene macro operator is now available in the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L260" href="#L260">260</a><span class="code-text">  2015 edition.][60932]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L261" href="#L261">261</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L262" href="#L262">262</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L263" href="#L263">263</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L264" href="#L264">264</a><span class="code-text">- [You can now enable Profile-Guided Optimization with the `-C profile-generate`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L265" href="#L265">265</a><span class="code-text">  and `-C profile-use` flags.][61268] For more information on how to use profile</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L266" href="#L266">266</a><span class="code-text">  guided optimization, please refer to the [rustc book][rustc-book-pgo].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L267" href="#L267">267</a><span class="code-text">- [The `rust-lldb` wrapper script should now work again.][61827]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L268" href="#L268">268</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L269" href="#L269">269</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L270" href="#L270">270</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L271" href="#L271">271</a><span class="code-text">- [`mem::MaybeUninit&lt;T&gt;` is now ABI-compatible with `T`.][61802]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L272" href="#L272">272</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L273" href="#L273">273</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L274" href="#L274">274</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L275" href="#L275">275</a><span class="code-text">- [`BufReader::buffer`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L276" href="#L276">276</a><span class="code-text">- [`BufWriter::buffer`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L277" href="#L277">277</a><span class="code-text">- [`Cell::from_mut`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L278" href="#L278">278</a><span class="code-text">- [`Cell&lt;[T]&gt;::as_slice_of_cells`][`Cell&lt;slice&gt;::as_slice_of_cells`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L279" href="#L279">279</a><span class="code-text">- [`DoubleEndedIterator::nth_back`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L280" href="#L280">280</a><span class="code-text">- [`Option::xor`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L281" href="#L281">281</a><span class="code-text">- [`Wrapping::reverse_bits`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L282" href="#L282">282</a><span class="code-text">- [`i128::reverse_bits`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L283" href="#L283">283</a><span class="code-text">- [`i16::reverse_bits`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L284" href="#L284">284</a><span class="code-text">- [`i32::reverse_bits`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L285" href="#L285">285</a><span class="code-text">- [`i64::reverse_bits`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L286" href="#L286">286</a><span class="code-text">- [`i8::reverse_bits`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L287" href="#L287">287</a><span class="code-text">- [`isize::reverse_bits`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L288" href="#L288">288</a><span class="code-text">- [`slice::copy_within`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L289" href="#L289">289</a><span class="code-text">- [`u128::reverse_bits`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L290" href="#L290">290</a><span class="code-text">- [`u16::reverse_bits`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L291" href="#L291">291</a><span class="code-text">- [`u32::reverse_bits`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L292" href="#L292">292</a><span class="code-text">- [`u64::reverse_bits`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L293" href="#L293">293</a><span class="code-text">- [`u8::reverse_bits`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L294" href="#L294">294</a><span class="code-text">- [`usize::reverse_bits`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L295" href="#L295">295</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L296" href="#L296">296</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L297" href="#L297">297</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L298" href="#L298">298</a><span class="code-text">- [`Cargo.lock` files are now included by default when publishing executable crates</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L299" href="#L299">299</a><span class="code-text">  with executables.][cargo/7026]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L300" href="#L300">300</a><span class="code-text">- [You can now specify `default-run=&quot;foo&quot;` in `[package]` to specify the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L301" href="#L301">301</a><span class="code-text">  default executable to use for `cargo run`.][cargo/7056]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L302" href="#L302">302</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L303" href="#L303">303</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L304" href="#L304">304</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L305" href="#L305">305</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L306" href="#L306">306</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L307" href="#L307">307</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L308" href="#L308">308</a><span class="code-text">- [Using `...` for inclusive range patterns will now warn by default.][61342]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L309" href="#L309">309</a><span class="code-text">  Please transition your code to using the `..=` syntax for inclusive</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L310" href="#L310">310</a><span class="code-text">  ranges instead.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L311" href="#L311">311</a><span class="code-text">- [Using a trait object without the `dyn` will now warn by default.][61203]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L312" href="#L312">312</a><span class="code-text">  Please transition your code to use `dyn Trait` for trait objects instead.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L313" href="#L313">313</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L314" href="#L314">314</a><span class="code-text">[62228]: https://github.com/rust-lang/rust/pull/62228/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L315" href="#L315">315</a><span class="code-text">[62235]: https://github.com/rust-lang/rust/pull/62235/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L316" href="#L316">316</a><span class="code-text">[61802]: https://github.com/rust-lang/rust/pull/61802/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L317" href="#L317">317</a><span class="code-text">[61827]: https://github.com/rust-lang/rust/pull/61827/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L318" href="#L318">318</a><span class="code-text">[61547]: https://github.com/rust-lang/rust/pull/61547/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L319" href="#L319">319</a><span class="code-text">[61682]: https://github.com/rust-lang/rust/pull/61682/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L320" href="#L320">320</a><span class="code-text">[61268]: https://github.com/rust-lang/rust/pull/61268/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L321" href="#L321">321</a><span class="code-text">[61342]: https://github.com/rust-lang/rust/pull/61342/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L322" href="#L322">322</a><span class="code-text">[61347]: https://github.com/rust-lang/rust/pull/61347/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L323" href="#L323">323</a><span class="code-text">[61100]: https://github.com/rust-lang/rust/pull/61100/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L324" href="#L324">324</a><span class="code-text">[61203]: https://github.com/rust-lang/rust/pull/61203/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L325" href="#L325">325</a><span class="code-text">[61229]: https://github.com/rust-lang/rust/pull/61229/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L326" href="#L326">326</a><span class="code-text">[60932]: https://github.com/rust-lang/rust/pull/60932/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L327" href="#L327">327</a><span class="code-text">[cargo/7026]: https://github.com/rust-lang/cargo/pull/7026/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L328" href="#L328">328</a><span class="code-text">[cargo/7056]: https://github.com/rust-lang/cargo/pull/7056/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L329" href="#L329">329</a><span class="code-text">[`BufReader::buffer`]: https://doc.rust-lang.org/std/io/struct.BufReader.html#method.buffer</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L330" href="#L330">330</a><span class="code-text">[`BufWriter::buffer`]: https://doc.rust-lang.org/std/io/struct.BufWriter.html#method.buffer</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L331" href="#L331">331</a><span class="code-text">[`Cell::from_mut`]: https://doc.rust-lang.org/std/cell/struct.Cell.html#method.from_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L332" href="#L332">332</a><span class="code-text">[`Cell&lt;slice&gt;::as_slice_of_cells`]: https://doc.rust-lang.org/std/cell/struct.Cell.html#method.as_slice_of_cells</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L333" href="#L333">333</a><span class="code-text">[`DoubleEndedIterator::nth_back`]: https://doc.rust-lang.org/std/iter/trait.DoubleEndedIterator.html#method.nth_back</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L334" href="#L334">334</a><span class="code-text">[`Option::xor`]: https://doc.rust-lang.org/std/option/enum.Option.html#method.xor</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L335" href="#L335">335</a><span class="code-text">[`RefCell::try_borrow_unguarded`]: https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.try_borrow_unguarded</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L336" href="#L336">336</a><span class="code-text">[`Wrapping::reverse_bits`]: https://doc.rust-lang.org/std/num/struct.Wrapping.html#method.reverse_bits</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L337" href="#L337">337</a><span class="code-text">[`i128::reverse_bits`]: https://doc.rust-lang.org/std/primitive.i128.html#method.reverse_bits</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L338" href="#L338">338</a><span class="code-text">[`i16::reverse_bits`]: https://doc.rust-lang.org/std/primitive.i16.html#method.reverse_bits</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L339" href="#L339">339</a><span class="code-text">[`i32::reverse_bits`]: https://doc.rust-lang.org/std/primitive.i32.html#method.reverse_bits</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L340" href="#L340">340</a><span class="code-text">[`i64::reverse_bits`]: https://doc.rust-lang.org/std/primitive.i64.html#method.reverse_bits</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L341" href="#L341">341</a><span class="code-text">[`i8::reverse_bits`]: https://doc.rust-lang.org/std/primitive.i8.html#method.reverse_bits</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L342" href="#L342">342</a><span class="code-text">[`isize::reverse_bits`]: https://doc.rust-lang.org/std/primitive.isize.html#method.reverse_bits</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L343" href="#L343">343</a><span class="code-text">[`slice::copy_within`]: https://doc.rust-lang.org/std/primitive.slice.html#method.copy_within</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L344" href="#L344">344</a><span class="code-text">[`u128::reverse_bits`]: https://doc.rust-lang.org/std/primitive.u128.html#method.reverse_bits</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L345" href="#L345">345</a><span class="code-text">[`u16::reverse_bits`]: https://doc.rust-lang.org/std/primitive.u16.html#method.reverse_bits</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L346" href="#L346">346</a><span class="code-text">[`u32::reverse_bits`]: https://doc.rust-lang.org/std/primitive.u32.html#method.reverse_bits</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L347" href="#L347">347</a><span class="code-text">[`u64::reverse_bits`]: https://doc.rust-lang.org/std/primitive.u64.html#method.reverse_bits</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L348" href="#L348">348</a><span class="code-text">[`u8::reverse_bits`]: https://doc.rust-lang.org/std/primitive.u8.html#method.reverse_bits</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L349" href="#L349">349</a><span class="code-text">[`usize::reverse_bits`]: https://doc.rust-lang.org/std/primitive.usize.html#method.reverse_bits</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L350" href="#L350">350</a><span class="code-text">[rustc-book-pgo]: https://doc.rust-lang.org/rustc/profile-guided-optimization.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L351" href="#L351">351</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L352" href="#L352">352</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L353" href="#L353">353</a><span class="code-text">Version 1.36.0 (2019-07-04)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L354" href="#L354">354</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L355" href="#L355">355</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L356" href="#L356">356</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L357" href="#L357">357</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L358" href="#L358">358</a><span class="code-text">- [Non-Lexical Lifetimes are now enabled on the 2015 edition.][59114]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L359" href="#L359">359</a><span class="code-text">- [The order of traits in trait objects no longer affects the semantics of that</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L360" href="#L360">360</a><span class="code-text">  object.][59445] e.g. `dyn Send + fmt::Debug` is now equivalent to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L361" href="#L361">361</a><span class="code-text">  `dyn fmt::Debug + Send`, where this was previously not the case.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L362" href="#L362">362</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L363" href="#L363">363</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L364" href="#L364">364</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L365" href="#L365">365</a><span class="code-text">- [`HashMap`'s implementation has been replaced with `hashbrown::HashMap` implementation.][58623]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L366" href="#L366">366</a><span class="code-text">- [`TryFromSliceError` now implements `From&lt;Infallible&gt;`.][60318]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L367" href="#L367">367</a><span class="code-text">- [`mem::needs_drop` is now available as a const fn.][60364]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L368" href="#L368">368</a><span class="code-text">- [`alloc::Layout::from_size_align_unchecked` is now available as a const fn.][60370]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L369" href="#L369">369</a><span class="code-text">- [`String` now implements `BorrowMut&lt;str&gt;`.][60404]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L370" href="#L370">370</a><span class="code-text">- [`io::Cursor` now implements `Default`.][60234]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L371" href="#L371">371</a><span class="code-text">- [Both `NonNull::{dangling, cast}` are now const fns.][60244]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L372" href="#L372">372</a><span class="code-text">- [The `alloc` crate is now stable.][59675] `alloc` allows you to use a subset</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L373" href="#L373">373</a><span class="code-text">  of `std` (e.g. `Vec`, `Box`, `Arc`) in `#![no_std]` environments if the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L374" href="#L374">374</a><span class="code-text">  environment has access to heap memory allocation.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L375" href="#L375">375</a><span class="code-text">- [`String` now implements `From&lt;&amp;String&gt;`.][59825]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L376" href="#L376">376</a><span class="code-text">- [You can now pass multiple arguments to the `dbg!` macro.][59826] `dbg!` will</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L377" href="#L377">377</a><span class="code-text">  return a tuple of each argument when there is multiple arguments.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L378" href="#L378">378</a><span class="code-text">- [`Result::{is_err, is_ok}` are now `#[must_use]` and will produce a warning if</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L379" href="#L379">379</a><span class="code-text">  not used.][59648]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L380" href="#L380">380</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L381" href="#L381">381</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L382" href="#L382">382</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L383" href="#L383">383</a><span class="code-text">- [`VecDeque::rotate_left`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L384" href="#L384">384</a><span class="code-text">- [`VecDeque::rotate_right`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L385" href="#L385">385</a><span class="code-text">- [`Iterator::copied`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L386" href="#L386">386</a><span class="code-text">- [`io::IoSlice`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L387" href="#L387">387</a><span class="code-text">- [`io::IoSliceMut`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L388" href="#L388">388</a><span class="code-text">- [`Read::read_vectored`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L389" href="#L389">389</a><span class="code-text">- [`Write::write_vectored`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L390" href="#L390">390</a><span class="code-text">- [`str::as_mut_ptr`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L391" href="#L391">391</a><span class="code-text">- [`mem::MaybeUninit`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L392" href="#L392">392</a><span class="code-text">- [`pointer::align_offset`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L393" href="#L393">393</a><span class="code-text">- [`future::Future`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L394" href="#L394">394</a><span class="code-text">- [`task::Context`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L395" href="#L395">395</a><span class="code-text">- [`task::RawWaker`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L396" href="#L396">396</a><span class="code-text">- [`task::RawWakerVTable`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L397" href="#L397">397</a><span class="code-text">- [`task::Waker`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L398" href="#L398">398</a><span class="code-text">- [`task::Poll`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L399" href="#L399">399</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L400" href="#L400">400</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L401" href="#L401">401</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L402" href="#L402">402</a><span class="code-text">- [Cargo will now produce an error if you attempt to use the name of a required dependency as a feature.][cargo/6860]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L403" href="#L403">403</a><span class="code-text">- [You can now pass the `--offline` flag to run cargo without accessing the network.][cargo/6934]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L404" href="#L404">404</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L405" href="#L405">405</a><span class="code-text">You can find further change's in [Cargo's 1.36.0 release notes][cargo-1-36-0].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L406" href="#L406">406</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L407" href="#L407">407</a><span class="code-text">Clippy</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L408" href="#L408">408</a><span class="code-text">------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L409" href="#L409">409</a><span class="code-text">There have been numerous additions and fixes to clippy, see [Clippy's 1.36.0 release notes][clippy-1-36-0] for more details.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L410" href="#L410">410</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L411" href="#L411">411</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L412" href="#L412">412</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L413" href="#L413">413</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L414" href="#L414">414</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L415" href="#L415">415</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L416" href="#L416">416</a><span class="code-text">- With the stabilisation of `mem::MaybeUninit`, `mem::uninitialized` use is no</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L417" href="#L417">417</a><span class="code-text">  longer recommended, and will be deprecated in 1.39.0.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L418" href="#L418">418</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L419" href="#L419">419</a><span class="code-text">[60318]: https://github.com/rust-lang/rust/pull/60318/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L420" href="#L420">420</a><span class="code-text">[60364]: https://github.com/rust-lang/rust/pull/60364/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L421" href="#L421">421</a><span class="code-text">[60370]: https://github.com/rust-lang/rust/pull/60370/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L422" href="#L422">422</a><span class="code-text">[60404]: https://github.com/rust-lang/rust/pull/60404/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L423" href="#L423">423</a><span class="code-text">[60234]: https://github.com/rust-lang/rust/pull/60234/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L424" href="#L424">424</a><span class="code-text">[60244]: https://github.com/rust-lang/rust/pull/60244/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L425" href="#L425">425</a><span class="code-text">[58623]: https://github.com/rust-lang/rust/pull/58623/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L426" href="#L426">426</a><span class="code-text">[59648]: https://github.com/rust-lang/rust/pull/59648/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L427" href="#L427">427</a><span class="code-text">[59675]: https://github.com/rust-lang/rust/pull/59675/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L428" href="#L428">428</a><span class="code-text">[59825]: https://github.com/rust-lang/rust/pull/59825/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L429" href="#L429">429</a><span class="code-text">[59826]: https://github.com/rust-lang/rust/pull/59826/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L430" href="#L430">430</a><span class="code-text">[59445]: https://github.com/rust-lang/rust/pull/59445/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L431" href="#L431">431</a><span class="code-text">[59114]: https://github.com/rust-lang/rust/pull/59114/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L432" href="#L432">432</a><span class="code-text">[cargo/6860]: https://github.com/rust-lang/cargo/pull/6860/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L433" href="#L433">433</a><span class="code-text">[cargo/6934]: https://github.com/rust-lang/cargo/pull/6934/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L434" href="#L434">434</a><span class="code-text">[`VecDeque::rotate_left`]: https://doc.rust-lang.org/std/collections/struct.VecDeque.html#method.rotate_left</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L435" href="#L435">435</a><span class="code-text">[`VecDeque::rotate_right`]: https://doc.rust-lang.org/std/collections/struct.VecDeque.html#method.rotate_right</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L436" href="#L436">436</a><span class="code-text">[`Iterator::copied`]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#tymethod.copied</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L437" href="#L437">437</a><span class="code-text">[`io::IoSlice`]: https://doc.rust-lang.org/std/io/struct.IoSlice.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L438" href="#L438">438</a><span class="code-text">[`io::IoSliceMut`]: https://doc.rust-lang.org/std/io/struct.IoSliceMut.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L439" href="#L439">439</a><span class="code-text">[`Read::read_vectored`]: https://doc.rust-lang.org/std/io/trait.Read.html#method.read_vectored</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L440" href="#L440">440</a><span class="code-text">[`Write::write_vectored`]: https://doc.rust-lang.org/std/io/trait.Write.html#method.write_vectored</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L441" href="#L441">441</a><span class="code-text">[`str::as_mut_ptr`]: https://doc.rust-lang.org/std/primitive.str.html#method.as_mut_ptr</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L442" href="#L442">442</a><span class="code-text">[`mem::MaybeUninit`]: https://doc.rust-lang.org/std/mem/union.MaybeUninit.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L443" href="#L443">443</a><span class="code-text">[`pointer::align_offset`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.align_offset</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L444" href="#L444">444</a><span class="code-text">[`future::Future`]: https://doc.rust-lang.org/std/future/trait.Future.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L445" href="#L445">445</a><span class="code-text">[`task::Context`]: https://doc.rust-lang.org/beta/std/task/struct.Context.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L446" href="#L446">446</a><span class="code-text">[`task::RawWaker`]: https://doc.rust-lang.org/beta/std/task/struct.RawWaker.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L447" href="#L447">447</a><span class="code-text">[`task::RawWakerVTable`]: https://doc.rust-lang.org/beta/std/task/struct.RawWakerVTable.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L448" href="#L448">448</a><span class="code-text">[`task::Waker`]: https://doc.rust-lang.org/beta/std/task/struct.Waker.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L449" href="#L449">449</a><span class="code-text">[`task::Poll`]: https://doc.rust-lang.org/beta/std/task/enum.Poll.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L450" href="#L450">450</a><span class="code-text">[clippy-1-36-0]: https://github.com/rust-lang/rust-clippy/blob/master/CHANGELOG.md#rust-136</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L451" href="#L451">451</a><span class="code-text">[cargo-1-36-0]: https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md#cargo-136-2019-07-04</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L452" href="#L452">452</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L453" href="#L453">453</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L454" href="#L454">454</a><span class="code-text">Version 1.35.0 (2019-05-23)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L455" href="#L455">455</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L456" href="#L456">456</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L457" href="#L457">457</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L458" href="#L458">458</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L459" href="#L459">459</a><span class="code-text">- [`FnOnce`, `FnMut`, and the `Fn` traits are now implemented for `Box&lt;FnOnce&gt;`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L460" href="#L460">460</a><span class="code-text">  `Box&lt;FnMut&gt;`, and `Box&lt;Fn&gt;` respectively.][59500]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L461" href="#L461">461</a><span class="code-text">- [You can now coerce closures into unsafe function pointers.][59580] e.g.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L462" href="#L462">462</a><span class="code-text">  ```rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L463" href="#L463">463</a><span class="code-text">  unsafe fn call_unsafe(func: unsafe fn()) {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L464" href="#L464">464</a><span class="code-text">      func()</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L465" href="#L465">465</a><span class="code-text">  }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L466" href="#L466">466</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L467" href="#L467">467</a><span class="code-text">  pub fn main() {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L468" href="#L468">468</a><span class="code-text">      unsafe { call_unsafe(|| {}); }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L469" href="#L469">469</a><span class="code-text">  }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L470" href="#L470">470</a><span class="code-text">  ```</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L471" href="#L471">471</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L472" href="#L472">472</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L473" href="#L473">473</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L474" href="#L474">474</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L475" href="#L475">475</a><span class="code-text">- [Added the `armv6-unknown-freebsd-gnueabihf` and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L476" href="#L476">476</a><span class="code-text">  `armv7-unknown-freebsd-gnueabihf` targets.][58080]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L477" href="#L477">477</a><span class="code-text">- [Added the `wasm32-unknown-wasi` target.][59464]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L478" href="#L478">478</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L479" href="#L479">479</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L480" href="#L480">480</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L481" href="#L481">481</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L482" href="#L482">482</a><span class="code-text">- [`Thread` will now show its ID in `Debug` output.][59460]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L483" href="#L483">483</a><span class="code-text">- [`StdinLock`, `StdoutLock`, and `StderrLock` now implement `AsRawFd`.][59512]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L484" href="#L484">484</a><span class="code-text">- [`alloc::System` now implements `Default`.][59451]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L485" href="#L485">485</a><span class="code-text">- [Expanded `Debug` output (`{:#?}`) for structs now has a trailing comma on the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L486" href="#L486">486</a><span class="code-text">  last field.][59076]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L487" href="#L487">487</a><span class="code-text">- [`char::{ToLowercase, ToUppercase}` now</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L488" href="#L488">488</a><span class="code-text">  implement `ExactSizeIterator`.][58778]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L489" href="#L489">489</a><span class="code-text">- [All `NonZero` numeric types now implement `FromStr`.][58717]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L490" href="#L490">490</a><span class="code-text">- [Removed the `Read` trait bounds</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L491" href="#L491">491</a><span class="code-text">  on the `BufReader::{get_ref, get_mut, into_inner}` methods.][58423]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L492" href="#L492">492</a><span class="code-text">- [You can now call the `dbg!` macro without any parameters to print the file</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L493" href="#L493">493</a><span class="code-text">  and line where it is called.][57847]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L494" href="#L494">494</a><span class="code-text">- [In place ASCII case conversions are now up to 4× faster.][59283]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L495" href="#L495">495</a><span class="code-text">  e.g. `str::make_ascii_lowercase`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L496" href="#L496">496</a><span class="code-text">- [`hash_map::{OccupiedEntry, VacantEntry}` now implement `Sync`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L497" href="#L497">497</a><span class="code-text">  and `Send`.][58369]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L498" href="#L498">498</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L499" href="#L499">499</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L500" href="#L500">500</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L501" href="#L501">501</a><span class="code-text">- [`f32::copysign`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L502" href="#L502">502</a><span class="code-text">- [`f64::copysign`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L503" href="#L503">503</a><span class="code-text">- [`RefCell::replace_with`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L504" href="#L504">504</a><span class="code-text">- [`RefCell::map_split`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L505" href="#L505">505</a><span class="code-text">- [`ptr::hash`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L506" href="#L506">506</a><span class="code-text">- [`Range::contains`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L507" href="#L507">507</a><span class="code-text">- [`RangeFrom::contains`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L508" href="#L508">508</a><span class="code-text">- [`RangeTo::contains`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L509" href="#L509">509</a><span class="code-text">- [`RangeInclusive::contains`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L510" href="#L510">510</a><span class="code-text">- [`RangeToInclusive::contains`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L511" href="#L511">511</a><span class="code-text">- [`Option::copied`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L512" href="#L512">512</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L513" href="#L513">513</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L514" href="#L514">514</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L515" href="#L515">515</a><span class="code-text">- [You can now set `cargo:rustc-cdylib-link-arg` at build time to pass custom</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L516" href="#L516">516</a><span class="code-text">  linker arguments when building a `cdylib`.][cargo/6298] Its usage is highly</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L517" href="#L517">517</a><span class="code-text">  platform specific.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L518" href="#L518">518</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L519" href="#L519">519</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L520" href="#L520">520</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L521" href="#L521">521</a><span class="code-text">- [The Rust toolchain is now available natively for musl based distros.][58575]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L522" href="#L522">522</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L523" href="#L523">523</a><span class="code-text">[59460]: https://github.com/rust-lang/rust/pull/59460/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L524" href="#L524">524</a><span class="code-text">[59464]: https://github.com/rust-lang/rust/pull/59464/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L525" href="#L525">525</a><span class="code-text">[59500]: https://github.com/rust-lang/rust/pull/59500/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L526" href="#L526">526</a><span class="code-text">[59512]: https://github.com/rust-lang/rust/pull/59512/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L527" href="#L527">527</a><span class="code-text">[59580]: https://github.com/rust-lang/rust/pull/59580/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L528" href="#L528">528</a><span class="code-text">[59283]: https://github.com/rust-lang/rust/pull/59283/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L529" href="#L529">529</a><span class="code-text">[59451]: https://github.com/rust-lang/rust/pull/59451/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L530" href="#L530">530</a><span class="code-text">[59076]: https://github.com/rust-lang/rust/pull/59076/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L531" href="#L531">531</a><span class="code-text">[58778]: https://github.com/rust-lang/rust/pull/58778/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L532" href="#L532">532</a><span class="code-text">[58717]: https://github.com/rust-lang/rust/pull/58717/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L533" href="#L533">533</a><span class="code-text">[58369]: https://github.com/rust-lang/rust/pull/58369/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L534" href="#L534">534</a><span class="code-text">[58423]: https://github.com/rust-lang/rust/pull/58423/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L535" href="#L535">535</a><span class="code-text">[58080]: https://github.com/rust-lang/rust/pull/58080/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L536" href="#L536">536</a><span class="code-text">[57847]: https://github.com/rust-lang/rust/pull/57847/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L537" href="#L537">537</a><span class="code-text">[58575]: https://github.com/rust-lang/rust/pull/58575</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L538" href="#L538">538</a><span class="code-text">[cargo/6298]: https://github.com/rust-lang/cargo/pull/6298/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L539" href="#L539">539</a><span class="code-text">[`f32::copysign`]: https://doc.rust-lang.org/stable/std/primitive.f32.html#method.copysign</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L540" href="#L540">540</a><span class="code-text">[`f64::copysign`]: https://doc.rust-lang.org/stable/std/primitive.f64.html#method.copysign</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L541" href="#L541">541</a><span class="code-text">[`RefCell::replace_with`]: https://doc.rust-lang.org/stable/std/cell/struct.RefCell.html#method.replace_with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L542" href="#L542">542</a><span class="code-text">[`RefCell::map_split`]: https://doc.rust-lang.org/stable/std/cell/struct.RefCell.html#method.map_split</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L543" href="#L543">543</a><span class="code-text">[`ptr::hash`]: https://doc.rust-lang.org/stable/std/ptr/fn.hash.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L544" href="#L544">544</a><span class="code-text">[`Range::contains`]: https://doc.rust-lang.org/std/ops/struct.Range.html#method.contains</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L545" href="#L545">545</a><span class="code-text">[`RangeFrom::contains`]: https://doc.rust-lang.org/std/ops/struct.RangeFrom.html#method.contains</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L546" href="#L546">546</a><span class="code-text">[`RangeTo::contains`]: https://doc.rust-lang.org/std/ops/struct.RangeTo.html#method.contains</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L547" href="#L547">547</a><span class="code-text">[`RangeInclusive::contains`]: https://doc.rust-lang.org/std/ops/struct.RangeInclusive.html#method.contains</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L548" href="#L548">548</a><span class="code-text">[`RangeToInclusive::contains`]: https://doc.rust-lang.org/std/ops/struct.RangeToInclusive.html#method.contains</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L549" href="#L549">549</a><span class="code-text">[`Option::copied`]: https://doc.rust-lang.org/std/option/enum.Option.html#method.copied</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L550" href="#L550">550</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L551" href="#L551">551</a><span class="code-text">Version 1.34.2 (2019-05-14)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L552" href="#L552">552</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L553" href="#L553">553</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L554" href="#L554">554</a><span class="code-text">* [Destabilize the `Error::type_id` function due to a security</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L555" href="#L555">555</a><span class="code-text">   vulnerability][60785] ([CVE-2019-12083])</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L556" href="#L556">556</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L557" href="#L557">557</a><span class="code-text">[60785]: https://github.com/rust-lang/rust/pull/60785</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L558" href="#L558">558</a><span class="code-text">[CVE-2019-12083]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12083</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L559" href="#L559">559</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L560" href="#L560">560</a><span class="code-text">Version 1.34.1 (2019-04-25)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L561" href="#L561">561</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L562" href="#L562">562</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L563" href="#L563">563</a><span class="code-text">* [Fix false positives for the `redundant_closure` Clippy lint][clippy/3821]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L564" href="#L564">564</a><span class="code-text">* [Fix false positives for the `missing_const_for_fn` Clippy lint][clippy/3844]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L565" href="#L565">565</a><span class="code-text">* [Fix Clippy panic when checking some macros][clippy/3805]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L566" href="#L566">566</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L567" href="#L567">567</a><span class="code-text">[clippy/3821]: https://github.com/rust-lang/rust-clippy/pull/3821</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L568" href="#L568">568</a><span class="code-text">[clippy/3844]: https://github.com/rust-lang/rust-clippy/pull/3844</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L569" href="#L569">569</a><span class="code-text">[clippy/3805]: https://github.com/rust-lang/rust-clippy/pull/3805</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L570" href="#L570">570</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L571" href="#L571">571</a><span class="code-text">Version 1.34.0 (2019-04-11)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L572" href="#L572">572</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L573" href="#L573">573</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L574" href="#L574">574</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L575" href="#L575">575</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L576" href="#L576">576</a><span class="code-text">- [You can now use `#[deprecated = &quot;reason&quot;]`][58166] as a shorthand for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L577" href="#L577">577</a><span class="code-text">  `#[deprecated(note = &quot;reason&quot;)]`. This was previously allowed by mistake</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L578" href="#L578">578</a><span class="code-text">  but had no effect.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L579" href="#L579">579</a><span class="code-text">- [You can now accept token streams in `#[attr()]`,`#[attr[]]`, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L580" href="#L580">580</a><span class="code-text">  `#[attr{}]` procedural macros.][57367]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L581" href="#L581">581</a><span class="code-text">- [You can now write `extern crate self as foo;`][57407] to import your</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L582" href="#L582">582</a><span class="code-text">  crate's root into the extern prelude.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L583" href="#L583">583</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L584" href="#L584">584</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L585" href="#L585">585</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L586" href="#L586">586</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L587" href="#L587">587</a><span class="code-text">- [You can now target `riscv64imac-unknown-none-elf` and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L588" href="#L588">588</a><span class="code-text">  `riscv64gc-unknown-none-elf`.][58406]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L589" href="#L589">589</a><span class="code-text">- [You can now enable linker plugin LTO optimisations with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L590" href="#L590">590</a><span class="code-text">  `-C linker-plugin-lto`.][58057] This allows rustc to compile your Rust code</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L591" href="#L591">591</a><span class="code-text">  into LLVM bitcode allowing LLVM to perform LTO optimisations across C/C++ FFI</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L592" href="#L592">592</a><span class="code-text">  boundaries.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L593" href="#L593">593</a><span class="code-text">- [You can now target `powerpc64-unknown-freebsd`.][57809]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L594" href="#L594">594</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L595" href="#L595">595</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L596" href="#L596">596</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L597" href="#L597">597</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L598" href="#L598">598</a><span class="code-text">- [The trait bounds have been removed on some of `HashMap&lt;K, V, S&gt;`'s and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L599" href="#L599">599</a><span class="code-text">  `HashSet&lt;T, S&gt;`'s basic methods.][58370] Most notably you no longer require</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L600" href="#L600">600</a><span class="code-text">  the `Hash` trait to create an iterator.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L601" href="#L601">601</a><span class="code-text">- [The `Ord` trait bounds have been removed on some of `BinaryHeap&lt;T&gt;`'s basic</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L602" href="#L602">602</a><span class="code-text">  methods.][58421] Most notably you no longer require the `Ord` trait to create</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L603" href="#L603">603</a><span class="code-text">  an iterator.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L604" href="#L604">604</a><span class="code-text">- [The methods `overflowing_neg` and `wrapping_neg` are now `const` functions</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L605" href="#L605">605</a><span class="code-text">  for all numeric types.][58044]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L606" href="#L606">606</a><span class="code-text">- [Indexing a `str` is now generic over all types that</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L607" href="#L607">607</a><span class="code-text">  implement `SliceIndex&lt;str&gt;`.][57604]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L608" href="#L608">608</a><span class="code-text">- [`str::trim`, `str::trim_matches`, `str::trim_{start, end}`, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L609" href="#L609">609</a><span class="code-text">  `str::trim_{start, end}_matches` are now `#[must_use]`][57106] and will</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L610" href="#L610">610</a><span class="code-text">  produce a warning if their returning type is unused.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L611" href="#L611">611</a><span class="code-text">- [The methods `checked_pow`, `saturating_pow`, `wrapping_pow`, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L612" href="#L612">612</a><span class="code-text">  `overflowing_pow` are now available for all numeric types.][57873] These are</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L613" href="#L613">613</a><span class="code-text">  equivalent to methods such as `wrapping_add` for the `pow` operation.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L614" href="#L614">614</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L615" href="#L615">615</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L616" href="#L616">616</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L617" href="#L617">617</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L618" href="#L618">618</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L619" href="#L619">619</a><span class="code-text">#### std &amp; core</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L620" href="#L620">620</a><span class="code-text">* [`Any::type_id`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L621" href="#L621">621</a><span class="code-text">* [`Error::type_id`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L622" href="#L622">622</a><span class="code-text">* [`atomic::AtomicI16`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L623" href="#L623">623</a><span class="code-text">* [`atomic::AtomicI32`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L624" href="#L624">624</a><span class="code-text">* [`atomic::AtomicI64`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L625" href="#L625">625</a><span class="code-text">* [`atomic::AtomicI8`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L626" href="#L626">626</a><span class="code-text">* [`atomic::AtomicU16`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L627" href="#L627">627</a><span class="code-text">* [`atomic::AtomicU32`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L628" href="#L628">628</a><span class="code-text">* [`atomic::AtomicU64`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L629" href="#L629">629</a><span class="code-text">* [`atomic::AtomicU8`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L630" href="#L630">630</a><span class="code-text">* [`convert::Infallible`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L631" href="#L631">631</a><span class="code-text">* [`convert::TryFrom`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L632" href="#L632">632</a><span class="code-text">* [`convert::TryInto`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L633" href="#L633">633</a><span class="code-text">* [`iter::from_fn`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L634" href="#L634">634</a><span class="code-text">* [`iter::successors`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L635" href="#L635">635</a><span class="code-text">* [`num::NonZeroI128`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L636" href="#L636">636</a><span class="code-text">* [`num::NonZeroI16`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L637" href="#L637">637</a><span class="code-text">* [`num::NonZeroI32`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L638" href="#L638">638</a><span class="code-text">* [`num::NonZeroI64`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L639" href="#L639">639</a><span class="code-text">* [`num::NonZeroI8`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L640" href="#L640">640</a><span class="code-text">* [`num::NonZeroIsize`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L641" href="#L641">641</a><span class="code-text">* [`slice::sort_by_cached_key`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L642" href="#L642">642</a><span class="code-text">* [`str::escape_debug`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L643" href="#L643">643</a><span class="code-text">* [`str::escape_default`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L644" href="#L644">644</a><span class="code-text">* [`str::escape_unicode`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L645" href="#L645">645</a><span class="code-text">* [`str::split_ascii_whitespace`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L646" href="#L646">646</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L647" href="#L647">647</a><span class="code-text">#### std</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L648" href="#L648">648</a><span class="code-text">* [`Instant::checked_add`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L649" href="#L649">649</a><span class="code-text">* [`Instant::checked_sub`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L650" href="#L650">650</a><span class="code-text">* [`SystemTime::checked_add`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L651" href="#L651">651</a><span class="code-text">* [`SystemTime::checked_sub`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L652" href="#L652">652</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L653" href="#L653">653</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L654" href="#L654">654</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L655" href="#L655">655</a><span class="code-text">- [You can now use alternative registries to crates.io.][cargo/6654]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L656" href="#L656">656</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L657" href="#L657">657</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L658" href="#L658">658</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L659" href="#L659">659</a><span class="code-text">- [You can now use the `?` operator in your documentation tests without manually</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L660" href="#L660">660</a><span class="code-text">  adding `fn main() -&gt; Result&lt;(), _&gt; {}`.][56470]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L661" href="#L661">661</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L662" href="#L662">662</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L663" href="#L663">663</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L664" href="#L664">664</a><span class="code-text">- [`Command::before_exec` is being replaced by the unsafe method</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L665" href="#L665">665</a><span class="code-text">  `Command::pre_exec`][58059] and will be deprecated with Rust 1.37.0.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L666" href="#L666">666</a><span class="code-text">- [Use of `ATOMIC_{BOOL, ISIZE, USIZE}_INIT` is now deprecated][57425] as you</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L667" href="#L667">667</a><span class="code-text">  can now use `const` functions in `static` variables.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L668" href="#L668">668</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L669" href="#L669">669</a><span class="code-text">[58370]: https://github.com/rust-lang/rust/pull/58370/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L670" href="#L670">670</a><span class="code-text">[58406]: https://github.com/rust-lang/rust/pull/58406/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L671" href="#L671">671</a><span class="code-text">[58421]: https://github.com/rust-lang/rust/pull/58421/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L672" href="#L672">672</a><span class="code-text">[58166]: https://github.com/rust-lang/rust/pull/58166/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L673" href="#L673">673</a><span class="code-text">[58044]: https://github.com/rust-lang/rust/pull/58044/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L674" href="#L674">674</a><span class="code-text">[58057]: https://github.com/rust-lang/rust/pull/58057/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L675" href="#L675">675</a><span class="code-text">[58059]: https://github.com/rust-lang/rust/pull/58059/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L676" href="#L676">676</a><span class="code-text">[57809]: https://github.com/rust-lang/rust/pull/57809/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L677" href="#L677">677</a><span class="code-text">[57873]: https://github.com/rust-lang/rust/pull/57873/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L678" href="#L678">678</a><span class="code-text">[57604]: https://github.com/rust-lang/rust/pull/57604/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L679" href="#L679">679</a><span class="code-text">[57367]: https://github.com/rust-lang/rust/pull/57367/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L680" href="#L680">680</a><span class="code-text">[57407]: https://github.com/rust-lang/rust/pull/57407/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L681" href="#L681">681</a><span class="code-text">[57425]: https://github.com/rust-lang/rust/pull/57425/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L682" href="#L682">682</a><span class="code-text">[57106]: https://github.com/rust-lang/rust/pull/57106/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L683" href="#L683">683</a><span class="code-text">[56470]: https://github.com/rust-lang/rust/pull/56470/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L684" href="#L684">684</a><span class="code-text">[cargo/6654]: https://github.com/rust-lang/cargo/pull/6654/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L685" href="#L685">685</a><span class="code-text">[`Any::type_id`]: https://doc.rust-lang.org/std/any/trait.Any.html#tymethod.type_id</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L686" href="#L686">686</a><span class="code-text">[`Error::type_id`]: https://doc.rust-lang.org/std/error/trait.Error.html#method.type_id</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L687" href="#L687">687</a><span class="code-text">[`atomic::AtomicI16`]: https://doc.rust-lang.org/std/sync/atomic/struct.AtomicI16.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L688" href="#L688">688</a><span class="code-text">[`atomic::AtomicI32`]: https://doc.rust-lang.org/std/sync/atomic/struct.AtomicI32.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L689" href="#L689">689</a><span class="code-text">[`atomic::AtomicI64`]: https://doc.rust-lang.org/std/sync/atomic/struct.AtomicI64.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L690" href="#L690">690</a><span class="code-text">[`atomic::AtomicI8`]: https://doc.rust-lang.org/std/sync/atomic/struct.AtomicI8.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L691" href="#L691">691</a><span class="code-text">[`atomic::AtomicU16`]: https://doc.rust-lang.org/std/sync/atomic/struct.AtomicU16.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L692" href="#L692">692</a><span class="code-text">[`atomic::AtomicU32`]: https://doc.rust-lang.org/std/sync/atomic/struct.AtomicU32.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L693" href="#L693">693</a><span class="code-text">[`atomic::AtomicU64`]: https://doc.rust-lang.org/std/sync/atomic/struct.AtomicU64.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L694" href="#L694">694</a><span class="code-text">[`atomic::AtomicU8`]: https://doc.rust-lang.org/std/sync/atomic/struct.AtomicU8.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L695" href="#L695">695</a><span class="code-text">[`convert::Infallible`]: https://doc.rust-lang.org/std/convert/enum.Infallible.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L696" href="#L696">696</a><span class="code-text">[`convert::TryFrom`]: https://doc.rust-lang.org/std/convert/trait.TryFrom.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L697" href="#L697">697</a><span class="code-text">[`convert::TryInto`]: https://doc.rust-lang.org/std/convert/trait.TryInto.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L698" href="#L698">698</a><span class="code-text">[`iter::from_fn`]: https://doc.rust-lang.org/std/iter/fn.from_fn.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L699" href="#L699">699</a><span class="code-text">[`iter::successors`]: https://doc.rust-lang.org/std/iter/fn.successors.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L700" href="#L700">700</a><span class="code-text">[`num::NonZeroI128`]: https://doc.rust-lang.org/std/num/struct.NonZeroI128.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L701" href="#L701">701</a><span class="code-text">[`num::NonZeroI16`]: https://doc.rust-lang.org/std/num/struct.NonZeroI16.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L702" href="#L702">702</a><span class="code-text">[`num::NonZeroI32`]: https://doc.rust-lang.org/std/num/struct.NonZeroI32.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L703" href="#L703">703</a><span class="code-text">[`num::NonZeroI64`]: https://doc.rust-lang.org/std/num/struct.NonZeroI64.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L704" href="#L704">704</a><span class="code-text">[`num::NonZeroI8`]: https://doc.rust-lang.org/std/num/struct.NonZeroI8.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L705" href="#L705">705</a><span class="code-text">[`num::NonZeroIsize`]: https://doc.rust-lang.org/std/num/struct.NonZeroIsize.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L706" href="#L706">706</a><span class="code-text">[`slice::sort_by_cached_key`]: https://doc.rust-lang.org/std/primitive.slice.html#method.sort_by_cached_key</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L707" href="#L707">707</a><span class="code-text">[`str::escape_debug`]: https://doc.rust-lang.org/std/primitive.str.html#method.escape_debug</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L708" href="#L708">708</a><span class="code-text">[`str::escape_default`]: https://doc.rust-lang.org/std/primitive.str.html#method.escape_default</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L709" href="#L709">709</a><span class="code-text">[`str::escape_unicode`]: https://doc.rust-lang.org/std/primitive.str.html#method.escape_unicode</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L710" href="#L710">710</a><span class="code-text">[`str::split_ascii_whitespace`]: https://doc.rust-lang.org/std/primitive.str.html#method.split_ascii_whitespace</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L711" href="#L711">711</a><span class="code-text">[`Instant::checked_add`]: https://doc.rust-lang.org/std/time/struct.Instant.html#method.checked_add</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L712" href="#L712">712</a><span class="code-text">[`Instant::checked_sub`]: https://doc.rust-lang.org/std/time/struct.Instant.html#method.checked_sub</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L713" href="#L713">713</a><span class="code-text">[`SystemTime::checked_add`]: https://doc.rust-lang.org/std/time/struct.SystemTime.html#method.checked_add</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L714" href="#L714">714</a><span class="code-text">[`SystemTime::checked_sub`]: https://doc.rust-lang.org/std/time/struct.SystemTime.html#method.checked_sub</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L715" href="#L715">715</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L716" href="#L716">716</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L717" href="#L717">717</a><span class="code-text">Version 1.33.0 (2019-02-28)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L718" href="#L718">718</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L719" href="#L719">719</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L720" href="#L720">720</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L721" href="#L721">721</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L722" href="#L722">722</a><span class="code-text">- [You can now use the `cfg(target_vendor)` attribute.][57465] E.g.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L723" href="#L723">723</a><span class="code-text">  `#[cfg(target_vendor=&quot;apple&quot;)] fn main() { println!(&quot;Hello Apple!&quot;); }`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L724" href="#L724">724</a><span class="code-text">- [Integer patterns such as in a match expression can now be exhaustive.][56362]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L725" href="#L725">725</a><span class="code-text">  E.g. You can have match statement on a `u8` that covers `0..=255` and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L726" href="#L726">726</a><span class="code-text">  you would no longer be required to have a `_ =&gt; unreachable!()` case.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L727" href="#L727">727</a><span class="code-text">- [You can now have multiple patterns in `if let` and `while let`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L728" href="#L728">728</a><span class="code-text">  expressions.][57532] You can do this with the same syntax as a `match`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L729" href="#L729">729</a><span class="code-text">  expression. E.g.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L730" href="#L730">730</a><span class="code-text">  ```rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L731" href="#L731">731</a><span class="code-text">  enum Creature {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L732" href="#L732">732</a><span class="code-text">      Crab(String),</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L733" href="#L733">733</a><span class="code-text">      Lobster(String),</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L734" href="#L734">734</a><span class="code-text">      Person(String),</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L735" href="#L735">735</a><span class="code-text">  }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L736" href="#L736">736</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L737" href="#L737">737</a><span class="code-text">  fn main() {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L738" href="#L738">738</a><span class="code-text">      let state = Creature::Crab(&quot;Ferris&quot;);</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L739" href="#L739">739</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L740" href="#L740">740</a><span class="code-text">      if let Creature::Crab(name) | Creature::Person(name) = state {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L741" href="#L741">741</a><span class="code-text">          println!(&quot;This creature's name is: {}&quot;, name);</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L742" href="#L742">742</a><span class="code-text">      }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L743" href="#L743">743</a><span class="code-text">  }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L744" href="#L744">744</a><span class="code-text">  ```</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L745" href="#L745">745</a><span class="code-text">- [You can now have irrefutable `if let` and `while let` patterns.][57535] Using</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L746" href="#L746">746</a><span class="code-text">  this feature will by default produce a warning as this behaviour can be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L747" href="#L747">747</a><span class="code-text">  unintuitive. E.g. `if let _ = 5 {}`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L748" href="#L748">748</a><span class="code-text">- [You can now use `let` bindings, assignments, expression statements,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L749" href="#L749">749</a><span class="code-text">  and irrefutable pattern destructuring in const functions.][57175]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L750" href="#L750">750</a><span class="code-text">- [You can now call unsafe const functions.][57067] E.g.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L751" href="#L751">751</a><span class="code-text">  ```rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L752" href="#L752">752</a><span class="code-text">  const unsafe fn foo() -&gt; i32 { 5 }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L753" href="#L753">753</a><span class="code-text">  const fn bar() -&gt; i32 {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L754" href="#L754">754</a><span class="code-text">      unsafe { foo() }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L755" href="#L755">755</a><span class="code-text">  }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L756" href="#L756">756</a><span class="code-text">  ```</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L757" href="#L757">757</a><span class="code-text">- [You can now specify multiple attributes in a `cfg_attr` attribute.][57332]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L758" href="#L758">758</a><span class="code-text">  E.g. `#[cfg_attr(all(), must_use, optimize)]`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L759" href="#L759">759</a><span class="code-text">- [You can now specify a specific alignment with the `#[repr(packed)]`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L760" href="#L760">760</a><span class="code-text">  attribute.][57049] E.g. `#[repr(packed(2))] struct Foo(i16, i32);` is a struct</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L761" href="#L761">761</a><span class="code-text">  with an alignment of 2 bytes and a size of 6 bytes.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L762" href="#L762">762</a><span class="code-text">- [You can now import an item from a module as an `_`.][56303] This allows you to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L763" href="#L763">763</a><span class="code-text">  import a trait's impls, and not have the name in the namespace. E.g.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L764" href="#L764">764</a><span class="code-text">  ```rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L765" href="#L765">765</a><span class="code-text">  use std::io::Read as _;</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L766" href="#L766">766</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L767" href="#L767">767</a><span class="code-text">  // Allowed as there is only one `Read` in the module.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L768" href="#L768">768</a><span class="code-text">  pub trait Read {}</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L769" href="#L769">769</a><span class="code-text">  ```</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L770" href="#L770">770</a><span class="code-text">- [You may now use `Rc`, `Arc`, and `Pin` as method receivers][56805].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L771" href="#L771">771</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L772" href="#L772">772</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L773" href="#L773">773</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L774" href="#L774">774</a><span class="code-text">- [You can now set a linker flavor for `rustc` with the `-Clinker-flavor`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L775" href="#L775">775</a><span class="code-text">  command line argument.][56351]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L776" href="#L776">776</a><span class="code-text">- [The minimum required LLVM version has been bumped to 6.0.][56642]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L777" href="#L777">777</a><span class="code-text">- [Added support for the PowerPC64 architecture on FreeBSD.][57615]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L778" href="#L778">778</a><span class="code-text">- [The `x86_64-fortanix-unknown-sgx` target support has been upgraded to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L779" href="#L779">779</a><span class="code-text">  tier 2 support.][57130] Visit the [platform support][platform-support] page for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L780" href="#L780">780</a><span class="code-text">  information on Rust's platform support.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L781" href="#L781">781</a><span class="code-text">- [Added support for the `thumbv7neon-linux-androideabi` and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L782" href="#L782">782</a><span class="code-text">  `thumbv7neon-unknown-linux-gnueabihf` targets.][56947]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L783" href="#L783">783</a><span class="code-text">- [Added support for the `x86_64-unknown-uefi` target.][56769]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L784" href="#L784">784</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L785" href="#L785">785</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L786" href="#L786">786</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L787" href="#L787">787</a><span class="code-text">- [The methods `overflowing_{add, sub, mul, shl, shr}` are now `const`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L788" href="#L788">788</a><span class="code-text">  functions for all numeric types.][57566]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L789" href="#L789">789</a><span class="code-text">- [The methods `rotate_left`, `rotate_right`, and `wrapping_{add, sub, mul, shl, shr}`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L790" href="#L790">790</a><span class="code-text">  are now `const` functions for all numeric types.][57105]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L791" href="#L791">791</a><span class="code-text">- [The methods `is_positive` and `is_negative` are now `const` functions for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L792" href="#L792">792</a><span class="code-text">  all signed numeric types.][57105]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L793" href="#L793">793</a><span class="code-text">- [The `get` method for all `NonZero` types is now `const`.][57167]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L794" href="#L794">794</a><span class="code-text">- [The methods `count_ones`, `count_zeros`, `leading_zeros`, `trailing_zeros`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L795" href="#L795">795</a><span class="code-text">  `swap_bytes`, `from_be`, `from_le`, `to_be`, `to_le` are now `const` for all</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L796" href="#L796">796</a><span class="code-text">  numeric types.][57234]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L797" href="#L797">797</a><span class="code-text">- [`Ipv4Addr::new` is now a `const` function][57234]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L798" href="#L798">798</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L799" href="#L799">799</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L800" href="#L800">800</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L801" href="#L801">801</a><span class="code-text">- [`unix::FileExt::read_exact_at`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L802" href="#L802">802</a><span class="code-text">- [`unix::FileExt::write_all_at`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L803" href="#L803">803</a><span class="code-text">- [`Option::transpose`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L804" href="#L804">804</a><span class="code-text">- [`Result::transpose`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L805" href="#L805">805</a><span class="code-text">- [`convert::identity`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L806" href="#L806">806</a><span class="code-text">- [`pin::Pin`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L807" href="#L807">807</a><span class="code-text">- [`marker::Unpin`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L808" href="#L808">808</a><span class="code-text">- [`marker::PhantomPinned`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L809" href="#L809">809</a><span class="code-text">- [`Vec::resize_with`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L810" href="#L810">810</a><span class="code-text">- [`VecDeque::resize_with`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L811" href="#L811">811</a><span class="code-text">- [`Duration::as_millis`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L812" href="#L812">812</a><span class="code-text">- [`Duration::as_micros`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L813" href="#L813">813</a><span class="code-text">- [`Duration::as_nanos`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L814" href="#L814">814</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L815" href="#L815">815</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L816" href="#L816">816</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L817" href="#L817">817</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L818" href="#L818">818</a><span class="code-text">- [You can now publish crates that require a feature flag to compile with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L819" href="#L819">819</a><span class="code-text">  `cargo publish --features` or `cargo publish --all-features`.][cargo/6453]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L820" href="#L820">820</a><span class="code-text">- [Cargo should now rebuild a crate if a file was modified during the initial</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L821" href="#L821">821</a><span class="code-text">  build.][cargo/6484]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L822" href="#L822">822</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L823" href="#L823">823</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L824" href="#L824">824</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L825" href="#L825">825</a><span class="code-text">- The methods `str::{trim_left, trim_right, trim_left_matches, trim_right_matches}`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L826" href="#L826">826</a><span class="code-text">  are now deprecated in the standard library, and their usage will now produce a warning.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L827" href="#L827">827</a><span class="code-text">  Please use the `str::{trim_start, trim_end, trim_start_matches, trim_end_matches}`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L828" href="#L828">828</a><span class="code-text">  methods instead.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L829" href="#L829">829</a><span class="code-text">- The `Error::cause` method has been deprecated in favor of `Error::source` which supports</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L830" href="#L830">830</a><span class="code-text">  downcasting.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L831" href="#L831">831</a><span class="code-text">- [Libtest no longer creates a new thread for each test when</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L832" href="#L832">832</a><span class="code-text">  `--test-threads=1`.  It also runs the tests in deterministic order][56243]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L833" href="#L833">833</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L834" href="#L834">834</a><span class="code-text">[55982]: https://github.com/rust-lang/rust/pull/55982/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L835" href="#L835">835</a><span class="code-text">[56243]: https://github.com/rust-lang/rust/pull/56243</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L836" href="#L836">836</a><span class="code-text">[56303]: https://github.com/rust-lang/rust/pull/56303/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L837" href="#L837">837</a><span class="code-text">[56351]: https://github.com/rust-lang/rust/pull/56351/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L838" href="#L838">838</a><span class="code-text">[56362]: https://github.com/rust-lang/rust/pull/56362</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L839" href="#L839">839</a><span class="code-text">[56642]: https://github.com/rust-lang/rust/pull/56642/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L840" href="#L840">840</a><span class="code-text">[56769]: https://github.com/rust-lang/rust/pull/56769/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L841" href="#L841">841</a><span class="code-text">[56805]: https://github.com/rust-lang/rust/pull/56805</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L842" href="#L842">842</a><span class="code-text">[56947]: https://github.com/rust-lang/rust/pull/56947/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L843" href="#L843">843</a><span class="code-text">[57049]: https://github.com/rust-lang/rust/pull/57049/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L844" href="#L844">844</a><span class="code-text">[57067]: https://github.com/rust-lang/rust/pull/57067/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L845" href="#L845">845</a><span class="code-text">[57105]: https://github.com/rust-lang/rust/pull/57105</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L846" href="#L846">846</a><span class="code-text">[57130]: https://github.com/rust-lang/rust/pull/57130/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L847" href="#L847">847</a><span class="code-text">[57167]: https://github.com/rust-lang/rust/pull/57167/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L848" href="#L848">848</a><span class="code-text">[57175]: https://github.com/rust-lang/rust/pull/57175/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L849" href="#L849">849</a><span class="code-text">[57234]: https://github.com/rust-lang/rust/pull/57234/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L850" href="#L850">850</a><span class="code-text">[57332]: https://github.com/rust-lang/rust/pull/57332/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L851" href="#L851">851</a><span class="code-text">[57465]: https://github.com/rust-lang/rust/pull/57465/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L852" href="#L852">852</a><span class="code-text">[57532]: https://github.com/rust-lang/rust/pull/57532/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L853" href="#L853">853</a><span class="code-text">[57535]: https://github.com/rust-lang/rust/pull/57535/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L854" href="#L854">854</a><span class="code-text">[57566]: https://github.com/rust-lang/rust/pull/57566/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L855" href="#L855">855</a><span class="code-text">[57615]: https://github.com/rust-lang/rust/pull/57615/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L856" href="#L856">856</a><span class="code-text">[cargo/6453]: https://github.com/rust-lang/cargo/pull/6453/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L857" href="#L857">857</a><span class="code-text">[cargo/6484]: https://github.com/rust-lang/cargo/pull/6484/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L858" href="#L858">858</a><span class="code-text">[`unix::FileExt::read_exact_at`]: https://doc.rust-lang.org/std/os/unix/fs/trait.FileExt.html#method.read_exact_at</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L859" href="#L859">859</a><span class="code-text">[`unix::FileExt::write_all_at`]: https://doc.rust-lang.org/std/os/unix/fs/trait.FileExt.html#method.write_all_at</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L860" href="#L860">860</a><span class="code-text">[`Option::transpose`]: https://doc.rust-lang.org/std/option/enum.Option.html#method.transpose</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L861" href="#L861">861</a><span class="code-text">[`Result::transpose`]: https://doc.rust-lang.org/std/result/enum.Result.html#method.transpose</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L862" href="#L862">862</a><span class="code-text">[`convert::identity`]: https://doc.rust-lang.org/std/convert/fn.identity.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L863" href="#L863">863</a><span class="code-text">[`pin::Pin`]: https://doc.rust-lang.org/std/pin/struct.Pin.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L864" href="#L864">864</a><span class="code-text">[`marker::Unpin`]: https://doc.rust-lang.org/stable/std/marker/trait.Unpin.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L865" href="#L865">865</a><span class="code-text">[`marker::PhantomPinned`]: https://doc.rust-lang.org/nightly/std/marker/struct.PhantomPinned.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L866" href="#L866">866</a><span class="code-text">[`Vec::resize_with`]: https://doc.rust-lang.org/std/vec/struct.Vec.html#method.resize_with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L867" href="#L867">867</a><span class="code-text">[`VecDeque::resize_with`]: https://doc.rust-lang.org/std/collections/struct.VecDeque.html#method.resize_with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L868" href="#L868">868</a><span class="code-text">[`Duration::as_millis`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_millis</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L869" href="#L869">869</a><span class="code-text">[`Duration::as_micros`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_micros</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L870" href="#L870">870</a><span class="code-text">[`Duration::as_nanos`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_nanos</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L871" href="#L871">871</a><span class="code-text">[platform-support]: https://forge.rust-lang.org/platform-support.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L872" href="#L872">872</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L873" href="#L873">873</a><span class="code-text">Version 1.32.0 (2019-01-17)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L874" href="#L874">874</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L875" href="#L875">875</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L876" href="#L876">876</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L877" href="#L877">877</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L878" href="#L878">878</a><span class="code-text">#### 2018 edition</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L879" href="#L879">879</a><span class="code-text">- [You can now use the `?` operator in macro definitions.][56245] The `?`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L880" href="#L880">880</a><span class="code-text">  operator allows you to specify zero or one repetitions similar to the `*` and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L881" href="#L881">881</a><span class="code-text">  `+` operators.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L882" href="#L882">882</a><span class="code-text">- [Module paths with no leading keyword like `super`, `self`, or `crate`, will</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L883" href="#L883">883</a><span class="code-text">  now always resolve to the item (`enum`, `struct`, etc.) available in the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L884" href="#L884">884</a><span class="code-text">  module if present, before resolving to a external crate or an item the prelude.][56759]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L885" href="#L885">885</a><span class="code-text">  E.g.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L886" href="#L886">886</a><span class="code-text">  ```rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L887" href="#L887">887</a><span class="code-text">  enum Color { Red, Green, Blue }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L888" href="#L888">888</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L889" href="#L889">889</a><span class="code-text">  use Color::*;</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L890" href="#L890">890</a><span class="code-text">  ```</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L891" href="#L891">891</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L892" href="#L892">892</a><span class="code-text">#### All editions</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L893" href="#L893">893</a><span class="code-text">- [You can now match against `PhantomData&lt;T&gt;` types.][55837]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L894" href="#L894">894</a><span class="code-text">- [You can now match against literals in macros with the `literal`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L895" href="#L895">895</a><span class="code-text">  specifier.][56072] This will match against a literal of any type.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L896" href="#L896">896</a><span class="code-text">  E.g. `1`, `'A'`, `&quot;Hello World&quot;`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L897" href="#L897">897</a><span class="code-text">- [Self can now be used as a constructor and pattern for unit and tuple structs.][56365] E.g.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L898" href="#L898">898</a><span class="code-text">  ```rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L899" href="#L899">899</a><span class="code-text">  struct Point(i32, i32);</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L900" href="#L900">900</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L901" href="#L901">901</a><span class="code-text">  impl Point {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L902" href="#L902">902</a><span class="code-text">      pub fn new(x: i32, y: i32) -&gt; Self {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L903" href="#L903">903</a><span class="code-text">          Self(x, y)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L904" href="#L904">904</a><span class="code-text">      }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L905" href="#L905">905</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L906" href="#L906">906</a><span class="code-text">      pub fn is_origin(&amp;self) -&gt; bool {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L907" href="#L907">907</a><span class="code-text">          match self {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L908" href="#L908">908</a><span class="code-text">              Self(0, 0) =&gt; true,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L909" href="#L909">909</a><span class="code-text">              _ =&gt; false,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L910" href="#L910">910</a><span class="code-text">          }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L911" href="#L911">911</a><span class="code-text">      }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L912" href="#L912">912</a><span class="code-text">  }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L913" href="#L913">913</a><span class="code-text">  ```</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L914" href="#L914">914</a><span class="code-text">- [Self can also now be used in type definitions.][56366] E.g.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L915" href="#L915">915</a><span class="code-text">  ```rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L916" href="#L916">916</a><span class="code-text">  enum List&lt;T&gt;</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L917" href="#L917">917</a><span class="code-text">  where</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L918" href="#L918">918</a><span class="code-text">      Self: PartialOrd&lt;Self&gt; // can write `Self` instead of `List&lt;T&gt;`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L919" href="#L919">919</a><span class="code-text">  {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L920" href="#L920">920</a><span class="code-text">      Nil,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L921" href="#L921">921</a><span class="code-text">      Cons(T, Box&lt;Self&gt;) // likewise here</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L922" href="#L922">922</a><span class="code-text">  }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L923" href="#L923">923</a><span class="code-text">  ```</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L924" href="#L924">924</a><span class="code-text">- [You can now mark traits with `#[must_use]`.][55663] This provides a warning if</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L925" href="#L925">925</a><span class="code-text">  a `impl Trait` or `dyn Trait` is returned and unused in the program.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L926" href="#L926">926</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L927" href="#L927">927</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L928" href="#L928">928</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L929" href="#L929">929</a><span class="code-text">- [The default allocator has changed from jemalloc to the default allocator on</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L930" href="#L930">930</a><span class="code-text">  your system.][55238] The compiler itself on Linux &amp; macOS will still use</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L931" href="#L931">931</a><span class="code-text">  jemalloc, but programs compiled with it will use the system allocator.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L932" href="#L932">932</a><span class="code-text">- [Added the `aarch64-pc-windows-msvc` target.][55702]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L933" href="#L933">933</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L934" href="#L934">934</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L935" href="#L935">935</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L936" href="#L936">936</a><span class="code-text">- [`PathBuf` now implements `FromStr`.][55148]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L937" href="#L937">937</a><span class="code-text">- [`Box&lt;[T]&gt;` now implements `FromIterator&lt;T&gt;`.][55843]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L938" href="#L938">938</a><span class="code-text">- [The `dbg!` macro has been stabilized.][56395] This macro enables you to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L939" href="#L939">939</a><span class="code-text">  easily debug expressions in your rust program. E.g.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L940" href="#L940">940</a><span class="code-text">  ```rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L941" href="#L941">941</a><span class="code-text">  let a = 2;</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L942" href="#L942">942</a><span class="code-text">  let b = dbg!(a * 2) + 1;</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L943" href="#L943">943</a><span class="code-text">  //      ^-- prints: [src/main.rs:4] a * 2 = 4</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L944" href="#L944">944</a><span class="code-text">  assert_eq!(b, 5);</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L945" href="#L945">945</a><span class="code-text">  ```</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L946" href="#L946">946</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L947" href="#L947">947</a><span class="code-text">The following APIs are now `const` functions and can be used in a</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L948" href="#L948">948</a><span class="code-text">`const` context.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L949" href="#L949">949</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L950" href="#L950">950</a><span class="code-text">- [`Cell::as_ptr`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L951" href="#L951">951</a><span class="code-text">- [`UnsafeCell::get`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L952" href="#L952">952</a><span class="code-text">- [`char::is_ascii`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L953" href="#L953">953</a><span class="code-text">- [`iter::empty`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L954" href="#L954">954</a><span class="code-text">- [`ManuallyDrop::new`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L955" href="#L955">955</a><span class="code-text">- [`ManuallyDrop::into_inner`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L956" href="#L956">956</a><span class="code-text">- [`RangeInclusive::start`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L957" href="#L957">957</a><span class="code-text">- [`RangeInclusive::end`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L958" href="#L958">958</a><span class="code-text">- [`NonNull::as_ptr`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L959" href="#L959">959</a><span class="code-text">- [`slice::as_ptr`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L960" href="#L960">960</a><span class="code-text">- [`str::as_ptr`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L961" href="#L961">961</a><span class="code-text">- [`Duration::as_secs`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L962" href="#L962">962</a><span class="code-text">- [`Duration::subsec_millis`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L963" href="#L963">963</a><span class="code-text">- [`Duration::subsec_micros`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L964" href="#L964">964</a><span class="code-text">- [`Duration::subsec_nanos`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L965" href="#L965">965</a><span class="code-text">- [`CStr::as_ptr`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L966" href="#L966">966</a><span class="code-text">- [`Ipv4Addr::is_unspecified`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L967" href="#L967">967</a><span class="code-text">- [`Ipv6Addr::new`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L968" href="#L968">968</a><span class="code-text">- [`Ipv6Addr::octets`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L969" href="#L969">969</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L970" href="#L970">970</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L971" href="#L971">971</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L972" href="#L972">972</a><span class="code-text">- [`i8::to_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L973" href="#L973">973</a><span class="code-text">- [`i8::to_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L974" href="#L974">974</a><span class="code-text">- [`i8::to_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L975" href="#L975">975</a><span class="code-text">- [`i8::from_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L976" href="#L976">976</a><span class="code-text">- [`i8::from_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L977" href="#L977">977</a><span class="code-text">- [`i8::from_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L978" href="#L978">978</a><span class="code-text">- [`i16::to_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L979" href="#L979">979</a><span class="code-text">- [`i16::to_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L980" href="#L980">980</a><span class="code-text">- [`i16::to_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L981" href="#L981">981</a><span class="code-text">- [`i16::from_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L982" href="#L982">982</a><span class="code-text">- [`i16::from_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L983" href="#L983">983</a><span class="code-text">- [`i16::from_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L984" href="#L984">984</a><span class="code-text">- [`i32::to_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L985" href="#L985">985</a><span class="code-text">- [`i32::to_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L986" href="#L986">986</a><span class="code-text">- [`i32::to_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L987" href="#L987">987</a><span class="code-text">- [`i32::from_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L988" href="#L988">988</a><span class="code-text">- [`i32::from_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L989" href="#L989">989</a><span class="code-text">- [`i32::from_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L990" href="#L990">990</a><span class="code-text">- [`i64::to_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L991" href="#L991">991</a><span class="code-text">- [`i64::to_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L992" href="#L992">992</a><span class="code-text">- [`i64::to_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L993" href="#L993">993</a><span class="code-text">- [`i64::from_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L994" href="#L994">994</a><span class="code-text">- [`i64::from_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L995" href="#L995">995</a><span class="code-text">- [`i64::from_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L996" href="#L996">996</a><span class="code-text">- [`i128::to_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L997" href="#L997">997</a><span class="code-text">- [`i128::to_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L998" href="#L998">998</a><span class="code-text">- [`i128::to_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L999" href="#L999">999</a><span class="code-text">- [`i128::from_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1000" href="#L1000">1000</a><span class="code-text">- [`i128::from_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1001" href="#L1001">1001</a><span class="code-text">- [`i128::from_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1002" href="#L1002">1002</a><span class="code-text">- [`isize::to_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1003" href="#L1003">1003</a><span class="code-text">- [`isize::to_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1004" href="#L1004">1004</a><span class="code-text">- [`isize::to_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1005" href="#L1005">1005</a><span class="code-text">- [`isize::from_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1006" href="#L1006">1006</a><span class="code-text">- [`isize::from_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1007" href="#L1007">1007</a><span class="code-text">- [`isize::from_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1008" href="#L1008">1008</a><span class="code-text">- [`u8::to_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1009" href="#L1009">1009</a><span class="code-text">- [`u8::to_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1010" href="#L1010">1010</a><span class="code-text">- [`u8::to_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1011" href="#L1011">1011</a><span class="code-text">- [`u8::from_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1012" href="#L1012">1012</a><span class="code-text">- [`u8::from_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1013" href="#L1013">1013</a><span class="code-text">- [`u8::from_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1014" href="#L1014">1014</a><span class="code-text">- [`u16::to_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1015" href="#L1015">1015</a><span class="code-text">- [`u16::to_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1016" href="#L1016">1016</a><span class="code-text">- [`u16::to_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1017" href="#L1017">1017</a><span class="code-text">- [`u16::from_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1018" href="#L1018">1018</a><span class="code-text">- [`u16::from_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1019" href="#L1019">1019</a><span class="code-text">- [`u16::from_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1020" href="#L1020">1020</a><span class="code-text">- [`u32::to_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1021" href="#L1021">1021</a><span class="code-text">- [`u32::to_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1022" href="#L1022">1022</a><span class="code-text">- [`u32::to_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1023" href="#L1023">1023</a><span class="code-text">- [`u32::from_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1024" href="#L1024">1024</a><span class="code-text">- [`u32::from_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1025" href="#L1025">1025</a><span class="code-text">- [`u32::from_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1026" href="#L1026">1026</a><span class="code-text">- [`u64::to_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1027" href="#L1027">1027</a><span class="code-text">- [`u64::to_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1028" href="#L1028">1028</a><span class="code-text">- [`u64::to_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1029" href="#L1029">1029</a><span class="code-text">- [`u64::from_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1030" href="#L1030">1030</a><span class="code-text">- [`u64::from_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1031" href="#L1031">1031</a><span class="code-text">- [`u64::from_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1032" href="#L1032">1032</a><span class="code-text">- [`u128::to_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1033" href="#L1033">1033</a><span class="code-text">- [`u128::to_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1034" href="#L1034">1034</a><span class="code-text">- [`u128::to_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1035" href="#L1035">1035</a><span class="code-text">- [`u128::from_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1036" href="#L1036">1036</a><span class="code-text">- [`u128::from_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1037" href="#L1037">1037</a><span class="code-text">- [`u128::from_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1038" href="#L1038">1038</a><span class="code-text">- [`usize::to_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1039" href="#L1039">1039</a><span class="code-text">- [`usize::to_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1040" href="#L1040">1040</a><span class="code-text">- [`usize::to_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1041" href="#L1041">1041</a><span class="code-text">- [`usize::from_be_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1042" href="#L1042">1042</a><span class="code-text">- [`usize::from_le_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1043" href="#L1043">1043</a><span class="code-text">- [`usize::from_ne_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1044" href="#L1044">1044</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1045" href="#L1045">1045</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1046" href="#L1046">1046</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1047" href="#L1047">1047</a><span class="code-text">- [You can now run `cargo c` as an alias for `cargo check`.][cargo/6218]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1048" href="#L1048">1048</a><span class="code-text">- [Usernames are now allowed in alt registry URLs.][cargo/6242]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1049" href="#L1049">1049</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1050" href="#L1050">1050</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1051" href="#L1051">1051</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1052" href="#L1052">1052</a><span class="code-text">- [`libproc_macro` has been added to the `rust-src` distribution.][55280]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1053" href="#L1053">1053</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1054" href="#L1054">1054</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1055" href="#L1055">1055</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1056" href="#L1056">1056</a><span class="code-text">- [The argument types for AVX's</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1057" href="#L1057">1057</a><span class="code-text">  `_mm256_stream_si256`, `_mm256_stream_pd`, `_mm256_stream_ps`][55610] have</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1058" href="#L1058">1058</a><span class="code-text">  been changed from `*const` to `*mut` as the previous implementation</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1059" href="#L1059">1059</a><span class="code-text">  was unsound.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1060" href="#L1060">1060</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1061" href="#L1061">1061</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1062" href="#L1062">1062</a><span class="code-text">[55148]: https://github.com/rust-lang/rust/pull/55148/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1063" href="#L1063">1063</a><span class="code-text">[55238]: https://github.com/rust-lang/rust/pull/55238/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1064" href="#L1064">1064</a><span class="code-text">[55280]: https://github.com/rust-lang/rust/pull/55280/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1065" href="#L1065">1065</a><span class="code-text">[55610]: https://github.com/rust-lang/rust/pull/55610/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1066" href="#L1066">1066</a><span class="code-text">[55663]: https://github.com/rust-lang/rust/pull/55663/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1067" href="#L1067">1067</a><span class="code-text">[55702]: https://github.com/rust-lang/rust/pull/55702/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1068" href="#L1068">1068</a><span class="code-text">[55837]: https://github.com/rust-lang/rust/pull/55837/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1069" href="#L1069">1069</a><span class="code-text">[55843]: https://github.com/rust-lang/rust/pull/55843/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1070" href="#L1070">1070</a><span class="code-text">[56072]: https://github.com/rust-lang/rust/pull/56072/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1071" href="#L1071">1071</a><span class="code-text">[56245]: https://github.com/rust-lang/rust/pull/56245/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1072" href="#L1072">1072</a><span class="code-text">[56365]: https://github.com/rust-lang/rust/pull/56365/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1073" href="#L1073">1073</a><span class="code-text">[56366]: https://github.com/rust-lang/rust/pull/56366/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1074" href="#L1074">1074</a><span class="code-text">[56395]: https://github.com/rust-lang/rust/pull/56395/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1075" href="#L1075">1075</a><span class="code-text">[56759]: https://github.com/rust-lang/rust/pull/56759/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1076" href="#L1076">1076</a><span class="code-text">[cargo/6218]: https://github.com/rust-lang/cargo/pull/6218/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1077" href="#L1077">1077</a><span class="code-text">[cargo/6242]: https://github.com/rust-lang/cargo/pull/6242/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1078" href="#L1078">1078</a><span class="code-text">[`CStr::as_ptr`]: https://doc.rust-lang.org/std/ffi/struct.CStr.html#method.as_ptr</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1079" href="#L1079">1079</a><span class="code-text">[`Cell::as_ptr`]: https://doc.rust-lang.org/std/cell/struct.Cell.html#method.as_ptr</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1080" href="#L1080">1080</a><span class="code-text">[`Duration::as_secs`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_secs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1081" href="#L1081">1081</a><span class="code-text">[`Duration::subsec_micros`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.subsec_micros</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1082" href="#L1082">1082</a><span class="code-text">[`Duration::subsec_millis`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.subsec_millis</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1083" href="#L1083">1083</a><span class="code-text">[`Duration::subsec_nanos`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.subsec_nanos</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1084" href="#L1084">1084</a><span class="code-text">[`Ipv4Addr::is_unspecified`]: https://doc.rust-lang.org/std/net/struct.Ipv4Addr.html#method.is_unspecified</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1085" href="#L1085">1085</a><span class="code-text">[`Ipv6Addr::new`]: https://doc.rust-lang.org/std/net/struct.Ipv6Addr.html#method.new</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1086" href="#L1086">1086</a><span class="code-text">[`Ipv6Addr::octets`]: https://doc.rust-lang.org/std/net/struct.Ipv6Addr.html#method.octets</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1087" href="#L1087">1087</a><span class="code-text">[`ManuallyDrop::into_inner`]: https://doc.rust-lang.org/std/mem/struct.ManuallyDrop.html#method.into_inner</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1088" href="#L1088">1088</a><span class="code-text">[`ManuallyDrop::new`]: https://doc.rust-lang.org/std/mem/struct.ManuallyDrop.html#method.new</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1089" href="#L1089">1089</a><span class="code-text">[`NonNull::as_ptr`]: https://doc.rust-lang.org/std/ptr/struct.NonNull.html#method.as_ptr</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1090" href="#L1090">1090</a><span class="code-text">[`RangeInclusive::end`]: https://doc.rust-lang.org/std/ops/struct.RangeInclusive.html#method.end</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1091" href="#L1091">1091</a><span class="code-text">[`RangeInclusive::start`]: https://doc.rust-lang.org/std/ops/struct.RangeInclusive.html#method.start</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1092" href="#L1092">1092</a><span class="code-text">[`UnsafeCell::get`]: https://doc.rust-lang.org/std/cell/struct.UnsafeCell.html#method.get</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1093" href="#L1093">1093</a><span class="code-text">[`slice::as_ptr`]: https://doc.rust-lang.org/std/primitive.slice.html#method.as_ptr</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1094" href="#L1094">1094</a><span class="code-text">[`char::is_ascii`]: https://doc.rust-lang.org/std/primitive.char.html#method.is_ascii</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1095" href="#L1095">1095</a><span class="code-text">[`i128::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i128.html#method.from_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1096" href="#L1096">1096</a><span class="code-text">[`i128::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i128.html#method.from_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1097" href="#L1097">1097</a><span class="code-text">[`i128::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i128.html#method.from_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1098" href="#L1098">1098</a><span class="code-text">[`i128::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i128.html#method.to_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1099" href="#L1099">1099</a><span class="code-text">[`i128::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i128.html#method.to_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1100" href="#L1100">1100</a><span class="code-text">[`i128::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i128.html#method.to_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1101" href="#L1101">1101</a><span class="code-text">[`i16::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i16.html#method.from_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1102" href="#L1102">1102</a><span class="code-text">[`i16::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i16.html#method.from_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1103" href="#L1103">1103</a><span class="code-text">[`i16::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i16.html#method.from_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1104" href="#L1104">1104</a><span class="code-text">[`i16::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i16.html#method.to_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1105" href="#L1105">1105</a><span class="code-text">[`i16::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i16.html#method.to_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1106" href="#L1106">1106</a><span class="code-text">[`i16::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i16.html#method.to_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1107" href="#L1107">1107</a><span class="code-text">[`i32::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i32.html#method.from_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1108" href="#L1108">1108</a><span class="code-text">[`i32::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i32.html#method.from_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1109" href="#L1109">1109</a><span class="code-text">[`i32::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i32.html#method.from_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1110" href="#L1110">1110</a><span class="code-text">[`i32::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i32.html#method.to_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1111" href="#L1111">1111</a><span class="code-text">[`i32::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i32.html#method.to_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1112" href="#L1112">1112</a><span class="code-text">[`i32::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i32.html#method.to_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1113" href="#L1113">1113</a><span class="code-text">[`i64::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i64.html#method.from_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1114" href="#L1114">1114</a><span class="code-text">[`i64::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i64.html#method.from_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1115" href="#L1115">1115</a><span class="code-text">[`i64::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i64.html#method.from_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1116" href="#L1116">1116</a><span class="code-text">[`i64::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i64.html#method.to_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1117" href="#L1117">1117</a><span class="code-text">[`i64::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i64.html#method.to_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1118" href="#L1118">1118</a><span class="code-text">[`i64::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i64.html#method.to_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1119" href="#L1119">1119</a><span class="code-text">[`i8::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i8.html#method.from_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1120" href="#L1120">1120</a><span class="code-text">[`i8::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i8.html#method.from_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1121" href="#L1121">1121</a><span class="code-text">[`i8::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i8.html#method.from_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1122" href="#L1122">1122</a><span class="code-text">[`i8::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i8.html#method.to_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1123" href="#L1123">1123</a><span class="code-text">[`i8::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i8.html#method.to_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1124" href="#L1124">1124</a><span class="code-text">[`i8::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.i8.html#method.to_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1125" href="#L1125">1125</a><span class="code-text">[`isize::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.isize.html#method.from_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1126" href="#L1126">1126</a><span class="code-text">[`isize::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.isize.html#method.from_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1127" href="#L1127">1127</a><span class="code-text">[`isize::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.isize.html#method.from_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1128" href="#L1128">1128</a><span class="code-text">[`isize::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.isize.html#method.to_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1129" href="#L1129">1129</a><span class="code-text">[`isize::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.isize.html#method.to_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1130" href="#L1130">1130</a><span class="code-text">[`isize::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.isize.html#method.to_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1131" href="#L1131">1131</a><span class="code-text">[`iter::empty`]: https://doc.rust-lang.org/std/iter/fn.empty.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1132" href="#L1132">1132</a><span class="code-text">[`str::as_ptr`]: https://doc.rust-lang.org/std/primitive.str.html#method.as_ptr</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1133" href="#L1133">1133</a><span class="code-text">[`u128::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u128.html#method.from_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1134" href="#L1134">1134</a><span class="code-text">[`u128::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u128.html#method.from_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1135" href="#L1135">1135</a><span class="code-text">[`u128::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u128.html#method.from_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1136" href="#L1136">1136</a><span class="code-text">[`u128::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u128.html#method.to_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1137" href="#L1137">1137</a><span class="code-text">[`u128::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u128.html#method.to_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1138" href="#L1138">1138</a><span class="code-text">[`u128::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u128.html#method.to_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1139" href="#L1139">1139</a><span class="code-text">[`u16::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u16.html#method.from_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1140" href="#L1140">1140</a><span class="code-text">[`u16::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u16.html#method.from_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1141" href="#L1141">1141</a><span class="code-text">[`u16::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u16.html#method.from_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1142" href="#L1142">1142</a><span class="code-text">[`u16::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u16.html#method.to_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1143" href="#L1143">1143</a><span class="code-text">[`u16::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u16.html#method.to_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1144" href="#L1144">1144</a><span class="code-text">[`u16::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u16.html#method.to_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1145" href="#L1145">1145</a><span class="code-text">[`u32::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u32.html#method.from_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1146" href="#L1146">1146</a><span class="code-text">[`u32::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u32.html#method.from_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1147" href="#L1147">1147</a><span class="code-text">[`u32::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u32.html#method.from_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1148" href="#L1148">1148</a><span class="code-text">[`u32::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u32.html#method.to_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1149" href="#L1149">1149</a><span class="code-text">[`u32::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u32.html#method.to_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1150" href="#L1150">1150</a><span class="code-text">[`u32::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u32.html#method.to_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1151" href="#L1151">1151</a><span class="code-text">[`u64::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u64.html#method.from_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1152" href="#L1152">1152</a><span class="code-text">[`u64::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u64.html#method.from_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1153" href="#L1153">1153</a><span class="code-text">[`u64::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u64.html#method.from_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1154" href="#L1154">1154</a><span class="code-text">[`u64::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u64.html#method.to_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1155" href="#L1155">1155</a><span class="code-text">[`u64::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u64.html#method.to_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1156" href="#L1156">1156</a><span class="code-text">[`u64::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u64.html#method.to_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1157" href="#L1157">1157</a><span class="code-text">[`u8::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u8.html#method.from_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1158" href="#L1158">1158</a><span class="code-text">[`u8::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u8.html#method.from_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1159" href="#L1159">1159</a><span class="code-text">[`u8::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u8.html#method.from_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1160" href="#L1160">1160</a><span class="code-text">[`u8::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u8.html#method.to_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1161" href="#L1161">1161</a><span class="code-text">[`u8::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u8.html#method.to_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1162" href="#L1162">1162</a><span class="code-text">[`u8::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.u8.html#method.to_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1163" href="#L1163">1163</a><span class="code-text">[`usize::from_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.usize.html#method.from_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1164" href="#L1164">1164</a><span class="code-text">[`usize::from_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.usize.html#method.from_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1165" href="#L1165">1165</a><span class="code-text">[`usize::from_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.usize.html#method.from_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1166" href="#L1166">1166</a><span class="code-text">[`usize::to_be_bytes`]: https://doc.rust-lang.org/stable/std/primitive.usize.html#method.to_be_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1167" href="#L1167">1167</a><span class="code-text">[`usize::to_le_bytes`]: https://doc.rust-lang.org/stable/std/primitive.usize.html#method.to_le_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1168" href="#L1168">1168</a><span class="code-text">[`usize::to_ne_bytes`]: https://doc.rust-lang.org/stable/std/primitive.usize.html#method.to_ne_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1169" href="#L1169">1169</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1170" href="#L1170">1170</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1171" href="#L1171">1171</a><span class="code-text">Version 1.31.1 (2018-12-20)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1172" href="#L1172">1172</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1173" href="#L1173">1173</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1174" href="#L1174">1174</a><span class="code-text">- [Fix Rust failing to build on `powerpc-unknown-netbsd`][56562]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1175" href="#L1175">1175</a><span class="code-text">- [Fix broken go-to-definition in RLS][rls/1171]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1176" href="#L1176">1176</a><span class="code-text">- [Fix infinite loop on hover in RLS][rls/1170]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1177" href="#L1177">1177</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1178" href="#L1178">1178</a><span class="code-text">[56562]: https://github.com/rust-lang/rust/pull/56562</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1179" href="#L1179">1179</a><span class="code-text">[rls/1171]: https://github.com/rust-lang/rls/issues/1171</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1180" href="#L1180">1180</a><span class="code-text">[rls/1170]: https://github.com/rust-lang/rls/pull/1170</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1181" href="#L1181">1181</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1182" href="#L1182">1182</a><span class="code-text">Version 1.31.0 (2018-12-06)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1183" href="#L1183">1183</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1184" href="#L1184">1184</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1185" href="#L1185">1185</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1186" href="#L1186">1186</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1187" href="#L1187">1187</a><span class="code-text">- 🎉 [This version marks the release of the 2018 edition of Rust.][54057] 🎉</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1188" href="#L1188">1188</a><span class="code-text">- [New lifetime elision rules now allow for eliding lifetimes in functions and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1189" href="#L1189">1189</a><span class="code-text">  impl headers.][54778] E.g. `impl&lt;'a&gt; Reader for BufReader&lt;'a&gt; {}` can now be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1190" href="#L1190">1190</a><span class="code-text">  `impl Reader for BufReader&lt;'_&gt; {}`. Lifetimes are still required to be defined</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1191" href="#L1191">1191</a><span class="code-text">  in structs.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1192" href="#L1192">1192</a><span class="code-text">- [You can now define and use `const` functions.][54835] These are currently</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1193" href="#L1193">1193</a><span class="code-text">  a strict minimal subset of the [const fn RFC][RFC-911]. Refer to the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1194" href="#L1194">1194</a><span class="code-text">  [language reference][const-reference] for what exactly is available.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1195" href="#L1195">1195</a><span class="code-text">- [You can now use tool lints, which allow you to scope lints from external</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1196" href="#L1196">1196</a><span class="code-text">  tools using attributes.][54870] E.g. `#[allow(clippy::filter_map)]`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1197" href="#L1197">1197</a><span class="code-text">- [`#[no_mangle]` and `#[export_name]` attributes can now be located anywhere in</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1198" href="#L1198">1198</a><span class="code-text">  a crate, not just in exported functions.][54451]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1199" href="#L1199">1199</a><span class="code-text">- [You can now use parentheses in pattern matches.][54497]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1200" href="#L1200">1200</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1201" href="#L1201">1201</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1202" href="#L1202">1202</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1203" href="#L1203">1203</a><span class="code-text">- [Updated musl to 1.1.20][54430]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1204" href="#L1204">1204</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1205" href="#L1205">1205</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1206" href="#L1206">1206</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1207" href="#L1207">1207</a><span class="code-text">- [You can now convert `num::NonZero*` types to their raw equivalents using the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1208" href="#L1208">1208</a><span class="code-text">  `From` trait.][54240] E.g. `u8` now implements `From&lt;NonZeroU8&gt;`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1209" href="#L1209">1209</a><span class="code-text">- [You can now convert a `&amp;Option&lt;T&gt;` into `Option&lt;&amp;T&gt;` and `&amp;mut Option&lt;T&gt;`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1210" href="#L1210">1210</a><span class="code-text">  into `Option&lt;&amp;mut T&gt;` using the `From` trait.][53218]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1211" href="#L1211">1211</a><span class="code-text">- [You can now multiply (`*`) a `time::Duration` by a `u32`.][52813]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1212" href="#L1212">1212</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1213" href="#L1213">1213</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1214" href="#L1214">1214</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1215" href="#L1215">1215</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1216" href="#L1216">1216</a><span class="code-text">- [`slice::align_to`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1217" href="#L1217">1217</a><span class="code-text">- [`slice::align_to_mut`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1218" href="#L1218">1218</a><span class="code-text">- [`slice::chunks_exact`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1219" href="#L1219">1219</a><span class="code-text">- [`slice::chunks_exact_mut`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1220" href="#L1220">1220</a><span class="code-text">- [`slice::rchunks`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1221" href="#L1221">1221</a><span class="code-text">- [`slice::rchunks_mut`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1222" href="#L1222">1222</a><span class="code-text">- [`slice::rchunks_exact`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1223" href="#L1223">1223</a><span class="code-text">- [`slice::rchunks_exact_mut`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1224" href="#L1224">1224</a><span class="code-text">- [`Option::replace`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1225" href="#L1225">1225</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1226" href="#L1226">1226</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1227" href="#L1227">1227</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1228" href="#L1228">1228</a><span class="code-text">- [Cargo will now download crates in parallel using HTTP/2.][cargo/6005]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1229" href="#L1229">1229</a><span class="code-text">- [You can now rename packages in your Cargo.toml][cargo/6319] We have a guide</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1230" href="#L1230">1230</a><span class="code-text">  on [how to use the `package` key in your dependencies.][cargo-rename-reference]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1231" href="#L1231">1231</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1232" href="#L1232">1232</a><span class="code-text">[52813]: https://github.com/rust-lang/rust/pull/52813/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1233" href="#L1233">1233</a><span class="code-text">[53218]: https://github.com/rust-lang/rust/pull/53218/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1234" href="#L1234">1234</a><span class="code-text">[53555]: https://github.com/rust-lang/rust/issues/53555/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1235" href="#L1235">1235</a><span class="code-text">[54057]: https://github.com/rust-lang/rust/pull/54057/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1236" href="#L1236">1236</a><span class="code-text">[54240]: https://github.com/rust-lang/rust/pull/54240/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1237" href="#L1237">1237</a><span class="code-text">[54430]: https://github.com/rust-lang/rust/pull/54430/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1238" href="#L1238">1238</a><span class="code-text">[54451]: https://github.com/rust-lang/rust/pull/54451/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1239" href="#L1239">1239</a><span class="code-text">[54497]: https://github.com/rust-lang/rust/pull/54497/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1240" href="#L1240">1240</a><span class="code-text">[54778]: https://github.com/rust-lang/rust/pull/54778/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1241" href="#L1241">1241</a><span class="code-text">[54835]: https://github.com/rust-lang/rust/pull/54835/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1242" href="#L1242">1242</a><span class="code-text">[54870]: https://github.com/rust-lang/rust/pull/54870/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1243" href="#L1243">1243</a><span class="code-text">[RFC-911]: https://github.com/rust-lang/rfcs/pull/911</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1244" href="#L1244">1244</a><span class="code-text">[`Option::replace`]: https://doc.rust-lang.org/std/option/enum.Option.html#method.replace</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1245" href="#L1245">1245</a><span class="code-text">[`slice::align_to_mut`]: https://doc.rust-lang.org/std/primitive.slice.html#method.align_to_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1246" href="#L1246">1246</a><span class="code-text">[`slice::align_to`]: https://doc.rust-lang.org/std/primitive.slice.html#method.align_to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1247" href="#L1247">1247</a><span class="code-text">[`slice::chunks_exact_mut`]: https://doc.rust-lang.org/std/primitive.slice.html#method.chunks_exact_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1248" href="#L1248">1248</a><span class="code-text">[`slice::chunks_exact`]: https://doc.rust-lang.org/std/primitive.slice.html#method.chunks_exact</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1249" href="#L1249">1249</a><span class="code-text">[`slice::rchunks_exact_mut`]: https://doc.rust-lang.org/std/primitive.slice.html#method.rchunks_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1250" href="#L1250">1250</a><span class="code-text">[`slice::rchunks_exact`]: https://doc.rust-lang.org/std/primitive.slice.html#method.rchunks_exact</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1251" href="#L1251">1251</a><span class="code-text">[`slice::rchunks_mut`]: https://doc.rust-lang.org/std/primitive.slice.html#method.rchunks_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1252" href="#L1252">1252</a><span class="code-text">[`slice::rchunks`]: https://doc.rust-lang.org/std/primitive.slice.html#method.rchunks</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1253" href="#L1253">1253</a><span class="code-text">[cargo/6005]: https://github.com/rust-lang/cargo/pull/6005/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1254" href="#L1254">1254</a><span class="code-text">[cargo/6319]: https://github.com/rust-lang/cargo/pull/6319/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1255" href="#L1255">1255</a><span class="code-text">[cargo-rename-reference]: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#renaming-dependencies-in-cargotoml</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1256" href="#L1256">1256</a><span class="code-text">[const-reference]: https://doc.rust-lang.org/reference/items/functions.html#const-functions</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1257" href="#L1257">1257</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1258" href="#L1258">1258</a><span class="code-text">Version 1.30.1 (2018-11-08)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1259" href="#L1259">1259</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1260" href="#L1260">1260</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1261" href="#L1261">1261</a><span class="code-text">- [Fixed overflow ICE in rustdoc][54199]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1262" href="#L1262">1262</a><span class="code-text">- [Cap Cargo progress bar width at 60 in MSYS terminals][cargo/6122]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1263" href="#L1263">1263</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1264" href="#L1264">1264</a><span class="code-text">[54199]: https://github.com/rust-lang/rust/pull/54199</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1265" href="#L1265">1265</a><span class="code-text">[cargo/6122]: https://github.com/rust-lang/cargo/pull/6122</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1266" href="#L1266">1266</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1267" href="#L1267">1267</a><span class="code-text">Version 1.30.0 (2018-10-25)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1268" href="#L1268">1268</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1269" href="#L1269">1269</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1270" href="#L1270">1270</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1271" href="#L1271">1271</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1272" href="#L1272">1272</a><span class="code-text">- [Procedural macros are now available.][52081] These kinds of macros allow for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1273" href="#L1273">1273</a><span class="code-text">  more powerful code generation. There is a [new chapter available][proc-macros]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1274" href="#L1274">1274</a><span class="code-text">  in the Rust Programming Language book that goes further in depth.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1275" href="#L1275">1275</a><span class="code-text">- [You can now use keywords as identifiers using the raw identifiers</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1276" href="#L1276">1276</a><span class="code-text">  syntax (`r#`),][53236] e.g. `let r#for = true;`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1277" href="#L1277">1277</a><span class="code-text">- [Using anonymous parameters in traits is now deprecated with a warning and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1278" href="#L1278">1278</a><span class="code-text">  will be a hard error in the 2018 edition.][53272]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1279" href="#L1279">1279</a><span class="code-text">- [You can now use `crate` in paths.][54404] This allows you to refer to the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1280" href="#L1280">1280</a><span class="code-text">  crate root in the path, e.g. `use crate::foo;` refers to `foo` in `src/lib.rs`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1281" href="#L1281">1281</a><span class="code-text">- [Using a external crate no longer requires being prefixed with `::`.][54404]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1282" href="#L1282">1282</a><span class="code-text">  Previously, using a external crate in a module without a use statement</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1283" href="#L1283">1283</a><span class="code-text">  required `let json = ::serde_json::from_str(foo);` but can now be written</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1284" href="#L1284">1284</a><span class="code-text">  as `let json = serde_json::from_str(foo);`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1285" href="#L1285">1285</a><span class="code-text">- [You can now apply the `#[used]` attribute to static items to prevent the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1286" href="#L1286">1286</a><span class="code-text">  compiler from optimising them away, even if they appear to be unused,][51363]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1287" href="#L1287">1287</a><span class="code-text">  e.g. `#[used] static FOO: u32 = 1;`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1288" href="#L1288">1288</a><span class="code-text">- [You can now import and reexport macros from other crates with the `use`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1289" href="#L1289">1289</a><span class="code-text">  syntax.][50911] Macros exported with `#[macro_export]` are now placed into</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1290" href="#L1290">1290</a><span class="code-text">  the root module of the crate. If your macro relies on calling other local</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1291" href="#L1291">1291</a><span class="code-text">  macros, it is recommended to export with the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1292" href="#L1292">1292</a><span class="code-text">  `#[macro_export(local_inner_macros)]` attribute so users won't have to import</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1293" href="#L1293">1293</a><span class="code-text">  those macros.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1294" href="#L1294">1294</a><span class="code-text">- [You can now catch visibility keywords (e.g. `pub`, `pub(crate)`) in macros</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1295" href="#L1295">1295</a><span class="code-text">  using the `vis` specifier.][53370]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1296" href="#L1296">1296</a><span class="code-text">- [Non-macro attributes now allow all forms of literals, not just</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1297" href="#L1297">1297</a><span class="code-text">  strings.][53044] Previously, you would write `#[attr(&quot;true&quot;)]`, and you can now</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1298" href="#L1298">1298</a><span class="code-text">  write `#[attr(true)]`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1299" href="#L1299">1299</a><span class="code-text">- [You can now specify a function to handle a panic in the Rust runtime with the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1300" href="#L1300">1300</a><span class="code-text">  `#[panic_handler]` attribute.][51366]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1301" href="#L1301">1301</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1302" href="#L1302">1302</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1303" href="#L1303">1303</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1304" href="#L1304">1304</a><span class="code-text">- [Added the `riscv32imc-unknown-none-elf` target.][53822]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1305" href="#L1305">1305</a><span class="code-text">- [Added the `aarch64-unknown-netbsd` target][53165]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1306" href="#L1306">1306</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1307" href="#L1307">1307</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1308" href="#L1308">1308</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1309" href="#L1309">1309</a><span class="code-text">- [`ManuallyDrop` now allows the inner type to be unsized.][53033]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1310" href="#L1310">1310</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1311" href="#L1311">1311</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1312" href="#L1312">1312</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1313" href="#L1313">1313</a><span class="code-text">- [`Ipv4Addr::BROADCAST`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1314" href="#L1314">1314</a><span class="code-text">- [`Ipv4Addr::LOCALHOST`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1315" href="#L1315">1315</a><span class="code-text">- [`Ipv4Addr::UNSPECIFIED`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1316" href="#L1316">1316</a><span class="code-text">- [`Ipv6Addr::LOCALHOST`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1317" href="#L1317">1317</a><span class="code-text">- [`Ipv6Addr::UNSPECIFIED`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1318" href="#L1318">1318</a><span class="code-text">- [`Iterator::find_map`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1319" href="#L1319">1319</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1320" href="#L1320">1320</a><span class="code-text">  The following methods are replacement methods for `trim_left`, `trim_right`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1321" href="#L1321">1321</a><span class="code-text">  `trim_left_matches`, and `trim_right_matches`, which will be deprecated</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1322" href="#L1322">1322</a><span class="code-text">  in 1.33.0:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1323" href="#L1323">1323</a><span class="code-text">- [`str::trim_end_matches`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1324" href="#L1324">1324</a><span class="code-text">- [`str::trim_end`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1325" href="#L1325">1325</a><span class="code-text">- [`str::trim_start_matches`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1326" href="#L1326">1326</a><span class="code-text">- [`str::trim_start`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1327" href="#L1327">1327</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1328" href="#L1328">1328</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1329" href="#L1329">1329</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1330" href="#L1330">1330</a><span class="code-text">- [`cargo run` doesn't require specifying a package in workspaces.][cargo/5877]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1331" href="#L1331">1331</a><span class="code-text">- [`cargo doc` now supports `--message-format=json`.][cargo/5878] This is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1332" href="#L1332">1332</a><span class="code-text">  equivalent to calling `rustdoc --error-format=json`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1333" href="#L1333">1333</a><span class="code-text">- [Cargo will now provide a progress bar for builds.][cargo/5995]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1334" href="#L1334">1334</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1335" href="#L1335">1335</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1336" href="#L1336">1336</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1337" href="#L1337">1337</a><span class="code-text">- [`rustdoc` allows you to specify what edition to treat your code as with the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1338" href="#L1338">1338</a><span class="code-text">  `--edition` option.][54057]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1339" href="#L1339">1339</a><span class="code-text">- [`rustdoc` now has the `--color` (specify whether to output color) and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1340" href="#L1340">1340</a><span class="code-text">  `--error-format` (specify error format, e.g. `json`) options.][53003]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1341" href="#L1341">1341</a><span class="code-text">- [We now distribute a `rust-gdbgui` script that invokes `gdbgui` with Rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1342" href="#L1342">1342</a><span class="code-text">  debug symbols.][53774]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1343" href="#L1343">1343</a><span class="code-text">- [Attributes from Rust tools such as `rustfmt` or `clippy` are now</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1344" href="#L1344">1344</a><span class="code-text">  available,][53459] e.g. `#[rustfmt::skip]` will skip formatting the next item.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1345" href="#L1345">1345</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1346" href="#L1346">1346</a><span class="code-text">[50911]: https://github.com/rust-lang/rust/pull/50911/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1347" href="#L1347">1347</a><span class="code-text">[51363]: https://github.com/rust-lang/rust/pull/51363/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1348" href="#L1348">1348</a><span class="code-text">[51366]: https://github.com/rust-lang/rust/pull/51366/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1349" href="#L1349">1349</a><span class="code-text">[52081]: https://github.com/rust-lang/rust/pull/52081/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1350" href="#L1350">1350</a><span class="code-text">[53003]: https://github.com/rust-lang/rust/pull/53003/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1351" href="#L1351">1351</a><span class="code-text">[53033]: https://github.com/rust-lang/rust/pull/53033/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1352" href="#L1352">1352</a><span class="code-text">[53044]: https://github.com/rust-lang/rust/pull/53044/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1353" href="#L1353">1353</a><span class="code-text">[53165]: https://github.com/rust-lang/rust/pull/53165/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1354" href="#L1354">1354</a><span class="code-text">[53213]: https://github.com/rust-lang/rust/pull/53213/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1355" href="#L1355">1355</a><span class="code-text">[53236]: https://github.com/rust-lang/rust/pull/53236/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1356" href="#L1356">1356</a><span class="code-text">[53272]: https://github.com/rust-lang/rust/pull/53272/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1357" href="#L1357">1357</a><span class="code-text">[53370]: https://github.com/rust-lang/rust/pull/53370/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1358" href="#L1358">1358</a><span class="code-text">[53459]: https://github.com/rust-lang/rust/pull/53459/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1359" href="#L1359">1359</a><span class="code-text">[53774]: https://github.com/rust-lang/rust/pull/53774/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1360" href="#L1360">1360</a><span class="code-text">[53822]: https://github.com/rust-lang/rust/pull/53822/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1361" href="#L1361">1361</a><span class="code-text">[54057]: https://github.com/rust-lang/rust/pull/54057/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1362" href="#L1362">1362</a><span class="code-text">[54146]: https://github.com/rust-lang/rust/pull/54146/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1363" href="#L1363">1363</a><span class="code-text">[54404]: https://github.com/rust-lang/rust/pull/54404/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1364" href="#L1364">1364</a><span class="code-text">[cargo/5877]: https://github.com/rust-lang/cargo/pull/5877/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1365" href="#L1365">1365</a><span class="code-text">[cargo/5878]: https://github.com/rust-lang/cargo/pull/5878/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1366" href="#L1366">1366</a><span class="code-text">[cargo/5995]: https://github.com/rust-lang/cargo/pull/5995/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1367" href="#L1367">1367</a><span class="code-text">[proc-macros]: https://doc.rust-lang.org/nightly/book/2018-edition/ch19-06-macros.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1368" href="#L1368">1368</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1369" href="#L1369">1369</a><span class="code-text">[`Ipv4Addr::BROADCAST`]: https://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#associatedconstant.BROADCAST</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1370" href="#L1370">1370</a><span class="code-text">[`Ipv4Addr::LOCALHOST`]: https://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#associatedconstant.LOCALHOST</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1371" href="#L1371">1371</a><span class="code-text">[`Ipv4Addr::UNSPECIFIED`]: https://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#associatedconstant.UNSPECIFIED</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1372" href="#L1372">1372</a><span class="code-text">[`Ipv6Addr::LOCALHOST`]: https://doc.rust-lang.org/nightly/std/net/struct.Ipv6Addr.html#associatedconstant.LOCALHOST</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1373" href="#L1373">1373</a><span class="code-text">[`Ipv6Addr::UNSPECIFIED`]: https://doc.rust-lang.org/nightly/std/net/struct.Ipv6Addr.html#associatedconstant.UNSPECIFIED</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1374" href="#L1374">1374</a><span class="code-text">[`Iterator::find_map`]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.find_map</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1375" href="#L1375">1375</a><span class="code-text">[`str::trim_end_matches`]: https://doc.rust-lang.org/nightly/std/primitive.str.html#method.trim_end_matches</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1376" href="#L1376">1376</a><span class="code-text">[`str::trim_end`]: https://doc.rust-lang.org/nightly/std/primitive.str.html#method.trim_end</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1377" href="#L1377">1377</a><span class="code-text">[`str::trim_start_matches`]: https://doc.rust-lang.org/nightly/std/primitive.str.html#method.trim_start_matches</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1378" href="#L1378">1378</a><span class="code-text">[`str::trim_start`]: https://doc.rust-lang.org/nightly/std/primitive.str.html#method.trim_start</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1379" href="#L1379">1379</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1380" href="#L1380">1380</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1381" href="#L1381">1381</a><span class="code-text">Version 1.29.2 (2018-10-11)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1382" href="#L1382">1382</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1383" href="#L1383">1383</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1384" href="#L1384">1384</a><span class="code-text">- [Workaround for an aliasing-related LLVM bug, which caused miscompilation.][54639]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1385" href="#L1385">1385</a><span class="code-text">- The `rls-preview` component on the windows-gnu targets has been restored.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1386" href="#L1386">1386</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1387" href="#L1387">1387</a><span class="code-text">[54639]: https://github.com/rust-lang/rust/pull/54639</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1388" href="#L1388">1388</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1389" href="#L1389">1389</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1390" href="#L1390">1390</a><span class="code-text">Version 1.29.1 (2018-09-25)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1391" href="#L1391">1391</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1392" href="#L1392">1392</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1393" href="#L1393">1393</a><span class="code-text">Security Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1394" href="#L1394">1394</a><span class="code-text">--------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1395" href="#L1395">1395</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1396" href="#L1396">1396</a><span class="code-text">- The standard library's `str::repeat` function contained an out of bounds write</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1397" href="#L1397">1397</a><span class="code-text">  caused by an integer overflow. This has been fixed by deterministically</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1398" href="#L1398">1398</a><span class="code-text">  panicking when an overflow happens.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1399" href="#L1399">1399</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1400" href="#L1400">1400</a><span class="code-text">  Thank you to Scott McMurray for responsibly disclosing this vulnerability to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1401" href="#L1401">1401</a><span class="code-text">  us.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1402" href="#L1402">1402</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1403" href="#L1403">1403</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1404" href="#L1404">1404</a><span class="code-text">Version 1.29.0 (2018-09-13)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1405" href="#L1405">1405</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1406" href="#L1406">1406</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1407" href="#L1407">1407</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1408" href="#L1408">1408</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1409" href="#L1409">1409</a><span class="code-text">- [Bumped minimum LLVM version to 5.0.][51899]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1410" href="#L1410">1410</a><span class="code-text">- [Added `powerpc64le-unknown-linux-musl` target.][51619]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1411" href="#L1411">1411</a><span class="code-text">- [Added `aarch64-unknown-hermit` and `x86_64-unknown-hermit` targets.][52861]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1412" href="#L1412">1412</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1413" href="#L1413">1413</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1414" href="#L1414">1414</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1415" href="#L1415">1415</a><span class="code-text">- [`Once::call_once` no longer requires `Once` to be `'static`.][52239]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1416" href="#L1416">1416</a><span class="code-text">- [`BuildHasherDefault` now implements `PartialEq` and `Eq`.][52402]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1417" href="#L1417">1417</a><span class="code-text">- [`Box&lt;CStr&gt;`, `Box&lt;OsStr&gt;`, and `Box&lt;Path&gt;` now implement `Clone`.][51912]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1418" href="#L1418">1418</a><span class="code-text">- [Implemented `PartialEq&lt;&amp;str&gt;` for `OsString` and `PartialEq&lt;OsString&gt;`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1419" href="#L1419">1419</a><span class="code-text">  for `&amp;str`.][51178]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1420" href="#L1420">1420</a><span class="code-text">- [`Cell&lt;T&gt;` now allows `T` to be unsized.][50494]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1421" href="#L1421">1421</a><span class="code-text">- [`SocketAddr` is now stable on Redox.][52656]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1422" href="#L1422">1422</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1423" href="#L1423">1423</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1424" href="#L1424">1424</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1425" href="#L1425">1425</a><span class="code-text">- [`Arc::downcast`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1426" href="#L1426">1426</a><span class="code-text">- [`Iterator::flatten`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1427" href="#L1427">1427</a><span class="code-text">- [`Rc::downcast`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1428" href="#L1428">1428</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1429" href="#L1429">1429</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1430" href="#L1430">1430</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1431" href="#L1431">1431</a><span class="code-text">- [Cargo can silently fix some bad lockfiles.][cargo/5831] You can use</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1432" href="#L1432">1432</a><span class="code-text">  `--locked` to disable this behavior.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1433" href="#L1433">1433</a><span class="code-text">- [`cargo-install` will now allow you to cross compile an install</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1434" href="#L1434">1434</a><span class="code-text">  using `--target`.][cargo/5614]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1435" href="#L1435">1435</a><span class="code-text">- [Added the `cargo-fix` subcommand to automatically move project code from</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1436" href="#L1436">1436</a><span class="code-text">  2015 edition to 2018.][cargo/5723]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1437" href="#L1437">1437</a><span class="code-text">- [`cargo doc` can now optionally document private types using the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1438" href="#L1438">1438</a><span class="code-text">  `--document-private-items` flag.][cargo/5543]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1439" href="#L1439">1439</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1440" href="#L1440">1440</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1441" href="#L1441">1441</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1442" href="#L1442">1442</a><span class="code-text">- [`rustdoc` now has the `--cap-lints` option which demotes all lints above</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1443" href="#L1443">1443</a><span class="code-text">  the specified level to that level.][52354] For example `--cap-lints warn`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1444" href="#L1444">1444</a><span class="code-text">  will demote `deny` and `forbid` lints to `warn`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1445" href="#L1445">1445</a><span class="code-text">- [`rustc` and `rustdoc` will now have the exit code of `1` if compilation</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1446" href="#L1446">1446</a><span class="code-text">  fails and `101` if there is a panic.][52197]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1447" href="#L1447">1447</a><span class="code-text">- [A preview of clippy has been made available through rustup.][51122]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1448" href="#L1448">1448</a><span class="code-text">  You can install the preview with `rustup component add clippy-preview`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1449" href="#L1449">1449</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1450" href="#L1450">1450</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1451" href="#L1451">1451</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1452" href="#L1452">1452</a><span class="code-text">- [`str::{slice_unchecked, slice_unchecked_mut}` are now deprecated.][51807]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1453" href="#L1453">1453</a><span class="code-text">  Use `str::get_unchecked(begin..end)` instead.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1454" href="#L1454">1454</a><span class="code-text">- [`std::env::home_dir` is now deprecated for its unintuitive behavior.][51656]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1455" href="#L1455">1455</a><span class="code-text">  Consider using the `home_dir` function from</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1456" href="#L1456">1456</a><span class="code-text">  https://crates.io/crates/dirs instead.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1457" href="#L1457">1457</a><span class="code-text">- [`rustc` will no longer silently ignore invalid data in target spec.][52330]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1458" href="#L1458">1458</a><span class="code-text">- [`cfg` attributes and `--cfg` command line flags are now more</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1459" href="#L1459">1459</a><span class="code-text">  strictly validated.][53893]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1460" href="#L1460">1460</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1461" href="#L1461">1461</a><span class="code-text">[53893]: https://github.com/rust-lang/rust/pull/53893/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1462" href="#L1462">1462</a><span class="code-text">[52861]: https://github.com/rust-lang/rust/pull/52861/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1463" href="#L1463">1463</a><span class="code-text">[52656]: https://github.com/rust-lang/rust/pull/52656/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1464" href="#L1464">1464</a><span class="code-text">[52239]: https://github.com/rust-lang/rust/pull/52239/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1465" href="#L1465">1465</a><span class="code-text">[52330]: https://github.com/rust-lang/rust/pull/52330/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1466" href="#L1466">1466</a><span class="code-text">[52354]: https://github.com/rust-lang/rust/pull/52354/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1467" href="#L1467">1467</a><span class="code-text">[52402]: https://github.com/rust-lang/rust/pull/52402/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1468" href="#L1468">1468</a><span class="code-text">[52103]: https://github.com/rust-lang/rust/pull/52103/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1469" href="#L1469">1469</a><span class="code-text">[52197]: https://github.com/rust-lang/rust/pull/52197/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1470" href="#L1470">1470</a><span class="code-text">[51807]: https://github.com/rust-lang/rust/pull/51807/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1471" href="#L1471">1471</a><span class="code-text">[51899]: https://github.com/rust-lang/rust/pull/51899/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1472" href="#L1472">1472</a><span class="code-text">[51912]: https://github.com/rust-lang/rust/pull/51912/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1473" href="#L1473">1473</a><span class="code-text">[51511]: https://github.com/rust-lang/rust/pull/51511/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1474" href="#L1474">1474</a><span class="code-text">[51619]: https://github.com/rust-lang/rust/pull/51619/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1475" href="#L1475">1475</a><span class="code-text">[51656]: https://github.com/rust-lang/rust/pull/51656/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1476" href="#L1476">1476</a><span class="code-text">[51178]: https://github.com/rust-lang/rust/pull/51178/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1477" href="#L1477">1477</a><span class="code-text">[51122]: https://github.com/rust-lang/rust/pull/51122</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1478" href="#L1478">1478</a><span class="code-text">[50494]: https://github.com/rust-lang/rust/pull/50494/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1479" href="#L1479">1479</a><span class="code-text">[cargo/5543]: https://github.com/rust-lang/cargo/pull/5543</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1480" href="#L1480">1480</a><span class="code-text">[cargo/5614]: https://github.com/rust-lang/cargo/pull/5614/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1481" href="#L1481">1481</a><span class="code-text">[cargo/5723]: https://github.com/rust-lang/cargo/pull/5723/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1482" href="#L1482">1482</a><span class="code-text">[cargo/5831]: https://github.com/rust-lang/cargo/pull/5831/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1483" href="#L1483">1483</a><span class="code-text">[`Arc::downcast`]: https://doc.rust-lang.org/std/sync/struct.Arc.html#method.downcast</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1484" href="#L1484">1484</a><span class="code-text">[`Iterator::flatten`]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.flatten</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1485" href="#L1485">1485</a><span class="code-text">[`Rc::downcast`]: https://doc.rust-lang.org/std/rc/struct.Rc.html#method.downcast</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1486" href="#L1486">1486</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1487" href="#L1487">1487</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1488" href="#L1488">1488</a><span class="code-text">Version 1.28.0 (2018-08-02)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1489" href="#L1489">1489</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1490" href="#L1490">1490</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1491" href="#L1491">1491</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1492" href="#L1492">1492</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1493" href="#L1493">1493</a><span class="code-text">- [The `#[repr(transparent)]` attribute is now stable.][51562] This attribute</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1494" href="#L1494">1494</a><span class="code-text">  allows a Rust newtype wrapper (`struct NewType&lt;T&gt;(T);`) to be represented as</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1495" href="#L1495">1495</a><span class="code-text">  the inner type across Foreign Function Interface (FFI) boundaries.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1496" href="#L1496">1496</a><span class="code-text">- [The keywords `pure`, `sizeof`, `alignof`, and `offsetof` have been unreserved</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1497" href="#L1497">1497</a><span class="code-text">  and can now be used as identifiers.][51196]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1498" href="#L1498">1498</a><span class="code-text">- [The `GlobalAlloc` trait and `#[global_allocator]` attribute are now</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1499" href="#L1499">1499</a><span class="code-text">  stable.][51241] This will allow users to specify a global allocator for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1500" href="#L1500">1500</a><span class="code-text">  their program.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1501" href="#L1501">1501</a><span class="code-text">- [Unit test functions marked with the `#[test]` attribute can now return</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1502" href="#L1502">1502</a><span class="code-text">  `Result&lt;(), E: Debug&gt;` in addition to `()`.][51298]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1503" href="#L1503">1503</a><span class="code-text">- [The `lifetime` specifier for `macro_rules!` is now stable.][50385] This</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1504" href="#L1504">1504</a><span class="code-text">  allows macros to easily target lifetimes.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1505" href="#L1505">1505</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1506" href="#L1506">1506</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1507" href="#L1507">1507</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1508" href="#L1508">1508</a><span class="code-text">- [The `s` and `z` optimisation levels are now stable.][50265] These optimisations</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1509" href="#L1509">1509</a><span class="code-text">  prioritise making smaller binary sizes. `z` is the same as `s` with the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1510" href="#L1510">1510</a><span class="code-text">  exception that it does not vectorise loops, which typically results in an even</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1511" href="#L1511">1511</a><span class="code-text">  smaller binary.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1512" href="#L1512">1512</a><span class="code-text">- [The short error format is now stable.][49546] Specified with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1513" href="#L1513">1513</a><span class="code-text">  `--error-format=short` this option will provide a more compressed output of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1514" href="#L1514">1514</a><span class="code-text">  rust error messages.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1515" href="#L1515">1515</a><span class="code-text">- [Added a lint warning when you have duplicated `macro_export`s.][50143]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1516" href="#L1516">1516</a><span class="code-text">- [Reduced the number of allocations in the macro parser.][50855] This can</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1517" href="#L1517">1517</a><span class="code-text">  improve compile times of macro heavy crates on average by 5%.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1518" href="#L1518">1518</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1519" href="#L1519">1519</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1520" href="#L1520">1520</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1521" href="#L1521">1521</a><span class="code-text">- [Implemented `Default` for `&amp;mut str`.][51306]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1522" href="#L1522">1522</a><span class="code-text">- [Implemented `From&lt;bool&gt;` for all integer and unsigned number types.][50554]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1523" href="#L1523">1523</a><span class="code-text">- [Implemented `Extend` for `()`.][50234]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1524" href="#L1524">1524</a><span class="code-text">- [The `Debug` implementation of `time::Duration` should now be more easily</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1525" href="#L1525">1525</a><span class="code-text">  human readable.][50364] Previously a `Duration` of one second would printed as</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1526" href="#L1526">1526</a><span class="code-text">  `Duration { secs: 1, nanos: 0 }` and will now be printed as `1s`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1527" href="#L1527">1527</a><span class="code-text">- [Implemented `From&lt;&amp;String&gt;` for `Cow&lt;str&gt;`, `From&lt;&amp;Vec&lt;T&gt;&gt;` for `Cow&lt;[T]&gt;`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1528" href="#L1528">1528</a><span class="code-text">  `From&lt;Cow&lt;CStr&gt;&gt;` for `CString`, `From&lt;CString&gt;, From&lt;CStr&gt;, From&lt;&amp;CString&gt;`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1529" href="#L1529">1529</a><span class="code-text">  for `Cow&lt;CStr&gt;`, `From&lt;OsString&gt;, From&lt;OsStr&gt;, From&lt;&amp;OsString&gt;` for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1530" href="#L1530">1530</a><span class="code-text">  `Cow&lt;OsStr&gt;`, `From&lt;&amp;PathBuf&gt;` for `Cow&lt;Path&gt;`, and `From&lt;Cow&lt;Path&gt;&gt;`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1531" href="#L1531">1531</a><span class="code-text">  for `PathBuf`.][50170]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1532" href="#L1532">1532</a><span class="code-text">- [Implemented `Shl` and `Shr` for `Wrapping&lt;u128&gt;`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1533" href="#L1533">1533</a><span class="code-text">  and `Wrapping&lt;i128&gt;`.][50465]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1534" href="#L1534">1534</a><span class="code-text">- [`DirEntry::metadata` now uses `fstatat` instead of `lstat` when</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1535" href="#L1535">1535</a><span class="code-text">  possible.][51050] This can provide up to a 40% speed increase.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1536" href="#L1536">1536</a><span class="code-text">- [Improved error messages when using `format!`.][50610]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1537" href="#L1537">1537</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1538" href="#L1538">1538</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1539" href="#L1539">1539</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1540" href="#L1540">1540</a><span class="code-text">- [`Iterator::step_by`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1541" href="#L1541">1541</a><span class="code-text">- [`Path::ancestors`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1542" href="#L1542">1542</a><span class="code-text">- [`SystemTime::UNIX_EPOCH`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1543" href="#L1543">1543</a><span class="code-text">- [`alloc::GlobalAlloc`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1544" href="#L1544">1544</a><span class="code-text">- [`alloc::Layout`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1545" href="#L1545">1545</a><span class="code-text">- [`alloc::LayoutErr`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1546" href="#L1546">1546</a><span class="code-text">- [`alloc::System`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1547" href="#L1547">1547</a><span class="code-text">- [`alloc::alloc`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1548" href="#L1548">1548</a><span class="code-text">- [`alloc::alloc_zeroed`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1549" href="#L1549">1549</a><span class="code-text">- [`alloc::dealloc`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1550" href="#L1550">1550</a><span class="code-text">- [`alloc::realloc`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1551" href="#L1551">1551</a><span class="code-text">- [`alloc::handle_alloc_error`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1552" href="#L1552">1552</a><span class="code-text">- [`btree_map::Entry::or_default`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1553" href="#L1553">1553</a><span class="code-text">- [`fmt::Alignment`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1554" href="#L1554">1554</a><span class="code-text">- [`hash_map::Entry::or_default`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1555" href="#L1555">1555</a><span class="code-text">- [`iter::repeat_with`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1556" href="#L1556">1556</a><span class="code-text">- [`num::NonZeroUsize`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1557" href="#L1557">1557</a><span class="code-text">- [`num::NonZeroU128`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1558" href="#L1558">1558</a><span class="code-text">- [`num::NonZeroU16`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1559" href="#L1559">1559</a><span class="code-text">- [`num::NonZeroU32`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1560" href="#L1560">1560</a><span class="code-text">- [`num::NonZeroU64`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1561" href="#L1561">1561</a><span class="code-text">- [`num::NonZeroU8`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1562" href="#L1562">1562</a><span class="code-text">- [`ops::RangeBounds`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1563" href="#L1563">1563</a><span class="code-text">- [`slice::SliceIndex`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1564" href="#L1564">1564</a><span class="code-text">- [`slice::from_mut`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1565" href="#L1565">1565</a><span class="code-text">- [`slice::from_ref`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1566" href="#L1566">1566</a><span class="code-text">- [`{Any + Send + Sync}::downcast_mut`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1567" href="#L1567">1567</a><span class="code-text">- [`{Any + Send + Sync}::downcast_ref`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1568" href="#L1568">1568</a><span class="code-text">- [`{Any + Send + Sync}::is`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1569" href="#L1569">1569</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1570" href="#L1570">1570</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1571" href="#L1571">1571</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1572" href="#L1572">1572</a><span class="code-text">- [Cargo will now no longer allow you to publish crates with build scripts that</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1573" href="#L1573">1573</a><span class="code-text">  modify the `src` directory.][cargo/5584] The `src` directory in a crate should be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1574" href="#L1574">1574</a><span class="code-text">  considered to be immutable.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1575" href="#L1575">1575</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1576" href="#L1576">1576</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1577" href="#L1577">1577</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1578" href="#L1578">1578</a><span class="code-text">- [The `suggestion_applicability` field in `rustc`'s json output is now</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1579" href="#L1579">1579</a><span class="code-text">  stable.][50486] This will allow dev tools to check whether a code suggestion</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1580" href="#L1580">1580</a><span class="code-text">  would apply to them.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1581" href="#L1581">1581</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1582" href="#L1582">1582</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1583" href="#L1583">1583</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1584" href="#L1584">1584</a><span class="code-text">- [Rust will consider trait objects with duplicated constraints to be the same</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1585" href="#L1585">1585</a><span class="code-text">  type as without the duplicated constraint.][51276] For example the below code will</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1586" href="#L1586">1586</a><span class="code-text">  now fail to compile.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1587" href="#L1587">1587</a><span class="code-text">  ```rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1588" href="#L1588">1588</a><span class="code-text">  trait Trait {}</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1589" href="#L1589">1589</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1590" href="#L1590">1590</a><span class="code-text">  impl Trait + Send {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1591" href="#L1591">1591</a><span class="code-text">      fn test(&amp;self) { println!(&quot;one&quot;); } //~ ERROR duplicate definitions with name `test`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1592" href="#L1592">1592</a><span class="code-text">  }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1593" href="#L1593">1593</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1594" href="#L1594">1594</a><span class="code-text">  impl Trait + Send + Send {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1595" href="#L1595">1595</a><span class="code-text">      fn test(&amp;self) { println!(&quot;two&quot;); }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1596" href="#L1596">1596</a><span class="code-text">  }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1597" href="#L1597">1597</a><span class="code-text">  ```</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1598" href="#L1598">1598</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1599" href="#L1599">1599</a><span class="code-text">[49546]: https://github.com/rust-lang/rust/pull/49546/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1600" href="#L1600">1600</a><span class="code-text">[50143]: https://github.com/rust-lang/rust/pull/50143/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1601" href="#L1601">1601</a><span class="code-text">[50170]: https://github.com/rust-lang/rust/pull/50170/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1602" href="#L1602">1602</a><span class="code-text">[50234]: https://github.com/rust-lang/rust/pull/50234/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1603" href="#L1603">1603</a><span class="code-text">[50265]: https://github.com/rust-lang/rust/pull/50265/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1604" href="#L1604">1604</a><span class="code-text">[50364]: https://github.com/rust-lang/rust/pull/50364/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1605" href="#L1605">1605</a><span class="code-text">[50385]: https://github.com/rust-lang/rust/pull/50385/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1606" href="#L1606">1606</a><span class="code-text">[50465]: https://github.com/rust-lang/rust/pull/50465/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1607" href="#L1607">1607</a><span class="code-text">[50486]: https://github.com/rust-lang/rust/pull/50486/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1608" href="#L1608">1608</a><span class="code-text">[50554]: https://github.com/rust-lang/rust/pull/50554/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1609" href="#L1609">1609</a><span class="code-text">[50610]: https://github.com/rust-lang/rust/pull/50610/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1610" href="#L1610">1610</a><span class="code-text">[50855]: https://github.com/rust-lang/rust/pull/50855/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1611" href="#L1611">1611</a><span class="code-text">[51050]: https://github.com/rust-lang/rust/pull/51050/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1612" href="#L1612">1612</a><span class="code-text">[51196]: https://github.com/rust-lang/rust/pull/51196/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1613" href="#L1613">1613</a><span class="code-text">[51200]: https://github.com/rust-lang/rust/pull/51200/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1614" href="#L1614">1614</a><span class="code-text">[51241]: https://github.com/rust-lang/rust/pull/51241/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1615" href="#L1615">1615</a><span class="code-text">[51276]: https://github.com/rust-lang/rust/pull/51276/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1616" href="#L1616">1616</a><span class="code-text">[51298]: https://github.com/rust-lang/rust/pull/51298/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1617" href="#L1617">1617</a><span class="code-text">[51306]: https://github.com/rust-lang/rust/pull/51306/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1618" href="#L1618">1618</a><span class="code-text">[51562]: https://github.com/rust-lang/rust/pull/51562/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1619" href="#L1619">1619</a><span class="code-text">[cargo/5584]: https://github.com/rust-lang/cargo/pull/5584/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1620" href="#L1620">1620</a><span class="code-text">[`Iterator::step_by`]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.step_by</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1621" href="#L1621">1621</a><span class="code-text">[`Path::ancestors`]: https://doc.rust-lang.org/std/path/struct.Path.html#method.ancestors</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1622" href="#L1622">1622</a><span class="code-text">[`SystemTime::UNIX_EPOCH`]: https://doc.rust-lang.org/std/time/struct.SystemTime.html#associatedconstant.UNIX_EPOCH</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1623" href="#L1623">1623</a><span class="code-text">[`alloc::GlobalAlloc`]: https://doc.rust-lang.org/std/alloc/trait.GlobalAlloc.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1624" href="#L1624">1624</a><span class="code-text">[`alloc::Layout`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1625" href="#L1625">1625</a><span class="code-text">[`alloc::LayoutErr`]: https://doc.rust-lang.org/std/alloc/struct.LayoutErr.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1626" href="#L1626">1626</a><span class="code-text">[`alloc::System`]: https://doc.rust-lang.org/std/alloc/struct.System.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1627" href="#L1627">1627</a><span class="code-text">[`alloc::alloc`]: https://doc.rust-lang.org/std/alloc/fn.alloc.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1628" href="#L1628">1628</a><span class="code-text">[`alloc::alloc_zeroed`]: https://doc.rust-lang.org/std/alloc/fn.alloc_zeroed.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1629" href="#L1629">1629</a><span class="code-text">[`alloc::dealloc`]: https://doc.rust-lang.org/std/alloc/fn.dealloc.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1630" href="#L1630">1630</a><span class="code-text">[`alloc::realloc`]: https://doc.rust-lang.org/std/alloc/fn.realloc.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1631" href="#L1631">1631</a><span class="code-text">[`alloc::handle_alloc_error`]: https://doc.rust-lang.org/std/alloc/fn.handle_alloc_error.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1632" href="#L1632">1632</a><span class="code-text">[`btree_map::Entry::or_default`]: https://doc.rust-lang.org/std/collections/btree_map/enum.Entry.html#method.or_default</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1633" href="#L1633">1633</a><span class="code-text">[`fmt::Alignment`]: https://doc.rust-lang.org/std/fmt/enum.Alignment.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1634" href="#L1634">1634</a><span class="code-text">[`hash_map::Entry::or_default`]: https://doc.rust-lang.org/std/collections/hash_map/enum.Entry.html#method.or_default</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1635" href="#L1635">1635</a><span class="code-text">[`iter::repeat_with`]: https://doc.rust-lang.org/std/iter/fn.repeat_with.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1636" href="#L1636">1636</a><span class="code-text">[`num::NonZeroUsize`]: https://doc.rust-lang.org/std/num/struct.NonZeroUsize.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1637" href="#L1637">1637</a><span class="code-text">[`num::NonZeroU128`]: https://doc.rust-lang.org/std/num/struct.NonZeroU128.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1638" href="#L1638">1638</a><span class="code-text">[`num::NonZeroU16`]: https://doc.rust-lang.org/std/num/struct.NonZeroU16.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1639" href="#L1639">1639</a><span class="code-text">[`num::NonZeroU32`]: https://doc.rust-lang.org/std/num/struct.NonZeroU32.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1640" href="#L1640">1640</a><span class="code-text">[`num::NonZeroU64`]: https://doc.rust-lang.org/std/num/struct.NonZeroU64.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1641" href="#L1641">1641</a><span class="code-text">[`num::NonZeroU8`]: https://doc.rust-lang.org/std/num/struct.NonZeroU8.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1642" href="#L1642">1642</a><span class="code-text">[`ops::RangeBounds`]: https://doc.rust-lang.org/std/ops/trait.RangeBounds.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1643" href="#L1643">1643</a><span class="code-text">[`slice::SliceIndex`]: https://doc.rust-lang.org/std/slice/trait.SliceIndex.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1644" href="#L1644">1644</a><span class="code-text">[`slice::from_mut`]: https://doc.rust-lang.org/std/slice/fn.from_mut.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1645" href="#L1645">1645</a><span class="code-text">[`slice::from_ref`]: https://doc.rust-lang.org/std/slice/fn.from_ref.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1646" href="#L1646">1646</a><span class="code-text">[`{Any + Send + Sync}::downcast_mut`]: https://doc.rust-lang.org/std/any/trait.Any.html#method.downcast_mut-2</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1647" href="#L1647">1647</a><span class="code-text">[`{Any + Send + Sync}::downcast_ref`]: https://doc.rust-lang.org/std/any/trait.Any.html#method.downcast_ref-2</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1648" href="#L1648">1648</a><span class="code-text">[`{Any + Send + Sync}::is`]: https://doc.rust-lang.org/std/any/trait.Any.html#method.is-2</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1649" href="#L1649">1649</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1650" href="#L1650">1650</a><span class="code-text">Version 1.27.2 (2018-07-20)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1651" href="#L1651">1651</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1652" href="#L1652">1652</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1653" href="#L1653">1653</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1654" href="#L1654">1654</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1655" href="#L1655">1655</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1656" href="#L1656">1656</a><span class="code-text">- The borrow checker was fixed to avoid potential unsoundness when using</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1657" href="#L1657">1657</a><span class="code-text">  match ergonomics: [#52213][52213].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1658" href="#L1658">1658</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1659" href="#L1659">1659</a><span class="code-text">[52213]: https://github.com/rust-lang/rust/issues/52213</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1660" href="#L1660">1660</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1661" href="#L1661">1661</a><span class="code-text">Version 1.27.1 (2018-07-10)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1662" href="#L1662">1662</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1663" href="#L1663">1663</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1664" href="#L1664">1664</a><span class="code-text">Security Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1665" href="#L1665">1665</a><span class="code-text">--------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1666" href="#L1666">1666</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1667" href="#L1667">1667</a><span class="code-text">- rustdoc would execute plugins in the /tmp/rustdoc/plugins directory</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1668" href="#L1668">1668</a><span class="code-text">  when running, which enabled executing code as some other user on a</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1669" href="#L1669">1669</a><span class="code-text">  given machine. This release fixes that vulnerability; you can read</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1670" href="#L1670">1670</a><span class="code-text">  more about this on the [blog][rustdoc-sec]. The associated CVE is [CVE-2018-1000622].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1671" href="#L1671">1671</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1672" href="#L1672">1672</a><span class="code-text">  Thank you to Red Hat for responsibly disclosing this vulnerability to us.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1673" href="#L1673">1673</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1674" href="#L1674">1674</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1675" href="#L1675">1675</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1676" href="#L1676">1676</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1677" href="#L1677">1677</a><span class="code-text">- The borrow checker was fixed to avoid an additional potential unsoundness when using</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1678" href="#L1678">1678</a><span class="code-text">  match ergonomics: [#51415][51415], [#49534][49534].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1679" href="#L1679">1679</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1680" href="#L1680">1680</a><span class="code-text">[51415]: https://github.com/rust-lang/rust/issues/51415</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1681" href="#L1681">1681</a><span class="code-text">[49534]: https://github.com/rust-lang/rust/issues/49534</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1682" href="#L1682">1682</a><span class="code-text">[rustdoc-sec]: https://blog.rust-lang.org/2018/07/06/security-advisory-for-rustdoc.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1683" href="#L1683">1683</a><span class="code-text">[CVE-2018-1000622]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=%20CVE-2018-1000622</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1684" href="#L1684">1684</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1685" href="#L1685">1685</a><span class="code-text">Version 1.27.0 (2018-06-21)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1686" href="#L1686">1686</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1687" href="#L1687">1687</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1688" href="#L1688">1688</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1689" href="#L1689">1689</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1690" href="#L1690">1690</a><span class="code-text">- [Removed 'proc' from the reserved keywords list.][49699] This allows `proc` to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1691" href="#L1691">1691</a><span class="code-text">  be used as an identifier.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1692" href="#L1692">1692</a><span class="code-text">- [The dyn syntax is now available.][49968] This syntax is equivalent to the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1693" href="#L1693">1693</a><span class="code-text">  bare `Trait` syntax, and should make it clearer when being used in tandem with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1694" href="#L1694">1694</a><span class="code-text">  `impl Trait` because it is equivalent to the following syntax:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1695" href="#L1695">1695</a><span class="code-text">  `&amp;Trait == &amp;dyn Trait`, `&amp;mut Trait == &amp;mut dyn Trait`, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1696" href="#L1696">1696</a><span class="code-text">  `Box&lt;Trait&gt; == Box&lt;dyn Trait&gt;`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1697" href="#L1697">1697</a><span class="code-text">- [Attributes on generic parameters such as types and lifetimes are</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1698" href="#L1698">1698</a><span class="code-text">  now stable.][48851] e.g.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1699" href="#L1699">1699</a><span class="code-text">  `fn foo&lt;#[lifetime_attr] 'a, #[type_attr] T: 'a&gt;() {}`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1700" href="#L1700">1700</a><span class="code-text">- [The `#[must_use]` attribute can now also be used on functions as well as</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1701" href="#L1701">1701</a><span class="code-text">  types.][48925] It provides a lint that by default warns users when the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1702" href="#L1702">1702</a><span class="code-text">  value returned by a function has not been used.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1703" href="#L1703">1703</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1704" href="#L1704">1704</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1705" href="#L1705">1705</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1706" href="#L1706">1706</a><span class="code-text">- [Added the `armv5te-unknown-linux-musleabi` target.][50423]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1707" href="#L1707">1707</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1708" href="#L1708">1708</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1709" href="#L1709">1709</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1710" href="#L1710">1710</a><span class="code-text">- [SIMD (Single Instruction Multiple Data) on x86/x86_64 is now stable.][49664]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1711" href="#L1711">1711</a><span class="code-text">  This includes [`arch::x86`] &amp; [`arch::x86_64`] modules which contain</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1712" href="#L1712">1712</a><span class="code-text">  SIMD intrinsics, a new macro called `is_x86_feature_detected!`, the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1713" href="#L1713">1713</a><span class="code-text">  `#[target_feature(enable=&quot;&quot;)]` attribute, and adding `target_feature = &quot;&quot;` to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1714" href="#L1714">1714</a><span class="code-text">  the `cfg` attribute.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1715" href="#L1715">1715</a><span class="code-text">- [A lot of methods for `[u8]`, `f32`, and `f64` previously only available in</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1716" href="#L1716">1716</a><span class="code-text">  std are now available in core.][49896]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1717" href="#L1717">1717</a><span class="code-text">- [The generic `Rhs` type parameter on `ops::{Shl, ShlAssign, Shr}` now defaults</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1718" href="#L1718">1718</a><span class="code-text">  to `Self`.][49630]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1719" href="#L1719">1719</a><span class="code-text">- [`std::str::replace` now has the `#[must_use]` attribute][50177] to clarify</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1720" href="#L1720">1720</a><span class="code-text">  that the operation isn't done in place.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1721" href="#L1721">1721</a><span class="code-text">- [`Clone::clone`, `Iterator::collect`, and `ToOwned::to_owned` now have</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1722" href="#L1722">1722</a><span class="code-text">  the `#[must_use]` attribute][49533] to warn about unused potentially</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1723" href="#L1723">1723</a><span class="code-text">  expensive allocations.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1724" href="#L1724">1724</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1725" href="#L1725">1725</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1726" href="#L1726">1726</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1727" href="#L1727">1727</a><span class="code-text">- [`DoubleEndedIterator::rfind`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1728" href="#L1728">1728</a><span class="code-text">- [`DoubleEndedIterator::rfold`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1729" href="#L1729">1729</a><span class="code-text">- [`DoubleEndedIterator::try_rfold`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1730" href="#L1730">1730</a><span class="code-text">- [`Duration::from_micros`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1731" href="#L1731">1731</a><span class="code-text">- [`Duration::from_nanos`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1732" href="#L1732">1732</a><span class="code-text">- [`Duration::subsec_micros`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1733" href="#L1733">1733</a><span class="code-text">- [`Duration::subsec_millis`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1734" href="#L1734">1734</a><span class="code-text">- [`HashMap::remove_entry`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1735" href="#L1735">1735</a><span class="code-text">- [`Iterator::try_fold`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1736" href="#L1736">1736</a><span class="code-text">- [`Iterator::try_for_each`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1737" href="#L1737">1737</a><span class="code-text">- [`NonNull::cast`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1738" href="#L1738">1738</a><span class="code-text">- [`Option::filter`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1739" href="#L1739">1739</a><span class="code-text">- [`String::replace_range`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1740" href="#L1740">1740</a><span class="code-text">- [`Take::set_limit`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1741" href="#L1741">1741</a><span class="code-text">- [`hint::unreachable_unchecked`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1742" href="#L1742">1742</a><span class="code-text">- [`os::unix::process::parent_id`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1743" href="#L1743">1743</a><span class="code-text">- [`ptr::swap_nonoverlapping`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1744" href="#L1744">1744</a><span class="code-text">- [`slice::rsplit_mut`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1745" href="#L1745">1745</a><span class="code-text">- [`slice::rsplit`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1746" href="#L1746">1746</a><span class="code-text">- [`slice::swap_with_slice`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1747" href="#L1747">1747</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1748" href="#L1748">1748</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1749" href="#L1749">1749</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1750" href="#L1750">1750</a><span class="code-text">- [`cargo-metadata` now includes `authors`, `categories`, `keywords`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1751" href="#L1751">1751</a><span class="code-text">  `readme`, and `repository` fields.][cargo/5386]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1752" href="#L1752">1752</a><span class="code-text">- [`cargo-metadata` now includes a package's `metadata` table.][cargo/5360]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1753" href="#L1753">1753</a><span class="code-text">- [Added the `--target-dir` optional argument.][cargo/5393] This allows you to specify</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1754" href="#L1754">1754</a><span class="code-text">  a different directory than `target` for placing compilation artifacts.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1755" href="#L1755">1755</a><span class="code-text">- [Cargo will be adding automatic target inference for binaries, benchmarks,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1756" href="#L1756">1756</a><span class="code-text">  examples, and tests in the Rust 2018 edition.][cargo/5335] If your project specifies</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1757" href="#L1757">1757</a><span class="code-text">  specific targets, e.g. using `[[bin]]`, and have other binaries in locations</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1758" href="#L1758">1758</a><span class="code-text">  where cargo would infer a binary, Cargo will produce a warning. You can</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1759" href="#L1759">1759</a><span class="code-text">  disable this feature ahead of time by setting any of the following to false:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1760" href="#L1760">1760</a><span class="code-text">  `autobins`, `autobenches`, `autoexamples`, `autotests`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1761" href="#L1761">1761</a><span class="code-text">- [Cargo will now cache compiler information.][cargo/5359] This can be disabled by</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1762" href="#L1762">1762</a><span class="code-text">  setting `CARGO_CACHE_RUSTC_INFO=0` in your environment.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1763" href="#L1763">1763</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1764" href="#L1764">1764</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1765" href="#L1765">1765</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1766" href="#L1766">1766</a><span class="code-text">- [Added “The Rustc book” into the official documentation.][49707]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1767" href="#L1767">1767</a><span class="code-text">  [“The Rustc book”] documents and teaches how to use the rustc compiler.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1768" href="#L1768">1768</a><span class="code-text">- [All books available on `doc.rust-lang.org` are now searchable.][49623]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1769" href="#L1769">1769</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1770" href="#L1770">1770</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1771" href="#L1771">1771</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1772" href="#L1772">1772</a><span class="code-text">- [Calling a `CharExt` or `StrExt` method directly on core will no longer</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1773" href="#L1773">1773</a><span class="code-text">  work.][49896] e.g. `::core::prelude::v1::StrExt::is_empty(&quot;&quot;)` will not</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1774" href="#L1774">1774</a><span class="code-text">  compile, `&quot;&quot;.is_empty()` will still compile.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1775" href="#L1775">1775</a><span class="code-text">- [`Debug` output on `atomic::{AtomicBool, AtomicIsize, AtomicPtr, AtomicUsize}`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1776" href="#L1776">1776</a><span class="code-text">  will only print the inner type.][48553] E.g.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1777" href="#L1777">1777</a><span class="code-text">  `print!(&quot;{:?}&quot;, AtomicBool::new(true))` will print `true`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1778" href="#L1778">1778</a><span class="code-text">  not `AtomicBool(true)`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1779" href="#L1779">1779</a><span class="code-text">- [The maximum number for `repr(align(N))` is now 2²⁹.][50378] Previously you</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1780" href="#L1780">1780</a><span class="code-text">  could enter higher numbers but they were not supported by LLVM. Up to 512MB</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1781" href="#L1781">1781</a><span class="code-text">  alignment should cover all use cases.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1782" href="#L1782">1782</a><span class="code-text">- The `.description()` method on the `std::error::Error` trait</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1783" href="#L1783">1783</a><span class="code-text">  [has been soft-deprecated][50163]. It is no longer required to implement it.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1784" href="#L1784">1784</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1785" href="#L1785">1785</a><span class="code-text">[48553]: https://github.com/rust-lang/rust/pull/48553/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1786" href="#L1786">1786</a><span class="code-text">[48851]: https://github.com/rust-lang/rust/pull/48851/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1787" href="#L1787">1787</a><span class="code-text">[48925]: https://github.com/rust-lang/rust/pull/48925/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1788" href="#L1788">1788</a><span class="code-text">[49533]: https://github.com/rust-lang/rust/pull/49533/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1789" href="#L1789">1789</a><span class="code-text">[49623]: https://github.com/rust-lang/rust/pull/49623/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1790" href="#L1790">1790</a><span class="code-text">[49630]: https://github.com/rust-lang/rust/pull/49630/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1791" href="#L1791">1791</a><span class="code-text">[49664]: https://github.com/rust-lang/rust/pull/49664/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1792" href="#L1792">1792</a><span class="code-text">[49699]: https://github.com/rust-lang/rust/pull/49699/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1793" href="#L1793">1793</a><span class="code-text">[49707]: https://github.com/rust-lang/rust/pull/49707/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1794" href="#L1794">1794</a><span class="code-text">[49719]: https://github.com/rust-lang/rust/pull/49719/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1795" href="#L1795">1795</a><span class="code-text">[49896]: https://github.com/rust-lang/rust/pull/49896/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1796" href="#L1796">1796</a><span class="code-text">[49968]: https://github.com/rust-lang/rust/pull/49968/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1797" href="#L1797">1797</a><span class="code-text">[50163]: https://github.com/rust-lang/rust/pull/50163</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1798" href="#L1798">1798</a><span class="code-text">[50177]: https://github.com/rust-lang/rust/pull/50177/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1799" href="#L1799">1799</a><span class="code-text">[50378]: https://github.com/rust-lang/rust/pull/50378/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1800" href="#L1800">1800</a><span class="code-text">[50398]: https://github.com/rust-lang/rust/pull/50398/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1801" href="#L1801">1801</a><span class="code-text">[50423]: https://github.com/rust-lang/rust/pull/50423/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1802" href="#L1802">1802</a><span class="code-text">[cargo/5203]: https://github.com/rust-lang/cargo/pull/5203/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1803" href="#L1803">1803</a><span class="code-text">[cargo/5335]: https://github.com/rust-lang/cargo/pull/5335/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1804" href="#L1804">1804</a><span class="code-text">[cargo/5359]: https://github.com/rust-lang/cargo/pull/5359/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1805" href="#L1805">1805</a><span class="code-text">[cargo/5360]: https://github.com/rust-lang/cargo/pull/5360/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1806" href="#L1806">1806</a><span class="code-text">[cargo/5386]: https://github.com/rust-lang/cargo/pull/5386/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1807" href="#L1807">1807</a><span class="code-text">[cargo/5393]: https://github.com/rust-lang/cargo/pull/5393/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1808" href="#L1808">1808</a><span class="code-text">[`DoubleEndedIterator::rfind`]: https://doc.rust-lang.org/std/iter/trait.DoubleEndedIterator.html#method.rfind</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1809" href="#L1809">1809</a><span class="code-text">[`DoubleEndedIterator::rfold`]: https://doc.rust-lang.org/std/iter/trait.DoubleEndedIterator.html#method.rfold</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1810" href="#L1810">1810</a><span class="code-text">[`DoubleEndedIterator::try_rfold`]: https://doc.rust-lang.org/std/iter/trait.DoubleEndedIterator.html#method.try_rfold</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1811" href="#L1811">1811</a><span class="code-text">[`Duration::from_micros`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.from_micros</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1812" href="#L1812">1812</a><span class="code-text">[`Duration::from_nanos`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.from_nanos</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1813" href="#L1813">1813</a><span class="code-text">[`Duration::subsec_micros`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.subsec_micros</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1814" href="#L1814">1814</a><span class="code-text">[`Duration::subsec_millis`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.subsec_millis</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1815" href="#L1815">1815</a><span class="code-text">[`HashMap::remove_entry`]: https://doc.rust-lang.org/std/collections/struct.HashMap.html#method.remove_entry</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1816" href="#L1816">1816</a><span class="code-text">[`Iterator::try_fold`]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.try_fold</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1817" href="#L1817">1817</a><span class="code-text">[`Iterator::try_for_each`]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.try_for_each</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1818" href="#L1818">1818</a><span class="code-text">[`NonNull::cast`]: https://doc.rust-lang.org/std/ptr/struct.NonNull.html#method.cast</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1819" href="#L1819">1819</a><span class="code-text">[`Option::filter`]: https://doc.rust-lang.org/std/option/enum.Option.html#method.filter</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1820" href="#L1820">1820</a><span class="code-text">[`String::replace_range`]: https://doc.rust-lang.org/std/string/struct.String.html#method.replace_range</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1821" href="#L1821">1821</a><span class="code-text">[`Take::set_limit`]: https://doc.rust-lang.org/std/io/struct.Take.html#method.set_limit</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1822" href="#L1822">1822</a><span class="code-text">[`hint::unreachable_unchecked`]: https://doc.rust-lang.org/std/hint/fn.unreachable_unchecked.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1823" href="#L1823">1823</a><span class="code-text">[`os::unix::process::parent_id`]: https://doc.rust-lang.org/std/os/unix/process/fn.parent_id.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1824" href="#L1824">1824</a><span class="code-text">[`process::id`]: https://doc.rust-lang.org/std/process/fn.id.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1825" href="#L1825">1825</a><span class="code-text">[`ptr::swap_nonoverlapping`]: https://doc.rust-lang.org/std/ptr/fn.swap_nonoverlapping.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1826" href="#L1826">1826</a><span class="code-text">[`slice::rsplit_mut`]: https://doc.rust-lang.org/std/primitive.slice.html#method.rsplit_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1827" href="#L1827">1827</a><span class="code-text">[`slice::rsplit`]: https://doc.rust-lang.org/std/primitive.slice.html#method.rsplit</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1828" href="#L1828">1828</a><span class="code-text">[`slice::swap_with_slice`]: https://doc.rust-lang.org/std/primitive.slice.html#method.swap_with_slice</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1829" href="#L1829">1829</a><span class="code-text">[`arch::x86_64`]: https://doc.rust-lang.org/std/arch/x86_64/index.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1830" href="#L1830">1830</a><span class="code-text">[`arch::x86`]: https://doc.rust-lang.org/std/arch/x86/index.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1831" href="#L1831">1831</a><span class="code-text">[“The Rustc book”]: https://doc.rust-lang.org/rustc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1832" href="#L1832">1832</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1833" href="#L1833">1833</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1834" href="#L1834">1834</a><span class="code-text">Version 1.26.2 (2018-06-05)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1835" href="#L1835">1835</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1836" href="#L1836">1836</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1837" href="#L1837">1837</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1838" href="#L1838">1838</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1839" href="#L1839">1839</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1840" href="#L1840">1840</a><span class="code-text">- [The borrow checker was fixed to avoid unsoundness when using match ergonomics.][51117]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1841" href="#L1841">1841</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1842" href="#L1842">1842</a><span class="code-text">[51117]: https://github.com/rust-lang/rust/issues/51117</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1843" href="#L1843">1843</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1844" href="#L1844">1844</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1845" href="#L1845">1845</a><span class="code-text">Version 1.26.1 (2018-05-29)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1846" href="#L1846">1846</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1847" href="#L1847">1847</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1848" href="#L1848">1848</a><span class="code-text">Tools</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1849" href="#L1849">1849</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1850" href="#L1850">1850</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1851" href="#L1851">1851</a><span class="code-text">- [RLS now works on Windows.][50646]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1852" href="#L1852">1852</a><span class="code-text">- [Rustfmt stopped badly formatting text in some cases.][rustfmt/2695]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1853" href="#L1853">1853</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1854" href="#L1854">1854</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1855" href="#L1855">1855</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1856" href="#L1856">1856</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1857" href="#L1857">1857</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1858" href="#L1858">1858</a><span class="code-text">- [`fn main() -&gt; impl Trait` no longer works for non-Termination</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1859" href="#L1859">1859</a><span class="code-text">  trait.][50656]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1860" href="#L1860">1860</a><span class="code-text">  This reverts an accidental stabilization.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1861" href="#L1861">1861</a><span class="code-text">- [`NaN &gt; NaN` no longer returns true in const-fn contexts.][50812]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1862" href="#L1862">1862</a><span class="code-text">- [Prohibit using turbofish for `impl Trait` in method arguments.][50950]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1863" href="#L1863">1863</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1864" href="#L1864">1864</a><span class="code-text">[50646]: https://github.com/rust-lang/rust/issues/50646</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1865" href="#L1865">1865</a><span class="code-text">[50656]: https://github.com/rust-lang/rust/pull/50656</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1866" href="#L1866">1866</a><span class="code-text">[50812]: https://github.com/rust-lang/rust/pull/50812</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1867" href="#L1867">1867</a><span class="code-text">[50950]: https://github.com/rust-lang/rust/issues/50950</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1868" href="#L1868">1868</a><span class="code-text">[rustfmt/2695]: https://github.com/rust-lang-nursery/rustfmt/issues/2695</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1869" href="#L1869">1869</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1870" href="#L1870">1870</a><span class="code-text">Version 1.26.0 (2018-05-10)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1871" href="#L1871">1871</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1872" href="#L1872">1872</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1873" href="#L1873">1873</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1874" href="#L1874">1874</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1875" href="#L1875">1875</a><span class="code-text">- [Closures now implement `Copy` and/or `Clone` if all captured variables</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1876" href="#L1876">1876</a><span class="code-text">  implement either or both traits.][49299]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1877" href="#L1877">1877</a><span class="code-text">- [The inclusive range syntax e.g. `for x in 0..=10` is now stable.][47813]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1878" href="#L1878">1878</a><span class="code-text">- [The `'_` lifetime is now stable. The underscore lifetime can be used anywhere a</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1879" href="#L1879">1879</a><span class="code-text">  lifetime can be elided.][49458]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1880" href="#L1880">1880</a><span class="code-text">- [`impl Trait` is now stable allowing you to have abstract types in returns</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1881" href="#L1881">1881</a><span class="code-text">   or in function parameters.][49255] E.g. `fn foo() -&gt; impl Iterator&lt;Item=u8&gt;` or</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1882" href="#L1882">1882</a><span class="code-text">  `fn open(path: impl AsRef&lt;Path&gt;)`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1883" href="#L1883">1883</a><span class="code-text">- [Pattern matching will now automatically apply dereferences.][49394]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1884" href="#L1884">1884</a><span class="code-text">- [128-bit integers in the form of `u128` and `i128` are now stable.][49101]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1885" href="#L1885">1885</a><span class="code-text">- [`main` can now return `Result&lt;(), E: Debug&gt;`][49162] in addition to `()`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1886" href="#L1886">1886</a><span class="code-text">- [A lot of operations are now available in a const context.][46882] E.g. You</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1887" href="#L1887">1887</a><span class="code-text">  can now index into constant arrays, reference and dereference into constants,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1888" href="#L1888">1888</a><span class="code-text">  and use tuple struct constructors.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1889" href="#L1889">1889</a><span class="code-text">- [Fixed entry slice patterns are now stable.][48516] E.g.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1890" href="#L1890">1890</a><span class="code-text">  ```rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1891" href="#L1891">1891</a><span class="code-text">  let points = [1, 2, 3, 4];</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1892" href="#L1892">1892</a><span class="code-text">  match points {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1893" href="#L1893">1893</a><span class="code-text">      [1, 2, 3, 4] =&gt; println!(&quot;All points were sequential.&quot;),</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1894" href="#L1894">1894</a><span class="code-text">      _ =&gt; println!(&quot;Not all points were sequential.&quot;),</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1895" href="#L1895">1895</a><span class="code-text">  }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1896" href="#L1896">1896</a><span class="code-text">  ```</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1897" href="#L1897">1897</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1898" href="#L1898">1898</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1899" href="#L1899">1899</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1900" href="#L1900">1900</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1901" href="#L1901">1901</a><span class="code-text">- [LLD is now used as the default linker for `wasm32-unknown-unknown`.][48125]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1902" href="#L1902">1902</a><span class="code-text">- [Fixed exponential projection complexity on nested types.][48296]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1903" href="#L1903">1903</a><span class="code-text">  This can provide up to a ~12% reduction in compile times for certain crates.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1904" href="#L1904">1904</a><span class="code-text">- [Added the `--remap-path-prefix` option to rustc.][48359] Allowing you</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1905" href="#L1905">1905</a><span class="code-text">  to remap path prefixes outputted by the compiler.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1906" href="#L1906">1906</a><span class="code-text">- [Added `powerpc-unknown-netbsd` target.][48281]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1907" href="#L1907">1907</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1908" href="#L1908">1908</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1909" href="#L1909">1909</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1910" href="#L1910">1910</a><span class="code-text">- [Implemented `From&lt;u16&gt; for usize` &amp; `From&lt;{u8, i16}&gt; for isize`.][49305]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1911" href="#L1911">1911</a><span class="code-text">- [Added hexadecimal formatting for integers with fmt::Debug][48978]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1912" href="#L1912">1912</a><span class="code-text">  e.g. `assert!(format!(&quot;{:02x?}&quot;, b&quot;Foo\0&quot;) == &quot;[46, 6f, 6f, 00]&quot;)`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1913" href="#L1913">1913</a><span class="code-text">- [Implemented `Default, Hash` for `cmp::Reverse`.][48628]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1914" href="#L1914">1914</a><span class="code-text">- [Optimized `str::repeat` being 8x faster in large cases.][48657]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1915" href="#L1915">1915</a><span class="code-text">- [`ascii::escape_default` is now available in libcore.][48735]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1916" href="#L1916">1916</a><span class="code-text">- [Trailing commas are now supported in std and core macros.][48056]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1917" href="#L1917">1917</a><span class="code-text">- [Implemented `Copy, Clone` for `cmp::Reverse`][47379]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1918" href="#L1918">1918</a><span class="code-text">- [Implemented `Clone` for `char::{ToLowercase, ToUppercase}`.][48629]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1919" href="#L1919">1919</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1920" href="#L1920">1920</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1921" href="#L1921">1921</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1922" href="#L1922">1922</a><span class="code-text">- [`*const T::add`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1923" href="#L1923">1923</a><span class="code-text">- [`*const T::copy_to_nonoverlapping`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1924" href="#L1924">1924</a><span class="code-text">- [`*const T::copy_to`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1925" href="#L1925">1925</a><span class="code-text">- [`*const T::read_unaligned`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1926" href="#L1926">1926</a><span class="code-text">- [`*const T::read_volatile`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1927" href="#L1927">1927</a><span class="code-text">- [`*const T::read`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1928" href="#L1928">1928</a><span class="code-text">- [`*const T::sub`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1929" href="#L1929">1929</a><span class="code-text">- [`*const T::wrapping_add`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1930" href="#L1930">1930</a><span class="code-text">- [`*const T::wrapping_sub`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1931" href="#L1931">1931</a><span class="code-text">- [`*mut T::add`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1932" href="#L1932">1932</a><span class="code-text">- [`*mut T::copy_to_nonoverlapping`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1933" href="#L1933">1933</a><span class="code-text">- [`*mut T::copy_to`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1934" href="#L1934">1934</a><span class="code-text">- [`*mut T::read_unaligned`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1935" href="#L1935">1935</a><span class="code-text">- [`*mut T::read_volatile`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1936" href="#L1936">1936</a><span class="code-text">- [`*mut T::read`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1937" href="#L1937">1937</a><span class="code-text">- [`*mut T::replace`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1938" href="#L1938">1938</a><span class="code-text">- [`*mut T::sub`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1939" href="#L1939">1939</a><span class="code-text">- [`*mut T::swap`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1940" href="#L1940">1940</a><span class="code-text">- [`*mut T::wrapping_add`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1941" href="#L1941">1941</a><span class="code-text">- [`*mut T::wrapping_sub`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1942" href="#L1942">1942</a><span class="code-text">- [`*mut T::write_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1943" href="#L1943">1943</a><span class="code-text">- [`*mut T::write_unaligned`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1944" href="#L1944">1944</a><span class="code-text">- [`*mut T::write_volatile`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1945" href="#L1945">1945</a><span class="code-text">- [`*mut T::write`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1946" href="#L1946">1946</a><span class="code-text">- [`Box::leak`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1947" href="#L1947">1947</a><span class="code-text">- [`FromUtf8Error::as_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1948" href="#L1948">1948</a><span class="code-text">- [`LocalKey::try_with`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1949" href="#L1949">1949</a><span class="code-text">- [`Option::cloned`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1950" href="#L1950">1950</a><span class="code-text">- [`btree_map::Entry::and_modify`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1951" href="#L1951">1951</a><span class="code-text">- [`fs::read_to_string`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1952" href="#L1952">1952</a><span class="code-text">- [`fs::read`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1953" href="#L1953">1953</a><span class="code-text">- [`fs::write`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1954" href="#L1954">1954</a><span class="code-text">- [`hash_map::Entry::and_modify`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1955" href="#L1955">1955</a><span class="code-text">- [`iter::FusedIterator`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1956" href="#L1956">1956</a><span class="code-text">- [`ops::RangeInclusive`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1957" href="#L1957">1957</a><span class="code-text">- [`ops::RangeToInclusive`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1958" href="#L1958">1958</a><span class="code-text">- [`process::id`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1959" href="#L1959">1959</a><span class="code-text">- [`slice::rotate_left`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1960" href="#L1960">1960</a><span class="code-text">- [`slice::rotate_right`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1961" href="#L1961">1961</a><span class="code-text">- [`String::retain`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1962" href="#L1962">1962</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1963" href="#L1963">1963</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1964" href="#L1964">1964</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1965" href="#L1965">1965</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1966" href="#L1966">1966</a><span class="code-text">- [Cargo will now output path to custom commands when `-v` is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1967" href="#L1967">1967</a><span class="code-text">  passed with `--list`][cargo/5041]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1968" href="#L1968">1968</a><span class="code-text">- [The Cargo binary version is now the same as the Rust version][cargo/5083]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1969" href="#L1969">1969</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1970" href="#L1970">1970</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1971" href="#L1971">1971</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1972" href="#L1972">1972</a><span class="code-text">- [The second edition of &quot;The Rust Programming Language&quot; book is now recommended</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1973" href="#L1973">1973</a><span class="code-text">  over the first.][48404]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1974" href="#L1974">1974</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1975" href="#L1975">1975</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1976" href="#L1976">1976</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1977" href="#L1977">1977</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1978" href="#L1978">1978</a><span class="code-text">- [aliasing a `Fn` trait as `dyn` no longer works.][48481] E.g. the following</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1979" href="#L1979">1979</a><span class="code-text">  syntax is now invalid.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1980" href="#L1980">1980</a><span class="code-text">  ```</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1981" href="#L1981">1981</a><span class="code-text">  use std::ops::Fn as dyn;</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1982" href="#L1982">1982</a><span class="code-text">  fn g(_: Box&lt;dyn(std::fmt::Debug)&gt;) {}</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1983" href="#L1983">1983</a><span class="code-text">  ```</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1984" href="#L1984">1984</a><span class="code-text">- [The result of dereferences are no longer promoted to `'static`.][47408]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1985" href="#L1985">1985</a><span class="code-text">  e.g.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1986" href="#L1986">1986</a><span class="code-text">  ```rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1987" href="#L1987">1987</a><span class="code-text">  fn main() {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1988" href="#L1988">1988</a><span class="code-text">      const PAIR: &amp;(i32, i32) = &amp;(0, 1);</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1989" href="#L1989">1989</a><span class="code-text">      let _reversed_pair: &amp;'static _ = &amp;(PAIR.1, PAIR.0); // Doesn't work</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1990" href="#L1990">1990</a><span class="code-text">  }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1991" href="#L1991">1991</a><span class="code-text">  ```</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1992" href="#L1992">1992</a><span class="code-text">- [Deprecate `AsciiExt` trait in favor of inherent methods.][49109]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1993" href="#L1993">1993</a><span class="code-text">- [`&quot;.e0&quot;` will now no longer parse as `0.0` and will instead cause</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1994" href="#L1994">1994</a><span class="code-text">  an error.][48235]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1995" href="#L1995">1995</a><span class="code-text">- [Removed hoedown from rustdoc.][48274]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1996" href="#L1996">1996</a><span class="code-text">- [Bounds on higher-kinded lifetimes a hard error.][48326]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1997" href="#L1997">1997</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1998" href="#L1998">1998</a><span class="code-text">[46882]: https://github.com/rust-lang/rust/pull/46882</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L1999" href="#L1999">1999</a><span class="code-text">[47379]: https://github.com/rust-lang/rust/pull/47379</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2000" href="#L2000">2000</a><span class="code-text">[47408]: https://github.com/rust-lang/rust/pull/47408</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2001" href="#L2001">2001</a><span class="code-text">[47813]: https://github.com/rust-lang/rust/pull/47813</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2002" href="#L2002">2002</a><span class="code-text">[48056]: https://github.com/rust-lang/rust/pull/48056</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2003" href="#L2003">2003</a><span class="code-text">[48125]: https://github.com/rust-lang/rust/pull/48125</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2004" href="#L2004">2004</a><span class="code-text">[48166]: https://github.com/rust-lang/rust/pull/48166</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2005" href="#L2005">2005</a><span class="code-text">[48235]: https://github.com/rust-lang/rust/pull/48235</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2006" href="#L2006">2006</a><span class="code-text">[48274]: https://github.com/rust-lang/rust/pull/48274</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2007" href="#L2007">2007</a><span class="code-text">[48281]: https://github.com/rust-lang/rust/pull/48281</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2008" href="#L2008">2008</a><span class="code-text">[48296]: https://github.com/rust-lang/rust/pull/48296</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2009" href="#L2009">2009</a><span class="code-text">[48326]: https://github.com/rust-lang/rust/pull/48326</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2010" href="#L2010">2010</a><span class="code-text">[48359]: https://github.com/rust-lang/rust/pull/48359</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2011" href="#L2011">2011</a><span class="code-text">[48404]: https://github.com/rust-lang/rust/pull/48404</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2012" href="#L2012">2012</a><span class="code-text">[48481]: https://github.com/rust-lang/rust/pull/48481</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2013" href="#L2013">2013</a><span class="code-text">[48516]: https://github.com/rust-lang/rust/pull/48516</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2014" href="#L2014">2014</a><span class="code-text">[48628]: https://github.com/rust-lang/rust/pull/48628</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2015" href="#L2015">2015</a><span class="code-text">[48629]: https://github.com/rust-lang/rust/pull/48629</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2016" href="#L2016">2016</a><span class="code-text">[48657]: https://github.com/rust-lang/rust/pull/48657</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2017" href="#L2017">2017</a><span class="code-text">[48735]: https://github.com/rust-lang/rust/pull/48735</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2018" href="#L2018">2018</a><span class="code-text">[48978]: https://github.com/rust-lang/rust/pull/48978</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2019" href="#L2019">2019</a><span class="code-text">[49101]: https://github.com/rust-lang/rust/pull/49101</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2020" href="#L2020">2020</a><span class="code-text">[49109]: https://github.com/rust-lang/rust/pull/49109</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2021" href="#L2021">2021</a><span class="code-text">[49121]: https://github.com/rust-lang/rust/pull/49121</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2022" href="#L2022">2022</a><span class="code-text">[49162]: https://github.com/rust-lang/rust/pull/49162</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2023" href="#L2023">2023</a><span class="code-text">[49184]: https://github.com/rust-lang/rust/pull/49184</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2024" href="#L2024">2024</a><span class="code-text">[49234]: https://github.com/rust-lang/rust/pull/49234</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2025" href="#L2025">2025</a><span class="code-text">[49255]: https://github.com/rust-lang/rust/pull/49255</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2026" href="#L2026">2026</a><span class="code-text">[49299]: https://github.com/rust-lang/rust/pull/49299</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2027" href="#L2027">2027</a><span class="code-text">[49305]: https://github.com/rust-lang/rust/pull/49305</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2028" href="#L2028">2028</a><span class="code-text">[49394]: https://github.com/rust-lang/rust/pull/49394</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2029" href="#L2029">2029</a><span class="code-text">[49458]: https://github.com/rust-lang/rust/pull/49458</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2030" href="#L2030">2030</a><span class="code-text">[`*const T::add`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.add</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2031" href="#L2031">2031</a><span class="code-text">[`*const T::copy_to_nonoverlapping`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.copy_to_nonoverlapping</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2032" href="#L2032">2032</a><span class="code-text">[`*const T::copy_to`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.copy_to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2033" href="#L2033">2033</a><span class="code-text">[`*const T::read_unaligned`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.read_unaligned</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2034" href="#L2034">2034</a><span class="code-text">[`*const T::read_volatile`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.read_volatile</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2035" href="#L2035">2035</a><span class="code-text">[`*const T::read`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.read</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2036" href="#L2036">2036</a><span class="code-text">[`*const T::sub`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.sub</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2037" href="#L2037">2037</a><span class="code-text">[`*const T::wrapping_add`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.wrapping_add</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2038" href="#L2038">2038</a><span class="code-text">[`*const T::wrapping_sub`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.wrapping_sub</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2039" href="#L2039">2039</a><span class="code-text">[`*mut T::add`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.add-1</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2040" href="#L2040">2040</a><span class="code-text">[`*mut T::copy_to_nonoverlapping`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.copy_to_nonoverlapping-1</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2041" href="#L2041">2041</a><span class="code-text">[`*mut T::copy_to`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.copy_to-1</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2042" href="#L2042">2042</a><span class="code-text">[`*mut T::read_unaligned`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.read_unaligned-1</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2043" href="#L2043">2043</a><span class="code-text">[`*mut T::read_volatile`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.read_volatile-1</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2044" href="#L2044">2044</a><span class="code-text">[`*mut T::read`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.read-1</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2045" href="#L2045">2045</a><span class="code-text">[`*mut T::replace`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.replace</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2046" href="#L2046">2046</a><span class="code-text">[`*mut T::sub`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.sub-1</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2047" href="#L2047">2047</a><span class="code-text">[`*mut T::swap`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.swap</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2048" href="#L2048">2048</a><span class="code-text">[`*mut T::wrapping_add`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.wrapping_add-1</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2049" href="#L2049">2049</a><span class="code-text">[`*mut T::wrapping_sub`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.wrapping_sub-1</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2050" href="#L2050">2050</a><span class="code-text">[`*mut T::write_bytes`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.write_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2051" href="#L2051">2051</a><span class="code-text">[`*mut T::write_unaligned`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.write_unaligned</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2052" href="#L2052">2052</a><span class="code-text">[`*mut T::write_volatile`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.write_volatile</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2053" href="#L2053">2053</a><span class="code-text">[`*mut T::write`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.write</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2054" href="#L2054">2054</a><span class="code-text">[`Box::leak`]: https://doc.rust-lang.org/std/boxed/struct.Box.html#method.leak</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2055" href="#L2055">2055</a><span class="code-text">[`FromUtf8Error::as_bytes`]: https://doc.rust-lang.org/std/string/struct.FromUtf8Error.html#method.as_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2056" href="#L2056">2056</a><span class="code-text">[`LocalKey::try_with`]: https://doc.rust-lang.org/std/thread/struct.LocalKey.html#method.try_with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2057" href="#L2057">2057</a><span class="code-text">[`Option::cloned`]: https://doc.rust-lang.org/std/option/enum.Option.html#method.cloned</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2058" href="#L2058">2058</a><span class="code-text">[`btree_map::Entry::and_modify`]: https://doc.rust-lang.org/std/collections/btree_map/enum.Entry.html#method.and_modify</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2059" href="#L2059">2059</a><span class="code-text">[`fs::read_to_string`]: https://doc.rust-lang.org/std/fs/fn.read_to_string.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2060" href="#L2060">2060</a><span class="code-text">[`fs::read`]: https://doc.rust-lang.org/std/fs/fn.read.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2061" href="#L2061">2061</a><span class="code-text">[`fs::write`]: https://doc.rust-lang.org/std/fs/fn.write.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2062" href="#L2062">2062</a><span class="code-text">[`hash_map::Entry::and_modify`]: https://doc.rust-lang.org/std/collections/hash_map/enum.Entry.html#method.and_modify</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2063" href="#L2063">2063</a><span class="code-text">[`iter::FusedIterator`]: https://doc.rust-lang.org/std/iter/trait.FusedIterator.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2064" href="#L2064">2064</a><span class="code-text">[`ops::RangeInclusive`]: https://doc.rust-lang.org/std/ops/struct.RangeInclusive.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2065" href="#L2065">2065</a><span class="code-text">[`ops::RangeToInclusive`]: https://doc.rust-lang.org/std/ops/struct.RangeToInclusive.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2066" href="#L2066">2066</a><span class="code-text">[`process::id`]: https://doc.rust-lang.org/std/process/fn.id.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2067" href="#L2067">2067</a><span class="code-text">[`slice::rotate_left`]: https://doc.rust-lang.org/std/primitive.slice.html#method.rotate_left</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2068" href="#L2068">2068</a><span class="code-text">[`slice::rotate_right`]: https://doc.rust-lang.org/std/primitive.slice.html#method.rotate_right</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2069" href="#L2069">2069</a><span class="code-text">[`String::retain`]: https://doc.rust-lang.org/std/string/struct.String.html#method.retain</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2070" href="#L2070">2070</a><span class="code-text">[cargo/5041]: https://github.com/rust-lang/cargo/pull/5041</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2071" href="#L2071">2071</a><span class="code-text">[cargo/5083]: https://github.com/rust-lang/cargo/pull/5083</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2072" href="#L2072">2072</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2073" href="#L2073">2073</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2074" href="#L2074">2074</a><span class="code-text">Version 1.25.0 (2018-03-29)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2075" href="#L2075">2075</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2076" href="#L2076">2076</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2077" href="#L2077">2077</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2078" href="#L2078">2078</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2079" href="#L2079">2079</a><span class="code-text">- [The `#[repr(align(x))]` attribute is now stable.][47006] [RFC 1358]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2080" href="#L2080">2080</a><span class="code-text">- [You can now use nested groups of imports.][47948]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2081" href="#L2081">2081</a><span class="code-text">  e.g. `use std::{fs::File, io::Read, path::{Path, PathBuf}};`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2082" href="#L2082">2082</a><span class="code-text">- [You can now have `|` at the start of a match arm.][47947] e.g.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2083" href="#L2083">2083</a><span class="code-text">```rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2084" href="#L2084">2084</a><span class="code-text">enum Foo { A, B, C }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2085" href="#L2085">2085</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2086" href="#L2086">2086</a><span class="code-text">fn main() {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2087" href="#L2087">2087</a><span class="code-text">    let x = Foo::A;</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2088" href="#L2088">2088</a><span class="code-text">    match x {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2089" href="#L2089">2089</a><span class="code-text">        | Foo::A</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2090" href="#L2090">2090</a><span class="code-text">        | Foo::B =&gt; println!(&quot;AB&quot;),</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2091" href="#L2091">2091</a><span class="code-text">        | Foo::C =&gt; println!(&quot;C&quot;),</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2092" href="#L2092">2092</a><span class="code-text">    }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2093" href="#L2093">2093</a><span class="code-text">}</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2094" href="#L2094">2094</a><span class="code-text">```</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2095" href="#L2095">2095</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2096" href="#L2096">2096</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2097" href="#L2097">2097</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2098" href="#L2098">2098</a><span class="code-text">- [Upgraded to LLVM 6.][47828]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2099" href="#L2099">2099</a><span class="code-text">- [Added `-C lto=val` option.][47521]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2100" href="#L2100">2100</a><span class="code-text">- [Added `i586-unknown-linux-musl` target][47282]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2101" href="#L2101">2101</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2102" href="#L2102">2102</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2103" href="#L2103">2103</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2104" href="#L2104">2104</a><span class="code-text">- [Impl Send for `process::Command` on Unix.][47760]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2105" href="#L2105">2105</a><span class="code-text">- [Impl PartialEq and Eq for `ParseCharError`.][47790]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2106" href="#L2106">2106</a><span class="code-text">- [`UnsafeCell::into_inner` is now safe.][47204]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2107" href="#L2107">2107</a><span class="code-text">- [Implement libstd for CloudABI.][47268]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2108" href="#L2108">2108</a><span class="code-text">- [`Float::{from_bits, to_bits}` is now available in libcore.][46931]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2109" href="#L2109">2109</a><span class="code-text">- [Implement `AsRef&lt;Path&gt;` for Component][46985]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2110" href="#L2110">2110</a><span class="code-text">- [Implemented `Write` for `Cursor&lt;&amp;mut Vec&lt;u8&gt;&gt;`][46830]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2111" href="#L2111">2111</a><span class="code-text">- [Moved `Duration` to libcore.][46666]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2112" href="#L2112">2112</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2113" href="#L2113">2113</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2114" href="#L2114">2114</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2115" href="#L2115">2115</a><span class="code-text">- [`Location::column`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2116" href="#L2116">2116</a><span class="code-text">- [`ptr::NonNull`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2117" href="#L2117">2117</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2118" href="#L2118">2118</a><span class="code-text">The following functions can now be used in a constant expression.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2119" href="#L2119">2119</a><span class="code-text">eg. `static MINUTE: Duration = Duration::from_secs(60);`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2120" href="#L2120">2120</a><span class="code-text">- [`Duration::new`][47300]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2121" href="#L2121">2121</a><span class="code-text">- [`Duration::from_secs`][47300]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2122" href="#L2122">2122</a><span class="code-text">- [`Duration::from_millis`][47300]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2123" href="#L2123">2123</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2124" href="#L2124">2124</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2125" href="#L2125">2125</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2126" href="#L2126">2126</a><span class="code-text">- [`cargo new` no longer removes `rust` or `rs` prefixs/suffixs.][cargo/5013]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2127" href="#L2127">2127</a><span class="code-text">- [`cargo new` now defaults to creating a binary crate, instead of a</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2128" href="#L2128">2128</a><span class="code-text">  library crate.][cargo/5029]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2129" href="#L2129">2129</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2130" href="#L2130">2130</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2131" href="#L2131">2131</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2132" href="#L2132">2132</a><span class="code-text">- [Rust by example is now shipped with new releases][46196]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2133" href="#L2133">2133</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2134" href="#L2134">2134</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2135" href="#L2135">2135</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2136" href="#L2136">2136</a><span class="code-text">- [Deprecated `net::lookup_host`.][47510]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2137" href="#L2137">2137</a><span class="code-text">- [`rustdoc` has switched to pulldown as the default markdown renderer.][47398]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2138" href="#L2138">2138</a><span class="code-text">- The borrow checker was sometimes incorrectly permitting overlapping borrows</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2139" href="#L2139">2139</a><span class="code-text">  around indexing operations (see [#47349][47349]). This has been fixed (which also</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2140" href="#L2140">2140</a><span class="code-text">  enabled some correct code that used to cause errors (e.g. [#33903][33903] and [#46095][46095]).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2141" href="#L2141">2141</a><span class="code-text">- [Removed deprecated unstable attribute `#[simd]`.][47251]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2142" href="#L2142">2142</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2143" href="#L2143">2143</a><span class="code-text">[33903]: https://github.com/rust-lang/rust/pull/33903</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2144" href="#L2144">2144</a><span class="code-text">[47947]: https://github.com/rust-lang/rust/pull/47947</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2145" href="#L2145">2145</a><span class="code-text">[47948]: https://github.com/rust-lang/rust/pull/47948</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2146" href="#L2146">2146</a><span class="code-text">[47760]: https://github.com/rust-lang/rust/pull/47760</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2147" href="#L2147">2147</a><span class="code-text">[47790]: https://github.com/rust-lang/rust/pull/47790</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2148" href="#L2148">2148</a><span class="code-text">[47828]: https://github.com/rust-lang/rust/pull/47828</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2149" href="#L2149">2149</a><span class="code-text">[47398]: https://github.com/rust-lang/rust/pull/47398</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2150" href="#L2150">2150</a><span class="code-text">[47510]: https://github.com/rust-lang/rust/pull/47510</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2151" href="#L2151">2151</a><span class="code-text">[47521]: https://github.com/rust-lang/rust/pull/47521</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2152" href="#L2152">2152</a><span class="code-text">[47204]: https://github.com/rust-lang/rust/pull/47204</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2153" href="#L2153">2153</a><span class="code-text">[47251]: https://github.com/rust-lang/rust/pull/47251</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2154" href="#L2154">2154</a><span class="code-text">[47268]: https://github.com/rust-lang/rust/pull/47268</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2155" href="#L2155">2155</a><span class="code-text">[47282]: https://github.com/rust-lang/rust/pull/47282</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2156" href="#L2156">2156</a><span class="code-text">[47300]: https://github.com/rust-lang/rust/pull/47300</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2157" href="#L2157">2157</a><span class="code-text">[47349]: https://github.com/rust-lang/rust/pull/47349</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2158" href="#L2158">2158</a><span class="code-text">[46931]: https://github.com/rust-lang/rust/pull/46931</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2159" href="#L2159">2159</a><span class="code-text">[46985]: https://github.com/rust-lang/rust/pull/46985</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2160" href="#L2160">2160</a><span class="code-text">[47006]: https://github.com/rust-lang/rust/pull/47006</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2161" href="#L2161">2161</a><span class="code-text">[46830]: https://github.com/rust-lang/rust/pull/46830</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2162" href="#L2162">2162</a><span class="code-text">[46095]: https://github.com/rust-lang/rust/pull/46095</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2163" href="#L2163">2163</a><span class="code-text">[46666]: https://github.com/rust-lang/rust/pull/46666</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2164" href="#L2164">2164</a><span class="code-text">[46196]: https://github.com/rust-lang/rust/pull/46196</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2165" href="#L2165">2165</a><span class="code-text">[cargo/5013]: https://github.com/rust-lang/cargo/pull/5013</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2166" href="#L2166">2166</a><span class="code-text">[cargo/5029]: https://github.com/rust-lang/cargo/pull/5029</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2167" href="#L2167">2167</a><span class="code-text">[RFC 1358]: https://github.com/rust-lang/rfcs/pull/1358</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2168" href="#L2168">2168</a><span class="code-text">[`Location::column`]: https://doc.rust-lang.org/std/panic/struct.Location.html#method.column</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2169" href="#L2169">2169</a><span class="code-text">[`ptr::NonNull`]: https://doc.rust-lang.org/std/ptr/struct.NonNull.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2170" href="#L2170">2170</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2171" href="#L2171">2171</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2172" href="#L2172">2172</a><span class="code-text">Version 1.24.1 (2018-03-01)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2173" href="#L2173">2173</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2174" href="#L2174">2174</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2175" href="#L2175">2175</a><span class="code-text"> - [Do not abort when unwinding through FFI][48251]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2176" href="#L2176">2176</a><span class="code-text"> - [Emit UTF-16 files for linker arguments on Windows][48318]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2177" href="#L2177">2177</a><span class="code-text"> - [Make the error index generator work again][48308]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2178" href="#L2178">2178</a><span class="code-text"> - [Cargo will warn on Windows 7 if an update is needed][cargo/5069].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2179" href="#L2179">2179</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2180" href="#L2180">2180</a><span class="code-text">[48251]: https://github.com/rust-lang/rust/issues/48251</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2181" href="#L2181">2181</a><span class="code-text">[48308]: https://github.com/rust-lang/rust/issues/48308</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2182" href="#L2182">2182</a><span class="code-text">[48318]: https://github.com/rust-lang/rust/issues/48318</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2183" href="#L2183">2183</a><span class="code-text">[cargo/5069]: https://github.com/rust-lang/cargo/pull/5069</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2184" href="#L2184">2184</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2185" href="#L2185">2185</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2186" href="#L2186">2186</a><span class="code-text">Version 1.24.0 (2018-02-15)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2187" href="#L2187">2187</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2188" href="#L2188">2188</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2189" href="#L2189">2189</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2190" href="#L2190">2190</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2191" href="#L2191">2191</a><span class="code-text">- [External `sysv64` ffi is now available.][46528]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2192" href="#L2192">2192</a><span class="code-text">  eg. `extern &quot;sysv64&quot; fn foo () {}`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2193" href="#L2193">2193</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2194" href="#L2194">2194</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2195" href="#L2195">2195</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2196" href="#L2196">2196</a><span class="code-text">- [rustc now uses 16 codegen units by default for release builds.][46910]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2197" href="#L2197">2197</a><span class="code-text">  For the fastest builds, utilize `codegen-units=1`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2198" href="#L2198">2198</a><span class="code-text">- [Added `armv4t-unknown-linux-gnueabi` target.][47018]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2199" href="#L2199">2199</a><span class="code-text">- [Add `aarch64-unknown-openbsd` support][46760]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2200" href="#L2200">2200</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2201" href="#L2201">2201</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2202" href="#L2202">2202</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2203" href="#L2203">2203</a><span class="code-text">- [`str::find::&lt;char&gt;` now uses memchr.][46735] This should lead to a 10x</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2204" href="#L2204">2204</a><span class="code-text">  improvement in performance in the majority of cases.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2205" href="#L2205">2205</a><span class="code-text">- [`OsStr`'s `Debug` implementation is now lossless and consistent</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2206" href="#L2206">2206</a><span class="code-text">  with Windows.][46798]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2207" href="#L2207">2207</a><span class="code-text">- [`time::{SystemTime, Instant}` now implement `Hash`.][46828]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2208" href="#L2208">2208</a><span class="code-text">- [impl `From&lt;bool&gt;` for `AtomicBool`][46293]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2209" href="#L2209">2209</a><span class="code-text">- [impl `From&lt;{CString, &amp;CStr}&gt;` for `{Arc&lt;CStr&gt;, Rc&lt;CStr&gt;}`][45990]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2210" href="#L2210">2210</a><span class="code-text">- [impl `From&lt;{OsString, &amp;OsStr}&gt;` for `{Arc&lt;OsStr&gt;, Rc&lt;OsStr&gt;}`][45990]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2211" href="#L2211">2211</a><span class="code-text">- [impl `From&lt;{PathBuf, &amp;Path}&gt;` for `{Arc&lt;Path&gt;, Rc&lt;Path&gt;}`][45990]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2212" href="#L2212">2212</a><span class="code-text">- [float::from_bits now just uses transmute.][46012] This provides</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2213" href="#L2213">2213</a><span class="code-text">  some optimisations from LLVM.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2214" href="#L2214">2214</a><span class="code-text">- [Copied `AsciiExt` methods onto `char`][46077]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2215" href="#L2215">2215</a><span class="code-text">- [Remove `T: Sized` requirement on `ptr::is_null()`][46094]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2216" href="#L2216">2216</a><span class="code-text">- [impl `From&lt;RecvError&gt;` for `{TryRecvError, RecvTimeoutError}`][45506]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2217" href="#L2217">2217</a><span class="code-text">- [Optimised `f32::{min, max}` to generate more efficient x86 assembly][47080]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2218" href="#L2218">2218</a><span class="code-text">- [`[u8]::contains` now uses memchr which provides a 3x speed improvement][46713]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2219" href="#L2219">2219</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2220" href="#L2220">2220</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2221" href="#L2221">2221</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2222" href="#L2222">2222</a><span class="code-text">- [`RefCell::replace`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2223" href="#L2223">2223</a><span class="code-text">- [`RefCell::swap`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2224" href="#L2224">2224</a><span class="code-text">- [`atomic::spin_loop_hint`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2225" href="#L2225">2225</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2226" href="#L2226">2226</a><span class="code-text">The following functions can now be used in a constant expression.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2227" href="#L2227">2227</a><span class="code-text">eg. `let buffer: [u8; size_of::&lt;usize&gt;()];`, `static COUNTER: AtomicUsize = AtomicUsize::new(1);`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2228" href="#L2228">2228</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2229" href="#L2229">2229</a><span class="code-text">- [`AtomicBool::new`][46287]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2230" href="#L2230">2230</a><span class="code-text">- [`AtomicUsize::new`][46287]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2231" href="#L2231">2231</a><span class="code-text">- [`AtomicIsize::new`][46287]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2232" href="#L2232">2232</a><span class="code-text">- [`AtomicPtr::new`][46287]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2233" href="#L2233">2233</a><span class="code-text">- [`Cell::new`][46287]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2234" href="#L2234">2234</a><span class="code-text">- [`{integer}::min_value`][46287]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2235" href="#L2235">2235</a><span class="code-text">- [`{integer}::max_value`][46287]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2236" href="#L2236">2236</a><span class="code-text">- [`mem::size_of`][46287]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2237" href="#L2237">2237</a><span class="code-text">- [`mem::align_of`][46287]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2238" href="#L2238">2238</a><span class="code-text">- [`ptr::null`][46287]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2239" href="#L2239">2239</a><span class="code-text">- [`ptr::null_mut`][46287]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2240" href="#L2240">2240</a><span class="code-text">- [`RefCell::new`][46287]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2241" href="#L2241">2241</a><span class="code-text">- [`UnsafeCell::new`][46287]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2242" href="#L2242">2242</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2243" href="#L2243">2243</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2244" href="#L2244">2244</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2245" href="#L2245">2245</a><span class="code-text">- [Added a `workspace.default-members` config that</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2246" href="#L2246">2246</a><span class="code-text">  overrides implied `--all` in virtual workspaces.][cargo/4743]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2247" href="#L2247">2247</a><span class="code-text">- [Enable incremental by default on development builds.][cargo/4817] Also added</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2248" href="#L2248">2248</a><span class="code-text">  configuration keys to `Cargo.toml` and `.cargo/config` to disable on a</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2249" href="#L2249">2249</a><span class="code-text">  per-project or global basis respectively.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2250" href="#L2250">2250</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2251" href="#L2251">2251</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2252" href="#L2252">2252</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2253" href="#L2253">2253</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2254" href="#L2254">2254</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2255" href="#L2255">2255</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2256" href="#L2256">2256</a><span class="code-text">- [Floating point types `Debug` impl now always prints a decimal point.][46831]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2257" href="#L2257">2257</a><span class="code-text">- [`Ipv6Addr` now rejects superfluous `::`'s in IPv6 addresses][46671] This is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2258" href="#L2258">2258</a><span class="code-text">  in accordance with IETF RFC 4291 §2.2.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2259" href="#L2259">2259</a><span class="code-text">- [Unwinding will no longer go past FFI boundaries, and will instead abort.][46833]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2260" href="#L2260">2260</a><span class="code-text">- [`Formatter::flags` method is now deprecated.][46284] The `sign_plus`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2261" href="#L2261">2261</a><span class="code-text">  `sign_minus`, `alternate`, and `sign_aware_zero_pad` should be used instead.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2262" href="#L2262">2262</a><span class="code-text">- [Leading zeros in tuple struct members is now an error][47084]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2263" href="#L2263">2263</a><span class="code-text">- [`column!()` macro is one-based instead of zero-based][46977]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2264" href="#L2264">2264</a><span class="code-text">- [`fmt::Arguments` can no longer be shared across threads][45198]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2265" href="#L2265">2265</a><span class="code-text">- [Access to `#[repr(packed)]` struct fields is now unsafe][44884]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2266" href="#L2266">2266</a><span class="code-text">- [Cargo sets a different working directory for the compiler][cargo/4788]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2267" href="#L2267">2267</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2268" href="#L2268">2268</a><span class="code-text">[44884]: https://github.com/rust-lang/rust/pull/44884</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2269" href="#L2269">2269</a><span class="code-text">[45198]: https://github.com/rust-lang/rust/pull/45198</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2270" href="#L2270">2270</a><span class="code-text">[45506]: https://github.com/rust-lang/rust/pull/45506</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2271" href="#L2271">2271</a><span class="code-text">[45904]: https://github.com/rust-lang/rust/pull/45904</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2272" href="#L2272">2272</a><span class="code-text">[45990]: https://github.com/rust-lang/rust/pull/45990</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2273" href="#L2273">2273</a><span class="code-text">[46012]: https://github.com/rust-lang/rust/pull/46012</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2274" href="#L2274">2274</a><span class="code-text">[46077]: https://github.com/rust-lang/rust/pull/46077</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2275" href="#L2275">2275</a><span class="code-text">[46094]: https://github.com/rust-lang/rust/pull/46094</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2276" href="#L2276">2276</a><span class="code-text">[46284]: https://github.com/rust-lang/rust/pull/46284</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2277" href="#L2277">2277</a><span class="code-text">[46287]: https://github.com/rust-lang/rust/pull/46287</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2278" href="#L2278">2278</a><span class="code-text">[46293]: https://github.com/rust-lang/rust/pull/46293</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2279" href="#L2279">2279</a><span class="code-text">[46528]: https://github.com/rust-lang/rust/pull/46528</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2280" href="#L2280">2280</a><span class="code-text">[46671]: https://github.com/rust-lang/rust/pull/46671</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2281" href="#L2281">2281</a><span class="code-text">[46713]: https://github.com/rust-lang/rust/pull/46713</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2282" href="#L2282">2282</a><span class="code-text">[46735]: https://github.com/rust-lang/rust/pull/46735</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2283" href="#L2283">2283</a><span class="code-text">[46749]: https://github.com/rust-lang/rust/pull/46749</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2284" href="#L2284">2284</a><span class="code-text">[46760]: https://github.com/rust-lang/rust/pull/46760</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2285" href="#L2285">2285</a><span class="code-text">[46798]: https://github.com/rust-lang/rust/pull/46798</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2286" href="#L2286">2286</a><span class="code-text">[46828]: https://github.com/rust-lang/rust/pull/46828</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2287" href="#L2287">2287</a><span class="code-text">[46831]: https://github.com/rust-lang/rust/pull/46831</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2288" href="#L2288">2288</a><span class="code-text">[46833]: https://github.com/rust-lang/rust/pull/46833</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2289" href="#L2289">2289</a><span class="code-text">[46910]: https://github.com/rust-lang/rust/pull/46910</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2290" href="#L2290">2290</a><span class="code-text">[46977]: https://github.com/rust-lang/rust/pull/46977</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2291" href="#L2291">2291</a><span class="code-text">[47018]: https://github.com/rust-lang/rust/pull/47018</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2292" href="#L2292">2292</a><span class="code-text">[47080]: https://github.com/rust-lang/rust/pull/47080</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2293" href="#L2293">2293</a><span class="code-text">[47084]: https://github.com/rust-lang/rust/pull/47084</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2294" href="#L2294">2294</a><span class="code-text">[cargo/4743]: https://github.com/rust-lang/cargo/pull/4743</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2295" href="#L2295">2295</a><span class="code-text">[cargo/4788]: https://github.com/rust-lang/cargo/pull/4788</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2296" href="#L2296">2296</a><span class="code-text">[cargo/4817]: https://github.com/rust-lang/cargo/pull/4817</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2297" href="#L2297">2297</a><span class="code-text">[`RefCell::replace`]: https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.replace</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2298" href="#L2298">2298</a><span class="code-text">[`RefCell::swap`]: https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.swap</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2299" href="#L2299">2299</a><span class="code-text">[`atomic::spin_loop_hint`]: https://doc.rust-lang.org/std/sync/atomic/fn.spin_loop_hint.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2300" href="#L2300">2300</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2301" href="#L2301">2301</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2302" href="#L2302">2302</a><span class="code-text">Version 1.23.0 (2018-01-04)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2303" href="#L2303">2303</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2304" href="#L2304">2304</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2305" href="#L2305">2305</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2306" href="#L2306">2306</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2307" href="#L2307">2307</a><span class="code-text">- [Arbitrary `auto` traits are now permitted in trait objects.][45772]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2308" href="#L2308">2308</a><span class="code-text">- [rustc now uses subtyping on the left hand side of binary operations.][45435]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2309" href="#L2309">2309</a><span class="code-text">  Which should fix some confusing errors in some operations.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2310" href="#L2310">2310</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2311" href="#L2311">2311</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2312" href="#L2312">2312</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2313" href="#L2313">2313</a><span class="code-text">- [Enabled `TrapUnreachable` in LLVM which should mitigate the impact of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2314" href="#L2314">2314</a><span class="code-text">  undefined behavior.][45920]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2315" href="#L2315">2315</a><span class="code-text">- [rustc now suggests renaming import if names clash.][45660]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2316" href="#L2316">2316</a><span class="code-text">- [Display errors/warnings correctly when there are zero-width or</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2317" href="#L2317">2317</a><span class="code-text">  wide characters.][45711]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2318" href="#L2318">2318</a><span class="code-text">- [rustc now avoids unnecessary copies of arguments that are</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2319" href="#L2319">2319</a><span class="code-text">  simple bindings][45380] This should improve memory usage on average by 5-10%.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2320" href="#L2320">2320</a><span class="code-text">- [Updated musl used to build musl rustc to 1.1.17][45393]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2321" href="#L2321">2321</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2322" href="#L2322">2322</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2323" href="#L2323">2323</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2324" href="#L2324">2324</a><span class="code-text">- [Allow a trailing comma in `assert_eq/ne` macro][45887]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2325" href="#L2325">2325</a><span class="code-text">- [Implement Hash for raw pointers to unsized types][45483]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2326" href="#L2326">2326</a><span class="code-text">- [impl `From&lt;*mut T&gt;` for `AtomicPtr&lt;T&gt;`][45610]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2327" href="#L2327">2327</a><span class="code-text">- [impl `From&lt;usize/isize&gt;` for `AtomicUsize/AtomicIsize`.][45610]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2328" href="#L2328">2328</a><span class="code-text">- [Removed the `T: Sync` requirement for `RwLock&lt;T&gt;: Send`][45267]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2329" href="#L2329">2329</a><span class="code-text">- [Removed `T: Sized` requirement for `{&lt;*const T&gt;, &lt;*mut T&gt;}::as_ref`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2330" href="#L2330">2330</a><span class="code-text">  and `&lt;*mut T&gt;::as_mut`][44932]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2331" href="#L2331">2331</a><span class="code-text">- [Optimized `Thread::{park, unpark}` implementation][45524]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2332" href="#L2332">2332</a><span class="code-text">- [Improved `SliceExt::binary_search` performance.][45333]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2333" href="#L2333">2333</a><span class="code-text">- [impl `FromIterator&lt;()&gt;` for `()`][45379]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2334" href="#L2334">2334</a><span class="code-text">- [Copied `AsciiExt` trait methods to primitive types.][44042] Use of `AsciiExt`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2335" href="#L2335">2335</a><span class="code-text">  is now deprecated.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2336" href="#L2336">2336</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2337" href="#L2337">2337</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2338" href="#L2338">2338</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2339" href="#L2339">2339</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2340" href="#L2340">2340</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2341" href="#L2341">2341</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2342" href="#L2342">2342</a><span class="code-text">- [Cargo now supports uninstallation of multiple packages][cargo/4561]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2343" href="#L2343">2343</a><span class="code-text">  eg. `cargo uninstall foo bar` uninstalls `foo` and `bar`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2344" href="#L2344">2344</a><span class="code-text">- [Added unit test checking to `cargo check`][cargo/4592]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2345" href="#L2345">2345</a><span class="code-text">- [Cargo now lets you install a specific version</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2346" href="#L2346">2346</a><span class="code-text">  using `cargo install --version`][cargo/4637]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2347" href="#L2347">2347</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2348" href="#L2348">2348</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2349" href="#L2349">2349</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2350" href="#L2350">2350</a><span class="code-text">- [Releases now ship with the Cargo book documentation.][45692]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2351" href="#L2351">2351</a><span class="code-text">- [rustdoc now prints rendering warnings on every run.][45324]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2352" href="#L2352">2352</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2353" href="#L2353">2353</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2354" href="#L2354">2354</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2355" href="#L2355">2355</a><span class="code-text">- [Changes have been made to type equality to make it more correct,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2356" href="#L2356">2356</a><span class="code-text">  in rare cases this could break some code.][45853] [Tracking issue for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2357" href="#L2357">2357</a><span class="code-text">  further information][45852]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2358" href="#L2358">2358</a><span class="code-text">- [`char::escape_debug` now uses Unicode 10 over 9.][45571]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2359" href="#L2359">2359</a><span class="code-text">- [Upgraded Android SDK to 27, and NDK to r15c.][45580] This drops support for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2360" href="#L2360">2360</a><span class="code-text">  Android 9, the minimum supported version is Android 14.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2361" href="#L2361">2361</a><span class="code-text">- [Bumped the minimum LLVM to 3.9][45326]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2362" href="#L2362">2362</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2363" href="#L2363">2363</a><span class="code-text">[44042]: https://github.com/rust-lang/rust/pull/44042</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2364" href="#L2364">2364</a><span class="code-text">[44932]: https://github.com/rust-lang/rust/pull/44932</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2365" href="#L2365">2365</a><span class="code-text">[45267]: https://github.com/rust-lang/rust/pull/45267</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2366" href="#L2366">2366</a><span class="code-text">[45324]: https://github.com/rust-lang/rust/pull/45324</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2367" href="#L2367">2367</a><span class="code-text">[45326]: https://github.com/rust-lang/rust/pull/45326</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2368" href="#L2368">2368</a><span class="code-text">[45333]: https://github.com/rust-lang/rust/pull/45333</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2369" href="#L2369">2369</a><span class="code-text">[45379]: https://github.com/rust-lang/rust/pull/45379</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2370" href="#L2370">2370</a><span class="code-text">[45380]: https://github.com/rust-lang/rust/pull/45380</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2371" href="#L2371">2371</a><span class="code-text">[45393]: https://github.com/rust-lang/rust/pull/45393</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2372" href="#L2372">2372</a><span class="code-text">[45435]: https://github.com/rust-lang/rust/pull/45435</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2373" href="#L2373">2373</a><span class="code-text">[45483]: https://github.com/rust-lang/rust/pull/45483</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2374" href="#L2374">2374</a><span class="code-text">[45524]: https://github.com/rust-lang/rust/pull/45524</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2375" href="#L2375">2375</a><span class="code-text">[45571]: https://github.com/rust-lang/rust/pull/45571</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2376" href="#L2376">2376</a><span class="code-text">[45580]: https://github.com/rust-lang/rust/pull/45580</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2377" href="#L2377">2377</a><span class="code-text">[45610]: https://github.com/rust-lang/rust/pull/45610</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2378" href="#L2378">2378</a><span class="code-text">[45660]: https://github.com/rust-lang/rust/pull/45660</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2379" href="#L2379">2379</a><span class="code-text">[45692]: https://github.com/rust-lang/rust/pull/45692</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2380" href="#L2380">2380</a><span class="code-text">[45711]: https://github.com/rust-lang/rust/pull/45711</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2381" href="#L2381">2381</a><span class="code-text">[45772]: https://github.com/rust-lang/rust/pull/45772</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2382" href="#L2382">2382</a><span class="code-text">[45852]: https://github.com/rust-lang/rust/issues/45852</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2383" href="#L2383">2383</a><span class="code-text">[45853]: https://github.com/rust-lang/rust/pull/45853</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2384" href="#L2384">2384</a><span class="code-text">[45887]: https://github.com/rust-lang/rust/pull/45887</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2385" href="#L2385">2385</a><span class="code-text">[45920]: https://github.com/rust-lang/rust/pull/45920</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2386" href="#L2386">2386</a><span class="code-text">[cargo/4561]: https://github.com/rust-lang/cargo/pull/4561</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2387" href="#L2387">2387</a><span class="code-text">[cargo/4592]: https://github.com/rust-lang/cargo/pull/4592</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2388" href="#L2388">2388</a><span class="code-text">[cargo/4637]: https://github.com/rust-lang/cargo/pull/4637</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2389" href="#L2389">2389</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2390" href="#L2390">2390</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2391" href="#L2391">2391</a><span class="code-text">Version 1.22.1 (2017-11-22)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2392" href="#L2392">2392</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2393" href="#L2393">2393</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2394" href="#L2394">2394</a><span class="code-text">- [Update Cargo to fix an issue with macOS 10.13 &quot;High Sierra&quot;][46183]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2395" href="#L2395">2395</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2396" href="#L2396">2396</a><span class="code-text">[46183]: https://github.com/rust-lang/rust/pull/46183</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2397" href="#L2397">2397</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2398" href="#L2398">2398</a><span class="code-text">Version 1.22.0 (2017-11-22)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2399" href="#L2399">2399</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2400" href="#L2400">2400</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2401" href="#L2401">2401</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2402" href="#L2402">2402</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2403" href="#L2403">2403</a><span class="code-text">- [`non_snake_case` lint now allows extern no-mangle functions][44966]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2404" href="#L2404">2404</a><span class="code-text">- [Now accepts underscores in unicode escapes][43716]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2405" href="#L2405">2405</a><span class="code-text">- [`T op= &amp;T` now works for numeric types.][44287] eg. `let mut x = 2; x += &amp;8;`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2406" href="#L2406">2406</a><span class="code-text">- [types that impl `Drop` are now allowed in `const` and `static` types][44456]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2407" href="#L2407">2407</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2408" href="#L2408">2408</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2409" href="#L2409">2409</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2410" href="#L2410">2410</a><span class="code-text">- [rustc now defaults to having 16 codegen units at debug on supported platforms.][45064]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2411" href="#L2411">2411</a><span class="code-text">- [rustc will no longer inline in codegen units when compiling for debug][45075]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2412" href="#L2412">2412</a><span class="code-text">  This should decrease compile times for debug builds.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2413" href="#L2413">2413</a><span class="code-text">- [strict memory alignment now enabled on ARMv6][45094]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2414" href="#L2414">2414</a><span class="code-text">- [Remove support for the PNaCl target `le32-unknown-nacl`][45041]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2415" href="#L2415">2415</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2416" href="#L2416">2416</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2417" href="#L2417">2417</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2418" href="#L2418">2418</a><span class="code-text">- [Allow atomic operations up to 32 bits</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2419" href="#L2419">2419</a><span class="code-text">  on `armv5te_unknown_linux_gnueabi`][44978]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2420" href="#L2420">2420</a><span class="code-text">- [`Box&lt;Error&gt;` now impls `From&lt;Cow&lt;str&gt;&gt;`][44466]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2421" href="#L2421">2421</a><span class="code-text">- [`std::mem::Discriminant` is now guaranteed to be `Send + Sync`][45095]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2422" href="#L2422">2422</a><span class="code-text">- [`fs::copy` now returns the length of the main stream on NTFS.][44895]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2423" href="#L2423">2423</a><span class="code-text">- [Properly detect overflow in `Instant += Duration`.][44220]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2424" href="#L2424">2424</a><span class="code-text">- [impl `Hasher` for `{&amp;mut Hasher, Box&lt;Hasher&gt;}`][44015]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2425" href="#L2425">2425</a><span class="code-text">- [impl `fmt::Debug` for `SplitWhitespace`.][44303]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2426" href="#L2426">2426</a><span class="code-text">- [`Option&lt;T&gt;` now impls `Try`][42526] This allows for using `?` with `Option` types.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2427" href="#L2427">2427</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2428" href="#L2428">2428</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2429" href="#L2429">2429</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2430" href="#L2430">2430</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2431" href="#L2431">2431</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2432" href="#L2432">2432</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2433" href="#L2433">2433</a><span class="code-text">- [Cargo will now build multi file examples in subdirectories of the `examples`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2434" href="#L2434">2434</a><span class="code-text">  folder that have a `main.rs` file.][cargo/4496]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2435" href="#L2435">2435</a><span class="code-text">- [Changed `[root]` to `[package]` in `Cargo.lock`][cargo/4571] Packages with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2436" href="#L2436">2436</a><span class="code-text">  the old format will continue to work and can be updated with `cargo update`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2437" href="#L2437">2437</a><span class="code-text">- [Now supports vendoring git repositories][cargo/3992]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2438" href="#L2438">2438</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2439" href="#L2439">2439</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2440" href="#L2440">2440</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2441" href="#L2441">2441</a><span class="code-text">- [`libbacktrace` is now available on Apple platforms.][44251]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2442" href="#L2442">2442</a><span class="code-text">- [Stabilised the `compile_fail` attribute for code fences in doc-comments.][43949]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2443" href="#L2443">2443</a><span class="code-text">  This now lets you specify that a given code example will fail to compile.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2444" href="#L2444">2444</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2445" href="#L2445">2445</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2446" href="#L2446">2446</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2447" href="#L2447">2447</a><span class="code-text">- [The minimum Android version that rustc can build for has been bumped</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2448" href="#L2448">2448</a><span class="code-text">  to `4.0` from `2.3`][45656]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2449" href="#L2449">2449</a><span class="code-text">- [Allowing `T op= &amp;T` for numeric types has broken some type</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2450" href="#L2450">2450</a><span class="code-text">  inference cases][45480]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2451" href="#L2451">2451</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2452" href="#L2452">2452</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2453" href="#L2453">2453</a><span class="code-text">[42526]: https://github.com/rust-lang/rust/pull/42526</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2454" href="#L2454">2454</a><span class="code-text">[43017]: https://github.com/rust-lang/rust/pull/43017</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2455" href="#L2455">2455</a><span class="code-text">[43716]: https://github.com/rust-lang/rust/pull/43716</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2456" href="#L2456">2456</a><span class="code-text">[43949]: https://github.com/rust-lang/rust/pull/43949</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2457" href="#L2457">2457</a><span class="code-text">[44015]: https://github.com/rust-lang/rust/pull/44015</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2458" href="#L2458">2458</a><span class="code-text">[44220]: https://github.com/rust-lang/rust/pull/44220</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2459" href="#L2459">2459</a><span class="code-text">[44251]: https://github.com/rust-lang/rust/pull/44251</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2460" href="#L2460">2460</a><span class="code-text">[44287]: https://github.com/rust-lang/rust/pull/44287</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2461" href="#L2461">2461</a><span class="code-text">[44303]: https://github.com/rust-lang/rust/pull/44303</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2462" href="#L2462">2462</a><span class="code-text">[44456]: https://github.com/rust-lang/rust/pull/44456</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2463" href="#L2463">2463</a><span class="code-text">[44466]: https://github.com/rust-lang/rust/pull/44466</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2464" href="#L2464">2464</a><span class="code-text">[44895]: https://github.com/rust-lang/rust/pull/44895</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2465" href="#L2465">2465</a><span class="code-text">[44966]: https://github.com/rust-lang/rust/pull/44966</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2466" href="#L2466">2466</a><span class="code-text">[44978]: https://github.com/rust-lang/rust/pull/44978</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2467" href="#L2467">2467</a><span class="code-text">[45041]: https://github.com/rust-lang/rust/pull/45041</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2468" href="#L2468">2468</a><span class="code-text">[45064]: https://github.com/rust-lang/rust/pull/45064</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2469" href="#L2469">2469</a><span class="code-text">[45075]: https://github.com/rust-lang/rust/pull/45075</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2470" href="#L2470">2470</a><span class="code-text">[45094]: https://github.com/rust-lang/rust/pull/45094</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2471" href="#L2471">2471</a><span class="code-text">[45095]: https://github.com/rust-lang/rust/pull/45095</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2472" href="#L2472">2472</a><span class="code-text">[45480]: https://github.com/rust-lang/rust/issues/45480</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2473" href="#L2473">2473</a><span class="code-text">[45656]: https://github.com/rust-lang/rust/pull/45656</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2474" href="#L2474">2474</a><span class="code-text">[cargo/3992]: https://github.com/rust-lang/cargo/pull/3992</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2475" href="#L2475">2475</a><span class="code-text">[cargo/4496]: https://github.com/rust-lang/cargo/pull/4496</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2476" href="#L2476">2476</a><span class="code-text">[cargo/4571]: https://github.com/rust-lang/cargo/pull/4571</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2477" href="#L2477">2477</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2478" href="#L2478">2478</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2479" href="#L2479">2479</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2480" href="#L2480">2480</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2481" href="#L2481">2481</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2482" href="#L2482">2482</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2483" href="#L2483">2483</a><span class="code-text">Version 1.21.0 (2017-10-12)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2484" href="#L2484">2484</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2485" href="#L2485">2485</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2486" href="#L2486">2486</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2487" href="#L2487">2487</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2488" href="#L2488">2488</a><span class="code-text">- [You can now use static references for literals.][43838]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2489" href="#L2489">2489</a><span class="code-text">  Example:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2490" href="#L2490">2490</a><span class="code-text">  ```rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2491" href="#L2491">2491</a><span class="code-text">  fn main() {</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2492" href="#L2492">2492</a><span class="code-text">      let x: &amp;'static u32 = &amp;0;</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2493" href="#L2493">2493</a><span class="code-text">  }</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2494" href="#L2494">2494</a><span class="code-text">  ```</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2495" href="#L2495">2495</a><span class="code-text">- [Relaxed path syntax. Optional `::` before `&lt;` is now allowed in all contexts.][43540]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2496" href="#L2496">2496</a><span class="code-text">  Example:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2497" href="#L2497">2497</a><span class="code-text">  ```rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2498" href="#L2498">2498</a><span class="code-text">  my_macro!(Vec&lt;i32&gt;::new); // Always worked</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2499" href="#L2499">2499</a><span class="code-text">  my_macro!(Vec::&lt;i32&gt;::new); // Now works</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2500" href="#L2500">2500</a><span class="code-text">  ```</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2501" href="#L2501">2501</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2502" href="#L2502">2502</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2503" href="#L2503">2503</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2504" href="#L2504">2504</a><span class="code-text">- [Upgraded jemalloc to 4.5.0][43911]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2505" href="#L2505">2505</a><span class="code-text">- [Enabled unwinding panics on Redox][43917]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2506" href="#L2506">2506</a><span class="code-text">- [Now runs LLVM in parallel during translation phase.][43506]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2507" href="#L2507">2507</a><span class="code-text">  This should reduce peak memory usage.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2508" href="#L2508">2508</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2509" href="#L2509">2509</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2510" href="#L2510">2510</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2511" href="#L2511">2511</a><span class="code-text">- [Generate builtin impls for `Clone` for all arrays and tuples that</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2512" href="#L2512">2512</a><span class="code-text">  are `T: Clone`][43690]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2513" href="#L2513">2513</a><span class="code-text">- [`Stdin`, `Stdout`, and `Stderr` now implement `AsRawFd`.][43459]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2514" href="#L2514">2514</a><span class="code-text">- [`Rc` and `Arc` now implement `From&lt;&amp;[T]&gt; where T: Clone`, `From&lt;str&gt;`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2515" href="#L2515">2515</a><span class="code-text">  `From&lt;String&gt;`, `From&lt;Box&lt;T&gt;&gt; where T: ?Sized`, and `From&lt;Vec&lt;T&gt;&gt;`.][42565]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2516" href="#L2516">2516</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2517" href="#L2517">2517</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2518" href="#L2518">2518</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2519" href="#L2519">2519</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2520" href="#L2520">2520</a><span class="code-text">[`std::mem::discriminant`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2521" href="#L2521">2521</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2522" href="#L2522">2522</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2523" href="#L2523">2523</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2524" href="#L2524">2524</a><span class="code-text">- [You can now call `cargo install` with multiple package names][cargo/4216]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2525" href="#L2525">2525</a><span class="code-text">- [Cargo commands inside a virtual workspace will now implicitly</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2526" href="#L2526">2526</a><span class="code-text">  pass `--all`][cargo/4335]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2527" href="#L2527">2527</a><span class="code-text">- [Added a `[patch]` section to `Cargo.toml` to handle</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2528" href="#L2528">2528</a><span class="code-text">  prepublication dependencies][cargo/4123] [RFC 1969]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2529" href="#L2529">2529</a><span class="code-text">- [`include` &amp; `exclude` fields in `Cargo.toml` now accept gitignore</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2530" href="#L2530">2530</a><span class="code-text">  like patterns][cargo/4270]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2531" href="#L2531">2531</a><span class="code-text">- [Added the `--all-targets` option][cargo/4400]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2532" href="#L2532">2532</a><span class="code-text">- [Using required dependencies as a feature is now deprecated and emits</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2533" href="#L2533">2533</a><span class="code-text">  a warning][cargo/4364]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2534" href="#L2534">2534</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2535" href="#L2535">2535</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2536" href="#L2536">2536</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2537" href="#L2537">2537</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2538" href="#L2538">2538</a><span class="code-text">- [Cargo docs are moving][43916]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2539" href="#L2539">2539</a><span class="code-text">  to [doc.rust-lang.org/cargo](https://doc.rust-lang.org/cargo)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2540" href="#L2540">2540</a><span class="code-text">- [The rustdoc book is now available][43863]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2541" href="#L2541">2541</a><span class="code-text">  at [doc.rust-lang.org/rustdoc](https://doc.rust-lang.org/rustdoc)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2542" href="#L2542">2542</a><span class="code-text">- [Added a preview of RLS has been made available through rustup][44204]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2543" href="#L2543">2543</a><span class="code-text">  Install with `rustup component add rls-preview`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2544" href="#L2544">2544</a><span class="code-text">- [`std::os` documentation for Unix, Linux, and Windows now appears on doc.rust-lang.org][43348]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2545" href="#L2545">2545</a><span class="code-text">  Previously only showed `std::os::unix`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2546" href="#L2546">2546</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2547" href="#L2547">2547</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2548" href="#L2548">2548</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2549" href="#L2549">2549</a><span class="code-text">- [Changes in method matching against higher-ranked types][43880] This may cause</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2550" href="#L2550">2550</a><span class="code-text">  breakage in subtyping corner cases. [A more in-depth explanation is available.][info/43880]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2551" href="#L2551">2551</a><span class="code-text">- [rustc's JSON error output's byte position start at top of file.][42973]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2552" href="#L2552">2552</a><span class="code-text">  Was previously relative to the rustc's internal `CodeMap` struct which</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2553" href="#L2553">2553</a><span class="code-text">  required the unstable library `libsyntax` to correctly use.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2554" href="#L2554">2554</a><span class="code-text">- [`unused_results` lint no longer ignores booleans][43728]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2555" href="#L2555">2555</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2556" href="#L2556">2556</a><span class="code-text">[42565]: https://github.com/rust-lang/rust/pull/42565</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2557" href="#L2557">2557</a><span class="code-text">[42973]: https://github.com/rust-lang/rust/pull/42973</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2558" href="#L2558">2558</a><span class="code-text">[43348]: https://github.com/rust-lang/rust/pull/43348</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2559" href="#L2559">2559</a><span class="code-text">[43459]: https://github.com/rust-lang/rust/pull/43459</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2560" href="#L2560">2560</a><span class="code-text">[43506]: https://github.com/rust-lang/rust/pull/43506</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2561" href="#L2561">2561</a><span class="code-text">[43540]: https://github.com/rust-lang/rust/pull/43540</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2562" href="#L2562">2562</a><span class="code-text">[43690]: https://github.com/rust-lang/rust/pull/43690</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2563" href="#L2563">2563</a><span class="code-text">[43728]: https://github.com/rust-lang/rust/pull/43728</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2564" href="#L2564">2564</a><span class="code-text">[43838]: https://github.com/rust-lang/rust/pull/43838</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2565" href="#L2565">2565</a><span class="code-text">[43863]: https://github.com/rust-lang/rust/pull/43863</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2566" href="#L2566">2566</a><span class="code-text">[43880]: https://github.com/rust-lang/rust/pull/43880</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2567" href="#L2567">2567</a><span class="code-text">[43911]: https://github.com/rust-lang/rust/pull/43911</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2568" href="#L2568">2568</a><span class="code-text">[43916]: https://github.com/rust-lang/rust/pull/43916</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2569" href="#L2569">2569</a><span class="code-text">[43917]: https://github.com/rust-lang/rust/pull/43917</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2570" href="#L2570">2570</a><span class="code-text">[44204]: https://github.com/rust-lang/rust/pull/44204</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2571" href="#L2571">2571</a><span class="code-text">[cargo/4123]: https://github.com/rust-lang/cargo/pull/4123</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2572" href="#L2572">2572</a><span class="code-text">[cargo/4216]: https://github.com/rust-lang/cargo/pull/4216</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2573" href="#L2573">2573</a><span class="code-text">[cargo/4270]: https://github.com/rust-lang/cargo/pull/4270</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2574" href="#L2574">2574</a><span class="code-text">[cargo/4335]: https://github.com/rust-lang/cargo/pull/4335</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2575" href="#L2575">2575</a><span class="code-text">[cargo/4364]: https://github.com/rust-lang/cargo/pull/4364</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2576" href="#L2576">2576</a><span class="code-text">[cargo/4400]: https://github.com/rust-lang/cargo/pull/4400</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2577" href="#L2577">2577</a><span class="code-text">[RFC 1969]: https://github.com/rust-lang/rfcs/pull/1969</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2578" href="#L2578">2578</a><span class="code-text">[info/43880]: https://github.com/rust-lang/rust/issues/44224#issuecomment-330058902</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2579" href="#L2579">2579</a><span class="code-text">[`std::mem::discriminant`]: https://doc.rust-lang.org/std/mem/fn.discriminant.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2580" href="#L2580">2580</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2581" href="#L2581">2581</a><span class="code-text">Version 1.20.0 (2017-08-31)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2582" href="#L2582">2582</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2583" href="#L2583">2583</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2584" href="#L2584">2584</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2585" href="#L2585">2585</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2586" href="#L2586">2586</a><span class="code-text">- [Associated constants are now stabilised.][42809]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2587" href="#L2587">2587</a><span class="code-text">- [A lot of macro bugs are now fixed.][42913]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2588" href="#L2588">2588</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2589" href="#L2589">2589</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2590" href="#L2590">2590</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2591" href="#L2591">2591</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2592" href="#L2592">2592</a><span class="code-text">- [Struct fields are now properly coerced to the expected field type.][42807]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2593" href="#L2593">2593</a><span class="code-text">- [Enabled wasm LLVM backend][42571] WASM can now be built with the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2594" href="#L2594">2594</a><span class="code-text">  `wasm32-experimental-emscripten` target.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2595" href="#L2595">2595</a><span class="code-text">- [Changed some of the error messages to be more helpful.][42033]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2596" href="#L2596">2596</a><span class="code-text">- [Add support for RELRO(RELocation Read-Only) for platforms that support</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2597" href="#L2597">2597</a><span class="code-text">  it.][43170]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2598" href="#L2598">2598</a><span class="code-text">- [rustc now reports the total number of errors on compilation failure][43015]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2599" href="#L2599">2599</a><span class="code-text">  previously this was only the number of errors in the pass that failed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2600" href="#L2600">2600</a><span class="code-text">- [Expansion in rustc has been sped up 29x.][42533]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2601" href="#L2601">2601</a><span class="code-text">- [added `msp430-none-elf` target.][43099]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2602" href="#L2602">2602</a><span class="code-text">- [rustc will now suggest one-argument enum variant to fix type mismatch when</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2603" href="#L2603">2603</a><span class="code-text">  applicable][43178]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2604" href="#L2604">2604</a><span class="code-text">- [Fixes backtraces on Redox][43228]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2605" href="#L2605">2605</a><span class="code-text">- [rustc now identifies different versions of same crate when absolute paths of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2606" href="#L2606">2606</a><span class="code-text">  different types match in an error message.][42826]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2607" href="#L2607">2607</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2608" href="#L2608">2608</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2609" href="#L2609">2609</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2610" href="#L2610">2610</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2611" href="#L2611">2611</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2612" href="#L2612">2612</a><span class="code-text">- [Relaxed Debug constraints on `{HashMap,BTreeMap}::{Keys,Values}`.][42854]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2613" href="#L2613">2613</a><span class="code-text">- [Impl `PartialEq`, `Eq`, `PartialOrd`, `Ord`, `Debug`, `Hash` for unsized</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2614" href="#L2614">2614</a><span class="code-text">  tuples.][43011]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2615" href="#L2615">2615</a><span class="code-text">- [Impl `fmt::{Display, Debug}` for `Ref`, `RefMut`, `MutexGuard`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2616" href="#L2616">2616</a><span class="code-text">  `RwLockReadGuard`, `RwLockWriteGuard`][42822]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2617" href="#L2617">2617</a><span class="code-text">- [Impl `Clone` for `DefaultHasher`.][42799]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2618" href="#L2618">2618</a><span class="code-text">- [Impl `Sync` for `SyncSender`.][42397]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2619" href="#L2619">2619</a><span class="code-text">- [Impl `FromStr` for `char`][42271]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2620" href="#L2620">2620</a><span class="code-text">- [Fixed how `{f32, f64}::{is_sign_negative, is_sign_positive}` handles</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2621" href="#L2621">2621</a><span class="code-text">  NaN.][42431]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2622" href="#L2622">2622</a><span class="code-text">- [allow messages in the `unimplemented!()` macro.][42155]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2623" href="#L2623">2623</a><span class="code-text">  ie. `unimplemented!(&quot;Waiting for 1.21 to be stable&quot;)`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2624" href="#L2624">2624</a><span class="code-text">- [`pub(restricted)` is now supported in the `thread_local!` macro.][43185]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2625" href="#L2625">2625</a><span class="code-text">- [Upgrade to Unicode 10.0.0][42999]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2626" href="#L2626">2626</a><span class="code-text">- [Reimplemented `{f32, f64}::{min, max}` in Rust instead of using CMath.][42430]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2627" href="#L2627">2627</a><span class="code-text">- [Skip the main thread's manual stack guard on Linux][43072]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2628" href="#L2628">2628</a><span class="code-text">- [Iterator::nth for `ops::{Range, RangeFrom}` is now done in O(1) time][43077]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2629" href="#L2629">2629</a><span class="code-text">- [`#[repr(align(N))]` attribute max number is now 2^31 - 1.][43097] This was</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2630" href="#L2630">2630</a><span class="code-text">  previously 2^15.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2631" href="#L2631">2631</a><span class="code-text">- [`{OsStr, Path}::Display` now avoids allocations where possible][42613]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2632" href="#L2632">2632</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2633" href="#L2633">2633</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2634" href="#L2634">2634</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2635" href="#L2635">2635</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2636" href="#L2636">2636</a><span class="code-text">- [`CStr::into_c_string`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2637" href="#L2637">2637</a><span class="code-text">- [`CString::as_c_str`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2638" href="#L2638">2638</a><span class="code-text">- [`CString::into_boxed_c_str`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2639" href="#L2639">2639</a><span class="code-text">- [`Chain::get_mut`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2640" href="#L2640">2640</a><span class="code-text">- [`Chain::get_ref`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2641" href="#L2641">2641</a><span class="code-text">- [`Chain::into_inner`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2642" href="#L2642">2642</a><span class="code-text">- [`Option::get_or_insert_with`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2643" href="#L2643">2643</a><span class="code-text">- [`Option::get_or_insert`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2644" href="#L2644">2644</a><span class="code-text">- [`OsStr::into_os_string`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2645" href="#L2645">2645</a><span class="code-text">- [`OsString::into_boxed_os_str`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2646" href="#L2646">2646</a><span class="code-text">- [`Take::get_mut`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2647" href="#L2647">2647</a><span class="code-text">- [`Take::get_ref`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2648" href="#L2648">2648</a><span class="code-text">- [`Utf8Error::error_len`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2649" href="#L2649">2649</a><span class="code-text">- [`char::EscapeDebug`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2650" href="#L2650">2650</a><span class="code-text">- [`char::escape_debug`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2651" href="#L2651">2651</a><span class="code-text">- [`compile_error!`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2652" href="#L2652">2652</a><span class="code-text">- [`f32::from_bits`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2653" href="#L2653">2653</a><span class="code-text">- [`f32::to_bits`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2654" href="#L2654">2654</a><span class="code-text">- [`f64::from_bits`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2655" href="#L2655">2655</a><span class="code-text">- [`f64::to_bits`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2656" href="#L2656">2656</a><span class="code-text">- [`mem::ManuallyDrop`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2657" href="#L2657">2657</a><span class="code-text">- [`slice::sort_unstable_by_key`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2658" href="#L2658">2658</a><span class="code-text">- [`slice::sort_unstable_by`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2659" href="#L2659">2659</a><span class="code-text">- [`slice::sort_unstable`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2660" href="#L2660">2660</a><span class="code-text">- [`str::from_boxed_utf8_unchecked`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2661" href="#L2661">2661</a><span class="code-text">- [`str::as_bytes_mut`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2662" href="#L2662">2662</a><span class="code-text">- [`str::as_bytes_mut`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2663" href="#L2663">2663</a><span class="code-text">- [`str::from_utf8_mut`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2664" href="#L2664">2664</a><span class="code-text">- [`str::from_utf8_unchecked_mut`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2665" href="#L2665">2665</a><span class="code-text">- [`str::get_mut`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2666" href="#L2666">2666</a><span class="code-text">- [`str::get_unchecked_mut`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2667" href="#L2667">2667</a><span class="code-text">- [`str::get_unchecked`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2668" href="#L2668">2668</a><span class="code-text">- [`str::get`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2669" href="#L2669">2669</a><span class="code-text">- [`str::into_boxed_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2670" href="#L2670">2670</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2671" href="#L2671">2671</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2672" href="#L2672">2672</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2673" href="#L2673">2673</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2674" href="#L2674">2674</a><span class="code-text">- [Cargo API token location moved from `~/.cargo/config` to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2675" href="#L2675">2675</a><span class="code-text">  `~/.cargo/credentials`.][cargo/3978]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2676" href="#L2676">2676</a><span class="code-text">- [Cargo will now build `main.rs` binaries that are in sub-directories of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2677" href="#L2677">2677</a><span class="code-text">  `src/bin`.][cargo/4214] ie. Having `src/bin/server/main.rs` and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2678" href="#L2678">2678</a><span class="code-text">  `src/bin/client/main.rs` generates `target/debug/server` and `target/debug/client`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2679" href="#L2679">2679</a><span class="code-text">- [You can now specify version of a binary when installed through</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2680" href="#L2680">2680</a><span class="code-text">  `cargo install` using `--vers`.][cargo/4229]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2681" href="#L2681">2681</a><span class="code-text">- [Added `--no-fail-fast` flag to cargo to run all benchmarks regardless of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2682" href="#L2682">2682</a><span class="code-text">  failure.][cargo/4248]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2683" href="#L2683">2683</a><span class="code-text">- [Changed the convention around which file is the crate root.][cargo/4259]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2684" href="#L2684">2684</a><span class="code-text">- [The `include`/`exclude` property in `Cargo.toml` now accepts gitignore paths</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2685" href="#L2685">2685</a><span class="code-text">  instead of glob patterns][cargo/4270]. Glob patterns are now deprecated.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2686" href="#L2686">2686</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2687" href="#L2687">2687</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2688" href="#L2688">2688</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2689" href="#L2689">2689</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2690" href="#L2690">2690</a><span class="code-text">- [Functions with `'static` in their return types will now not be as usable as</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2691" href="#L2691">2691</a><span class="code-text">  if they were using lifetime parameters instead.][42417]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2692" href="#L2692">2692</a><span class="code-text">- [The reimplementation of `{f32, f64}::is_sign_{negative, positive}` now</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2693" href="#L2693">2693</a><span class="code-text">  takes the sign of NaN into account where previously didn't.][42430]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2694" href="#L2694">2694</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2695" href="#L2695">2695</a><span class="code-text">[42033]: https://github.com/rust-lang/rust/pull/42033</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2696" href="#L2696">2696</a><span class="code-text">[42155]: https://github.com/rust-lang/rust/pull/42155</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2697" href="#L2697">2697</a><span class="code-text">[42271]: https://github.com/rust-lang/rust/pull/42271</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2698" href="#L2698">2698</a><span class="code-text">[42397]: https://github.com/rust-lang/rust/pull/42397</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2699" href="#L2699">2699</a><span class="code-text">[42417]: https://github.com/rust-lang/rust/pull/42417</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2700" href="#L2700">2700</a><span class="code-text">[42430]: https://github.com/rust-lang/rust/pull/42430</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2701" href="#L2701">2701</a><span class="code-text">[42431]: https://github.com/rust-lang/rust/pull/42431</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2702" href="#L2702">2702</a><span class="code-text">[42533]: https://github.com/rust-lang/rust/pull/42533</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2703" href="#L2703">2703</a><span class="code-text">[42571]: https://github.com/rust-lang/rust/pull/42571</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2704" href="#L2704">2704</a><span class="code-text">[42613]: https://github.com/rust-lang/rust/pull/42613</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2705" href="#L2705">2705</a><span class="code-text">[42799]: https://github.com/rust-lang/rust/pull/42799</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2706" href="#L2706">2706</a><span class="code-text">[42807]: https://github.com/rust-lang/rust/pull/42807</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2707" href="#L2707">2707</a><span class="code-text">[42809]: https://github.com/rust-lang/rust/pull/42809</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2708" href="#L2708">2708</a><span class="code-text">[42822]: https://github.com/rust-lang/rust/pull/42822</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2709" href="#L2709">2709</a><span class="code-text">[42826]: https://github.com/rust-lang/rust/pull/42826</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2710" href="#L2710">2710</a><span class="code-text">[42854]: https://github.com/rust-lang/rust/pull/42854</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2711" href="#L2711">2711</a><span class="code-text">[42913]: https://github.com/rust-lang/rust/pull/42913</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2712" href="#L2712">2712</a><span class="code-text">[42999]: https://github.com/rust-lang/rust/pull/42999</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2713" href="#L2713">2713</a><span class="code-text">[43011]: https://github.com/rust-lang/rust/pull/43011</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2714" href="#L2714">2714</a><span class="code-text">[43015]: https://github.com/rust-lang/rust/pull/43015</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2715" href="#L2715">2715</a><span class="code-text">[43072]: https://github.com/rust-lang/rust/pull/43072</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2716" href="#L2716">2716</a><span class="code-text">[43077]: https://github.com/rust-lang/rust/pull/43077</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2717" href="#L2717">2717</a><span class="code-text">[43097]: https://github.com/rust-lang/rust/pull/43097</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2718" href="#L2718">2718</a><span class="code-text">[43099]: https://github.com/rust-lang/rust/pull/43099</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2719" href="#L2719">2719</a><span class="code-text">[43170]: https://github.com/rust-lang/rust/pull/43170</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2720" href="#L2720">2720</a><span class="code-text">[43178]: https://github.com/rust-lang/rust/pull/43178</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2721" href="#L2721">2721</a><span class="code-text">[43185]: https://github.com/rust-lang/rust/pull/43185</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2722" href="#L2722">2722</a><span class="code-text">[43228]: https://github.com/rust-lang/rust/pull/43228</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2723" href="#L2723">2723</a><span class="code-text">[cargo/3978]: https://github.com/rust-lang/cargo/pull/3978</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2724" href="#L2724">2724</a><span class="code-text">[cargo/4214]: https://github.com/rust-lang/cargo/pull/4214</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2725" href="#L2725">2725</a><span class="code-text">[cargo/4229]: https://github.com/rust-lang/cargo/pull/4229</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2726" href="#L2726">2726</a><span class="code-text">[cargo/4248]: https://github.com/rust-lang/cargo/pull/4248</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2727" href="#L2727">2727</a><span class="code-text">[cargo/4259]: https://github.com/rust-lang/cargo/pull/4259</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2728" href="#L2728">2728</a><span class="code-text">[cargo/4270]: https://github.com/rust-lang/cargo/pull/4270</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2729" href="#L2729">2729</a><span class="code-text">[`CStr::into_c_string`]: https://doc.rust-lang.org/std/ffi/struct.CStr.html#method.into_c_string</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2730" href="#L2730">2730</a><span class="code-text">[`CString::as_c_str`]: https://doc.rust-lang.org/std/ffi/struct.CString.html#method.as_c_str</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2731" href="#L2731">2731</a><span class="code-text">[`CString::into_boxed_c_str`]: https://doc.rust-lang.org/std/ffi/struct.CString.html#method.into_boxed_c_str</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2732" href="#L2732">2732</a><span class="code-text">[`Chain::get_mut`]: https://doc.rust-lang.org/std/io/struct.Chain.html#method.get_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2733" href="#L2733">2733</a><span class="code-text">[`Chain::get_ref`]: https://doc.rust-lang.org/std/io/struct.Chain.html#method.get_ref</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2734" href="#L2734">2734</a><span class="code-text">[`Chain::into_inner`]: https://doc.rust-lang.org/std/io/struct.Chain.html#method.into_inner</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2735" href="#L2735">2735</a><span class="code-text">[`Option::get_or_insert_with`]: https://doc.rust-lang.org/std/option/enum.Option.html#method.get_or_insert_with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2736" href="#L2736">2736</a><span class="code-text">[`Option::get_or_insert`]: https://doc.rust-lang.org/std/option/enum.Option.html#method.get_or_insert</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2737" href="#L2737">2737</a><span class="code-text">[`OsStr::into_os_string`]: https://doc.rust-lang.org/std/ffi/struct.OsStr.html#method.into_os_string</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2738" href="#L2738">2738</a><span class="code-text">[`OsString::into_boxed_os_str`]: https://doc.rust-lang.org/std/ffi/struct.OsString.html#method.into_boxed_os_str</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2739" href="#L2739">2739</a><span class="code-text">[`Take::get_mut`]: https://doc.rust-lang.org/std/io/struct.Take.html#method.get_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2740" href="#L2740">2740</a><span class="code-text">[`Take::get_ref`]: https://doc.rust-lang.org/std/io/struct.Take.html#method.get_ref</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2741" href="#L2741">2741</a><span class="code-text">[`Utf8Error::error_len`]: https://doc.rust-lang.org/std/str/struct.Utf8Error.html#method.error_len</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2742" href="#L2742">2742</a><span class="code-text">[`char::EscapeDebug`]: https://doc.rust-lang.org/std/char/struct.EscapeDebug.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2743" href="#L2743">2743</a><span class="code-text">[`char::escape_debug`]: https://doc.rust-lang.org/std/primitive.char.html#method.escape_debug</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2744" href="#L2744">2744</a><span class="code-text">[`compile_error!`]: https://doc.rust-lang.org/std/macro.compile_error.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2745" href="#L2745">2745</a><span class="code-text">[`f32::from_bits`]: https://doc.rust-lang.org/std/primitive.f32.html#method.from_bits</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2746" href="#L2746">2746</a><span class="code-text">[`f32::to_bits`]: https://doc.rust-lang.org/std/primitive.f32.html#method.to_bits</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2747" href="#L2747">2747</a><span class="code-text">[`f64::from_bits`]: https://doc.rust-lang.org/std/primitive.f64.html#method.from_bits</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2748" href="#L2748">2748</a><span class="code-text">[`f64::to_bits`]: https://doc.rust-lang.org/std/primitive.f64.html#method.to_bits</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2749" href="#L2749">2749</a><span class="code-text">[`mem::ManuallyDrop`]: https://doc.rust-lang.org/std/mem/union.ManuallyDrop.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2750" href="#L2750">2750</a><span class="code-text">[`slice::sort_unstable_by_key`]: https://doc.rust-lang.org/std/primitive.slice.html#method.sort_unstable_by_key</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2751" href="#L2751">2751</a><span class="code-text">[`slice::sort_unstable_by`]: https://doc.rust-lang.org/std/primitive.slice.html#method.sort_unstable_by</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2752" href="#L2752">2752</a><span class="code-text">[`slice::sort_unstable`]: https://doc.rust-lang.org/std/primitive.slice.html#method.sort_unstable</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2753" href="#L2753">2753</a><span class="code-text">[`str::from_boxed_utf8_unchecked`]: https://doc.rust-lang.org/std/str/fn.from_boxed_utf8_unchecked.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2754" href="#L2754">2754</a><span class="code-text">[`str::as_bytes_mut`]: https://doc.rust-lang.org/std/primitive.str.html#method.as_bytes_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2755" href="#L2755">2755</a><span class="code-text">[`str::from_utf8_mut`]: https://doc.rust-lang.org/std/str/fn.from_utf8_mut.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2756" href="#L2756">2756</a><span class="code-text">[`str::from_utf8_unchecked_mut`]: https://doc.rust-lang.org/std/str/fn.from_utf8_unchecked_mut.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2757" href="#L2757">2757</a><span class="code-text">[`str::get_mut`]: https://doc.rust-lang.org/std/primitive.str.html#method.get_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2758" href="#L2758">2758</a><span class="code-text">[`str::get_unchecked_mut`]: https://doc.rust-lang.org/std/primitive.str.html#method.get_unchecked_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2759" href="#L2759">2759</a><span class="code-text">[`str::get_unchecked`]: https://doc.rust-lang.org/std/primitive.str.html#method.get_unchecked</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2760" href="#L2760">2760</a><span class="code-text">[`str::get`]: https://doc.rust-lang.org/std/primitive.str.html#method.get</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2761" href="#L2761">2761</a><span class="code-text">[`str::into_boxed_bytes`]: https://doc.rust-lang.org/std/primitive.str.html#method.into_boxed_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2762" href="#L2762">2762</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2763" href="#L2763">2763</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2764" href="#L2764">2764</a><span class="code-text">Version 1.19.0 (2017-07-20)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2765" href="#L2765">2765</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2766" href="#L2766">2766</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2767" href="#L2767">2767</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2768" href="#L2768">2768</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2769" href="#L2769">2769</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2770" href="#L2770">2770</a><span class="code-text">- [Numeric fields can now be used for creating tuple structs.][41145] [RFC 1506]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2771" href="#L2771">2771</a><span class="code-text">  For example `struct Point(u32, u32); let x = Point { 0: 7, 1: 0 };`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2772" href="#L2772">2772</a><span class="code-text">- [Macro recursion limit increased to 1024 from 64.][41676]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2773" href="#L2773">2773</a><span class="code-text">- [Added lint for detecting unused macros.][41907]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2774" href="#L2774">2774</a><span class="code-text">- [`loop` can now return a value with `break`.][42016] [RFC 1624]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2775" href="#L2775">2775</a><span class="code-text">  For example: `let x = loop { break 7; };`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2776" href="#L2776">2776</a><span class="code-text">- [C compatible `union`s are now available.][42068] [RFC 1444] They can only</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2777" href="#L2777">2777</a><span class="code-text">  contain `Copy` types and cannot have a `Drop` implementation.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2778" href="#L2778">2778</a><span class="code-text">  Example: `union Foo { bar: u8, baz: usize }`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2779" href="#L2779">2779</a><span class="code-text">- [Non capturing closures can now be coerced into `fn`s,][42162] [RFC 1558]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2780" href="#L2780">2780</a><span class="code-text">  Example: `let foo: fn(u8) -&gt; u8 = |v: u8| { v };`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2781" href="#L2781">2781</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2782" href="#L2782">2782</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2783" href="#L2783">2783</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2784" href="#L2784">2784</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2785" href="#L2785">2785</a><span class="code-text">- [Add support for bootstrapping the Rust compiler toolchain on Android.][41370]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2786" href="#L2786">2786</a><span class="code-text">- [Change `arm-linux-androideabi` to correspond to the `armeabi`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2787" href="#L2787">2787</a><span class="code-text">  official ABI.][41656] If you wish to continue targeting the `armeabi-v7a` ABI</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2788" href="#L2788">2788</a><span class="code-text">  you should use `--target armv7-linux-androideabi`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2789" href="#L2789">2789</a><span class="code-text">- [Fixed ICE when removing a source file between compilation sessions.][41873]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2790" href="#L2790">2790</a><span class="code-text">- [Minor optimisation of string operations.][42037]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2791" href="#L2791">2791</a><span class="code-text">- [Compiler error message is now `aborting due to previous error(s)` instead of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2792" href="#L2792">2792</a><span class="code-text">  `aborting due to N previous errors`][42150] This was previously inaccurate and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2793" href="#L2793">2793</a><span class="code-text">  would only count certain kinds of errors.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2794" href="#L2794">2794</a><span class="code-text">- [The compiler now supports Visual Studio 2017][42225]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2795" href="#L2795">2795</a><span class="code-text">- [The compiler is now built against LLVM 4.0.1 by default][42948]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2796" href="#L2796">2796</a><span class="code-text">- [Added a lot][42264] of [new error codes][42302]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2797" href="#L2797">2797</a><span class="code-text">- [Added `target-feature=+crt-static` option][37406] [RFC 1721] Which allows</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2798" href="#L2798">2798</a><span class="code-text">  libraries with C Run-time Libraries(CRT) to be statically linked.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2799" href="#L2799">2799</a><span class="code-text">- [Fixed various ARM codegen bugs][42740]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2800" href="#L2800">2800</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2801" href="#L2801">2801</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2802" href="#L2802">2802</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2803" href="#L2803">2803</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2804" href="#L2804">2804</a><span class="code-text">- [`String` now implements `FromIterator&lt;Cow&lt;'a, str&gt;&gt;` and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2805" href="#L2805">2805</a><span class="code-text">  `Extend&lt;Cow&lt;'a, str&gt;&gt;`][41449]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2806" href="#L2806">2806</a><span class="code-text">- [`Vec` now implements `From&lt;&amp;mut [T]&gt;`][41530]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2807" href="#L2807">2807</a><span class="code-text">- [`Box&lt;[u8]&gt;` now implements `From&lt;Box&lt;str&gt;&gt;`][41258]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2808" href="#L2808">2808</a><span class="code-text">- [`SplitWhitespace` now implements `Clone`][41659]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2809" href="#L2809">2809</a><span class="code-text">- [`[u8]::reverse` is now 5x faster and `[u16]::reverse` is now</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2810" href="#L2810">2810</a><span class="code-text">  1.5x faster][41764]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2811" href="#L2811">2811</a><span class="code-text">- [`eprint!` and `eprintln!` macros added to prelude.][41192] Same as the `print!`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2812" href="#L2812">2812</a><span class="code-text">  macros, but for printing to stderr.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2813" href="#L2813">2813</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2814" href="#L2814">2814</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2815" href="#L2815">2815</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2816" href="#L2816">2816</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2817" href="#L2817">2817</a><span class="code-text">- [`OsString::shrink_to_fit`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2818" href="#L2818">2818</a><span class="code-text">- [`cmp::Reverse`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2819" href="#L2819">2819</a><span class="code-text">- [`Command::envs`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2820" href="#L2820">2820</a><span class="code-text">- [`thread::ThreadId`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2821" href="#L2821">2821</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2822" href="#L2822">2822</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2823" href="#L2823">2823</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2824" href="#L2824">2824</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2825" href="#L2825">2825</a><span class="code-text">- [Build scripts can now add environment variables to the environment</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2826" href="#L2826">2826</a><span class="code-text">  the crate is being compiled in.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2827" href="#L2827">2827</a><span class="code-text">  Example: `println!(&quot;cargo:rustc-env=FOO=bar&quot;);`][cargo/3929]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2828" href="#L2828">2828</a><span class="code-text">- [Subcommands now replace the current process rather than spawning a new</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2829" href="#L2829">2829</a><span class="code-text">  child process][cargo/3970]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2830" href="#L2830">2830</a><span class="code-text">- [Workspace members can now accept glob file patterns][cargo/3979]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2831" href="#L2831">2831</a><span class="code-text">- [Added `--all` flag to the `cargo bench` subcommand to run benchmarks of all</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2832" href="#L2832">2832</a><span class="code-text">  the members in a given workspace.][cargo/3988]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2833" href="#L2833">2833</a><span class="code-text">- [Updated `libssh2-sys` to 0.2.6][cargo/4008]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2834" href="#L2834">2834</a><span class="code-text">- [Target directory path is now in the cargo metadata][cargo/4022]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2835" href="#L2835">2835</a><span class="code-text">- [Cargo no longer checks out a local working directory for the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2836" href="#L2836">2836</a><span class="code-text">  crates.io index][cargo/4026] This should provide smaller file size for the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2837" href="#L2837">2837</a><span class="code-text">  registry, and improve cloning times, especially on Windows machines.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2838" href="#L2838">2838</a><span class="code-text">- [Added an `--exclude` option for excluding certain packages when using the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2839" href="#L2839">2839</a><span class="code-text">  `--all` option][cargo/4031]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2840" href="#L2840">2840</a><span class="code-text">- [Cargo will now automatically retry when receiving a 5xx error</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2841" href="#L2841">2841</a><span class="code-text">  from crates.io][cargo/4032]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2842" href="#L2842">2842</a><span class="code-text">- [The `--features` option now accepts multiple comma or space</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2843" href="#L2843">2843</a><span class="code-text">  delimited values.][cargo/4084]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2844" href="#L2844">2844</a><span class="code-text">- [Added support for custom target specific runners][cargo/3954]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2845" href="#L2845">2845</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2846" href="#L2846">2846</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2847" href="#L2847">2847</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2848" href="#L2848">2848</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2849" href="#L2849">2849</a><span class="code-text">- [Added `rust-windbg.cmd`][39983] for loading rust `.natvis` files in the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2850" href="#L2850">2850</a><span class="code-text">  Windows Debugger.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2851" href="#L2851">2851</a><span class="code-text">- [Rust will now release XZ compressed packages][rust-installer/57]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2852" href="#L2852">2852</a><span class="code-text">- [rustup will now prefer to download rust packages with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2853" href="#L2853">2853</a><span class="code-text">  XZ compression][rustup/1100] over GZip packages.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2854" href="#L2854">2854</a><span class="code-text">- [Added the ability to escape `#` in rust documentation][41785] By adding</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2855" href="#L2855">2855</a><span class="code-text">  additional `#`'s ie. `##` is now `#`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2856" href="#L2856">2856</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2857" href="#L2857">2857</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2858" href="#L2858">2858</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2859" href="#L2859">2859</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2860" href="#L2860">2860</a><span class="code-text">- [`MutexGuard&lt;T&gt;` may only be `Sync` if `T` is `Sync`.][41624]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2861" href="#L2861">2861</a><span class="code-text">- [`-Z` flags are now no longer allowed to be used on the stable</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2862" href="#L2862">2862</a><span class="code-text">  compiler.][41751] This has been a warning for a year previous to this.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2863" href="#L2863">2863</a><span class="code-text">- [As a result of the `-Z` flag change, the `cargo-check` plugin no</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2864" href="#L2864">2864</a><span class="code-text">  longer works][42844]. Users should migrate to the built-in `check`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2865" href="#L2865">2865</a><span class="code-text">  command, which has been available since 1.16.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2866" href="#L2866">2866</a><span class="code-text">- [Ending a float literal with `._` is now a hard error.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2867" href="#L2867">2867</a><span class="code-text">  Example: `42._` .][41946]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2868" href="#L2868">2868</a><span class="code-text">- [Any use of a private `extern crate` outside of its module is now a</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2869" href="#L2869">2869</a><span class="code-text">  hard error.][36886] This was previously a warning.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2870" href="#L2870">2870</a><span class="code-text">- [`use ::self::foo;` is now a hard error.][36888] `self` paths are always</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2871" href="#L2871">2871</a><span class="code-text">  relative while the `::` prefix makes a path absolute, but was ignored and the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2872" href="#L2872">2872</a><span class="code-text">  path was relative regardless.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2873" href="#L2873">2873</a><span class="code-text">- [Floating point constants in match patterns is now a hard error][36890]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2874" href="#L2874">2874</a><span class="code-text">  This was previously a warning.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2875" href="#L2875">2875</a><span class="code-text">- [Struct or enum constants that don't derive `PartialEq` &amp; `Eq` used</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2876" href="#L2876">2876</a><span class="code-text">  match patterns is now a hard error][36891] This was previously a warning.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2877" href="#L2877">2877</a><span class="code-text">- [Lifetimes named `'_` are no longer allowed.][36892] This was previously</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2878" href="#L2878">2878</a><span class="code-text">  a warning.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2879" href="#L2879">2879</a><span class="code-text">- [From the pound escape, lines consisting of multiple `#`s are</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2880" href="#L2880">2880</a><span class="code-text">  now visible][41785]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2881" href="#L2881">2881</a><span class="code-text">- [It is an error to re-export private enum variants][42460]. This is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2882" href="#L2882">2882</a><span class="code-text">  known to break a number of crates that depend on an older version of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2883" href="#L2883">2883</a><span class="code-text">  mustache.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2884" href="#L2884">2884</a><span class="code-text">- [On Windows, if `VCINSTALLDIR` is set incorrectly, `rustc` will try</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2885" href="#L2885">2885</a><span class="code-text">  to use it to find the linker, and the build will fail where it did</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2886" href="#L2886">2886</a><span class="code-text">  not previously][42607]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2887" href="#L2887">2887</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2888" href="#L2888">2888</a><span class="code-text">[36886]: https://github.com/rust-lang/rust/issues/36886</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2889" href="#L2889">2889</a><span class="code-text">[36888]: https://github.com/rust-lang/rust/issues/36888</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2890" href="#L2890">2890</a><span class="code-text">[36890]: https://github.com/rust-lang/rust/issues/36890</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2891" href="#L2891">2891</a><span class="code-text">[36891]: https://github.com/rust-lang/rust/issues/36891</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2892" href="#L2892">2892</a><span class="code-text">[36892]: https://github.com/rust-lang/rust/issues/36892</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2893" href="#L2893">2893</a><span class="code-text">[37406]: https://github.com/rust-lang/rust/issues/37406</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2894" href="#L2894">2894</a><span class="code-text">[39983]: https://github.com/rust-lang/rust/pull/39983</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2895" href="#L2895">2895</a><span class="code-text">[41145]: https://github.com/rust-lang/rust/pull/41145</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2896" href="#L2896">2896</a><span class="code-text">[41192]: https://github.com/rust-lang/rust/pull/41192</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2897" href="#L2897">2897</a><span class="code-text">[41258]: https://github.com/rust-lang/rust/pull/41258</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2898" href="#L2898">2898</a><span class="code-text">[41370]: https://github.com/rust-lang/rust/pull/41370</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2899" href="#L2899">2899</a><span class="code-text">[41449]: https://github.com/rust-lang/rust/pull/41449</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2900" href="#L2900">2900</a><span class="code-text">[41530]: https://github.com/rust-lang/rust/pull/41530</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2901" href="#L2901">2901</a><span class="code-text">[41624]: https://github.com/rust-lang/rust/pull/41624</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2902" href="#L2902">2902</a><span class="code-text">[41656]: https://github.com/rust-lang/rust/pull/41656</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2903" href="#L2903">2903</a><span class="code-text">[41659]: https://github.com/rust-lang/rust/pull/41659</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2904" href="#L2904">2904</a><span class="code-text">[41676]: https://github.com/rust-lang/rust/pull/41676</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2905" href="#L2905">2905</a><span class="code-text">[41751]: https://github.com/rust-lang/rust/pull/41751</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2906" href="#L2906">2906</a><span class="code-text">[41764]: https://github.com/rust-lang/rust/pull/41764</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2907" href="#L2907">2907</a><span class="code-text">[41785]: https://github.com/rust-lang/rust/pull/41785</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2908" href="#L2908">2908</a><span class="code-text">[41873]: https://github.com/rust-lang/rust/pull/41873</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2909" href="#L2909">2909</a><span class="code-text">[41907]: https://github.com/rust-lang/rust/pull/41907</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2910" href="#L2910">2910</a><span class="code-text">[41946]: https://github.com/rust-lang/rust/pull/41946</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2911" href="#L2911">2911</a><span class="code-text">[42016]: https://github.com/rust-lang/rust/pull/42016</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2912" href="#L2912">2912</a><span class="code-text">[42037]: https://github.com/rust-lang/rust/pull/42037</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2913" href="#L2913">2913</a><span class="code-text">[42068]: https://github.com/rust-lang/rust/pull/42068</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2914" href="#L2914">2914</a><span class="code-text">[42150]: https://github.com/rust-lang/rust/pull/42150</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2915" href="#L2915">2915</a><span class="code-text">[42162]: https://github.com/rust-lang/rust/pull/42162</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2916" href="#L2916">2916</a><span class="code-text">[42225]: https://github.com/rust-lang/rust/pull/42225</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2917" href="#L2917">2917</a><span class="code-text">[42264]: https://github.com/rust-lang/rust/pull/42264</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2918" href="#L2918">2918</a><span class="code-text">[42302]: https://github.com/rust-lang/rust/pull/42302</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2919" href="#L2919">2919</a><span class="code-text">[42460]: https://github.com/rust-lang/rust/issues/42460</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2920" href="#L2920">2920</a><span class="code-text">[42607]: https://github.com/rust-lang/rust/issues/42607</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2921" href="#L2921">2921</a><span class="code-text">[42740]: https://github.com/rust-lang/rust/pull/42740</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2922" href="#L2922">2922</a><span class="code-text">[42844]: https://github.com/rust-lang/rust/issues/42844</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2923" href="#L2923">2923</a><span class="code-text">[42948]: https://github.com/rust-lang/rust/pull/42948</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2924" href="#L2924">2924</a><span class="code-text">[RFC 1444]: https://github.com/rust-lang/rfcs/pull/1444</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2925" href="#L2925">2925</a><span class="code-text">[RFC 1506]: https://github.com/rust-lang/rfcs/pull/1506</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2926" href="#L2926">2926</a><span class="code-text">[RFC 1558]: https://github.com/rust-lang/rfcs/pull/1558</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2927" href="#L2927">2927</a><span class="code-text">[RFC 1624]: https://github.com/rust-lang/rfcs/pull/1624</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2928" href="#L2928">2928</a><span class="code-text">[RFC 1721]: https://github.com/rust-lang/rfcs/pull/1721</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2929" href="#L2929">2929</a><span class="code-text">[`Command::envs`]: https://doc.rust-lang.org/std/process/struct.Command.html#method.envs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2930" href="#L2930">2930</a><span class="code-text">[`OsString::shrink_to_fit`]: https://doc.rust-lang.org/std/ffi/struct.OsString.html#method.shrink_to_fit</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2931" href="#L2931">2931</a><span class="code-text">[`cmp::Reverse`]: https://doc.rust-lang.org/std/cmp/struct.Reverse.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2932" href="#L2932">2932</a><span class="code-text">[`thread::ThreadId`]: https://doc.rust-lang.org/std/thread/struct.ThreadId.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2933" href="#L2933">2933</a><span class="code-text">[cargo/3929]: https://github.com/rust-lang/cargo/pull/3929</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2934" href="#L2934">2934</a><span class="code-text">[cargo/3954]: https://github.com/rust-lang/cargo/pull/3954</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2935" href="#L2935">2935</a><span class="code-text">[cargo/3970]: https://github.com/rust-lang/cargo/pull/3970</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2936" href="#L2936">2936</a><span class="code-text">[cargo/3979]: https://github.com/rust-lang/cargo/pull/3979</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2937" href="#L2937">2937</a><span class="code-text">[cargo/3988]: https://github.com/rust-lang/cargo/pull/3988</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2938" href="#L2938">2938</a><span class="code-text">[cargo/4008]: https://github.com/rust-lang/cargo/pull/4008</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2939" href="#L2939">2939</a><span class="code-text">[cargo/4022]: https://github.com/rust-lang/cargo/pull/4022</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2940" href="#L2940">2940</a><span class="code-text">[cargo/4026]: https://github.com/rust-lang/cargo/pull/4026</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2941" href="#L2941">2941</a><span class="code-text">[cargo/4031]: https://github.com/rust-lang/cargo/pull/4031</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2942" href="#L2942">2942</a><span class="code-text">[cargo/4032]: https://github.com/rust-lang/cargo/pull/4032</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2943" href="#L2943">2943</a><span class="code-text">[cargo/4084]: https://github.com/rust-lang/cargo/pull/4084</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2944" href="#L2944">2944</a><span class="code-text">[rust-installer/57]: https://github.com/rust-lang/rust-installer/pull/57</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2945" href="#L2945">2945</a><span class="code-text">[rustup/1100]: https://github.com/rust-lang-nursery/rustup.rs/pull/1100</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2946" href="#L2946">2946</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2947" href="#L2947">2947</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2948" href="#L2948">2948</a><span class="code-text">Version 1.18.0 (2017-06-08)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2949" href="#L2949">2949</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2950" href="#L2950">2950</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2951" href="#L2951">2951</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2952" href="#L2952">2952</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2953" href="#L2953">2953</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2954" href="#L2954">2954</a><span class="code-text">- [Stabilize pub(restricted)][40556] `pub` can now accept a module path to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2955" href="#L2955">2955</a><span class="code-text">  make the item visible to just that module tree. Also accepts the keyword</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2956" href="#L2956">2956</a><span class="code-text">  `crate` to make something public to the whole crate but not users of the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2957" href="#L2957">2957</a><span class="code-text">  library. Example: `pub(crate) mod utils;`. [RFC 1422].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2958" href="#L2958">2958</a><span class="code-text">- [Stabilize `#![windows_subsystem]` attribute][40870] conservative exposure of the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2959" href="#L2959">2959</a><span class="code-text">  `/SUBSYSTEM` linker flag on Windows platforms. [RFC 1665].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2960" href="#L2960">2960</a><span class="code-text">- [Refactor of trait object type parsing][40043] Now `ty` in macros can accept</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2961" href="#L2961">2961</a><span class="code-text">  types like `Write + Send`, trailing `+` are now supported in trait objects,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2962" href="#L2962">2962</a><span class="code-text">  and better error reporting for trait objects starting with `?Sized`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2963" href="#L2963">2963</a><span class="code-text">- [0e+10 is now a valid floating point literal][40589]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2964" href="#L2964">2964</a><span class="code-text">- [Now warns if you bind a lifetime parameter to 'static][40734]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2965" href="#L2965">2965</a><span class="code-text">- [Tuples, Enum variant fields, and structs with no `repr` attribute or with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2966" href="#L2966">2966</a><span class="code-text">  `#[repr(Rust)]` are reordered to minimize padding and produce a smaller</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2967" href="#L2967">2967</a><span class="code-text">  representation in some cases.][40377]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2968" href="#L2968">2968</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2969" href="#L2969">2969</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2970" href="#L2970">2970</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2971" href="#L2971">2971</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2972" href="#L2972">2972</a><span class="code-text">- [rustc can now emit mir with `--emit mir`][39891]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2973" href="#L2973">2973</a><span class="code-text">- [Improved LLVM IR for trivial functions][40367]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2974" href="#L2974">2974</a><span class="code-text">- [Added explanation for E0090(Wrong number of lifetimes are supplied)][40723]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2975" href="#L2975">2975</a><span class="code-text">- [rustc compilation is now 15%-20% faster][41469] Thanks to optimisation</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2976" href="#L2976">2976</a><span class="code-text">  opportunities found through profiling</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2977" href="#L2977">2977</a><span class="code-text">- [Improved backtrace formatting when panicking][38165]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2978" href="#L2978">2978</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2979" href="#L2979">2979</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2980" href="#L2980">2980</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2981" href="#L2981">2981</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2982" href="#L2982">2982</a><span class="code-text">- [Specialized `Vec::from_iter` being passed `vec::IntoIter`][40731] if the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2983" href="#L2983">2983</a><span class="code-text">  iterator hasn't been advanced the original `Vec` is reassembled with no actual</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2984" href="#L2984">2984</a><span class="code-text">  iteration or reallocation.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2985" href="#L2985">2985</a><span class="code-text">- [Simplified HashMap Bucket interface][40561] provides performance</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2986" href="#L2986">2986</a><span class="code-text">  improvements for iterating and cloning.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2987" href="#L2987">2987</a><span class="code-text">- [Specialize Vec::from_elem to use calloc][40409]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2988" href="#L2988">2988</a><span class="code-text">- [Fixed Race condition in fs::create_dir_all][39799]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2989" href="#L2989">2989</a><span class="code-text">- [No longer caching stdio on Windows][40516]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2990" href="#L2990">2990</a><span class="code-text">- [Optimized insertion sort in slice][40807] insertion sort in some cases</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2991" href="#L2991">2991</a><span class="code-text">  2.50%~ faster and in one case now 12.50% faster.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2992" href="#L2992">2992</a><span class="code-text">- [Optimized `AtomicBool::fetch_nand`][41143]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2993" href="#L2993">2993</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2994" href="#L2994">2994</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2995" href="#L2995">2995</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2996" href="#L2996">2996</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2997" href="#L2997">2997</a><span class="code-text">- [`Child::try_wait`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2998" href="#L2998">2998</a><span class="code-text">- [`HashMap::retain`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L2999" href="#L2999">2999</a><span class="code-text">- [`HashSet::retain`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3000" href="#L3000">3000</a><span class="code-text">- [`PeekMut::pop`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3001" href="#L3001">3001</a><span class="code-text">- [`TcpStream::peek`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3002" href="#L3002">3002</a><span class="code-text">- [`UdpSocket::peek`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3003" href="#L3003">3003</a><span class="code-text">- [`UdpSocket::peek_from`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3004" href="#L3004">3004</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3005" href="#L3005">3005</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3006" href="#L3006">3006</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3007" href="#L3007">3007</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3008" href="#L3008">3008</a><span class="code-text">- [Added partial Pijul support][cargo/3842] Pijul is a version control system in Rust.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3009" href="#L3009">3009</a><span class="code-text">  You can now create new cargo projects with Pijul using `cargo new --vcs pijul`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3010" href="#L3010">3010</a><span class="code-text">- [Now always emits build script warnings for crates that fail to build][cargo/3847]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3011" href="#L3011">3011</a><span class="code-text">- [Added Android build support][cargo/3885]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3012" href="#L3012">3012</a><span class="code-text">- [Added `--bins` and `--tests` flags][cargo/3901] now you can build all programs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3013" href="#L3013">3013</a><span class="code-text">  of a certain type, for example `cargo build --bins` will build all</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3014" href="#L3014">3014</a><span class="code-text">  binaries.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3015" href="#L3015">3015</a><span class="code-text">- [Added support for haiku][cargo/3952]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3016" href="#L3016">3016</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3017" href="#L3017">3017</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3018" href="#L3018">3018</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3019" href="#L3019">3019</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3020" href="#L3020">3020</a><span class="code-text">- [rustdoc can now use pulldown-cmark with the `--enable-commonmark` flag][40338]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3021" href="#L3021">3021</a><span class="code-text">- [Added rust-windbg script for better debugging on Windows][39983]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3022" href="#L3022">3022</a><span class="code-text">- [Rust now uses the official cross compiler for NetBSD][40612]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3023" href="#L3023">3023</a><span class="code-text">- [rustdoc now accepts `#` at the start of files][40828]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3024" href="#L3024">3024</a><span class="code-text">- [Fixed jemalloc support for musl][41168]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3025" href="#L3025">3025</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3026" href="#L3026">3026</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3027" href="#L3027">3027</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3028" href="#L3028">3028</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3029" href="#L3029">3029</a><span class="code-text">- [Changes to how the `0` flag works in format!][40241] Padding zeroes are now</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3030" href="#L3030">3030</a><span class="code-text">  always placed after the sign if it exists and before the digits. With the `#`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3031" href="#L3031">3031</a><span class="code-text">  flag the zeroes are placed after the prefix and before the digits.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3032" href="#L3032">3032</a><span class="code-text">- [Due to the struct field optimisation][40377], using `transmute` on structs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3033" href="#L3033">3033</a><span class="code-text">  that have no `repr` attribute or `#[repr(Rust)]` will no longer work. This has</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3034" href="#L3034">3034</a><span class="code-text">  always been undefined behavior, but is now more likely to break in practice.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3035" href="#L3035">3035</a><span class="code-text">- [The refactor of trait object type parsing][40043] fixed a bug where `+` was</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3036" href="#L3036">3036</a><span class="code-text">  receiving the wrong priority parsing things like `&amp;for&lt;'a&gt; Tr&lt;'a&gt; + Send` as</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3037" href="#L3037">3037</a><span class="code-text">  `&amp;(for&lt;'a&gt; Tr&lt;'a&gt; + Send)` instead of `(&amp;for&lt;'a&gt; Tr&lt;'a&gt;) + Send`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3038" href="#L3038">3038</a><span class="code-text">- [Overlapping inherent `impl`s are now a hard error][40728]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3039" href="#L3039">3039</a><span class="code-text">- [`PartialOrd` and `Ord` must agree on the ordering.][41270]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3040" href="#L3040">3040</a><span class="code-text">- [`rustc main.rs -o out --emit=asm,llvm-ir`][41085] Now will output</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3041" href="#L3041">3041</a><span class="code-text">  `out.asm` and `out.ll` instead of only one of the filetypes.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3042" href="#L3042">3042</a><span class="code-text">- [ calling a function that returns `Self` will no longer work][41805] when</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3043" href="#L3043">3043</a><span class="code-text">  the size of `Self` cannot be statically determined.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3044" href="#L3044">3044</a><span class="code-text">- [rustc now builds with a &quot;pthreads&quot; flavour of MinGW for Windows GNU][40805]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3045" href="#L3045">3045</a><span class="code-text">  this has caused a few regressions namely:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3046" href="#L3046">3046</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3047" href="#L3047">3047</a><span class="code-text">  - Changed the link order of local static/dynamic libraries (respecting the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3048" href="#L3048">3048</a><span class="code-text">    order on given rather than having the compiler reorder).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3049" href="#L3049">3049</a><span class="code-text">  - Changed how MinGW is linked, native code linked to dynamic libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3050" href="#L3050">3050</a><span class="code-text">    may require manually linking to the gcc support library (for the native</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3051" href="#L3051">3051</a><span class="code-text">    code itself)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3052" href="#L3052">3052</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3053" href="#L3053">3053</a><span class="code-text">[38165]: https://github.com/rust-lang/rust/pull/38165</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3054" href="#L3054">3054</a><span class="code-text">[39799]: https://github.com/rust-lang/rust/pull/39799</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3055" href="#L3055">3055</a><span class="code-text">[39891]: https://github.com/rust-lang/rust/pull/39891</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3056" href="#L3056">3056</a><span class="code-text">[39983]: https://github.com/rust-lang/rust/pull/39983</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3057" href="#L3057">3057</a><span class="code-text">[40043]: https://github.com/rust-lang/rust/pull/40043</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3058" href="#L3058">3058</a><span class="code-text">[40241]: https://github.com/rust-lang/rust/pull/40241</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3059" href="#L3059">3059</a><span class="code-text">[40338]: https://github.com/rust-lang/rust/pull/40338</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3060" href="#L3060">3060</a><span class="code-text">[40367]: https://github.com/rust-lang/rust/pull/40367</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3061" href="#L3061">3061</a><span class="code-text">[40377]: https://github.com/rust-lang/rust/pull/40377</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3062" href="#L3062">3062</a><span class="code-text">[40409]: https://github.com/rust-lang/rust/pull/40409</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3063" href="#L3063">3063</a><span class="code-text">[40516]: https://github.com/rust-lang/rust/pull/40516</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3064" href="#L3064">3064</a><span class="code-text">[40556]: https://github.com/rust-lang/rust/pull/40556</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3065" href="#L3065">3065</a><span class="code-text">[40561]: https://github.com/rust-lang/rust/pull/40561</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3066" href="#L3066">3066</a><span class="code-text">[40589]: https://github.com/rust-lang/rust/pull/40589</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3067" href="#L3067">3067</a><span class="code-text">[40612]: https://github.com/rust-lang/rust/pull/40612</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3068" href="#L3068">3068</a><span class="code-text">[40723]: https://github.com/rust-lang/rust/pull/40723</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3069" href="#L3069">3069</a><span class="code-text">[40728]: https://github.com/rust-lang/rust/pull/40728</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3070" href="#L3070">3070</a><span class="code-text">[40731]: https://github.com/rust-lang/rust/pull/40731</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3071" href="#L3071">3071</a><span class="code-text">[40734]: https://github.com/rust-lang/rust/pull/40734</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3072" href="#L3072">3072</a><span class="code-text">[40805]: https://github.com/rust-lang/rust/pull/40805</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3073" href="#L3073">3073</a><span class="code-text">[40807]: https://github.com/rust-lang/rust/pull/40807</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3074" href="#L3074">3074</a><span class="code-text">[40828]: https://github.com/rust-lang/rust/pull/40828</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3075" href="#L3075">3075</a><span class="code-text">[40870]: https://github.com/rust-lang/rust/pull/40870</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3076" href="#L3076">3076</a><span class="code-text">[41085]: https://github.com/rust-lang/rust/pull/41085</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3077" href="#L3077">3077</a><span class="code-text">[41143]: https://github.com/rust-lang/rust/pull/41143</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3078" href="#L3078">3078</a><span class="code-text">[41168]: https://github.com/rust-lang/rust/pull/41168</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3079" href="#L3079">3079</a><span class="code-text">[41270]: https://github.com/rust-lang/rust/issues/41270</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3080" href="#L3080">3080</a><span class="code-text">[41469]: https://github.com/rust-lang/rust/pull/41469</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3081" href="#L3081">3081</a><span class="code-text">[41805]: https://github.com/rust-lang/rust/issues/41805</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3082" href="#L3082">3082</a><span class="code-text">[RFC 1422]: https://github.com/rust-lang/rfcs/blob/master/text/1422-pub-restricted.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3083" href="#L3083">3083</a><span class="code-text">[RFC 1665]: https://github.com/rust-lang/rfcs/blob/master/text/1665-windows-subsystem.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3084" href="#L3084">3084</a><span class="code-text">[`Child::try_wait`]: https://doc.rust-lang.org/std/process/struct.Child.html#method.try_wait</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3085" href="#L3085">3085</a><span class="code-text">[`HashMap::retain`]: https://doc.rust-lang.org/std/collections/struct.HashMap.html#method.retain</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3086" href="#L3086">3086</a><span class="code-text">[`HashSet::retain`]: https://doc.rust-lang.org/std/collections/struct.HashSet.html#method.retain</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3087" href="#L3087">3087</a><span class="code-text">[`PeekMut::pop`]: https://doc.rust-lang.org/std/collections/binary_heap/struct.PeekMut.html#method.pop</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3088" href="#L3088">3088</a><span class="code-text">[`TcpStream::peek`]: https://doc.rust-lang.org/std/net/struct.TcpStream.html#method.peek</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3089" href="#L3089">3089</a><span class="code-text">[`UdpSocket::peek_from`]: https://doc.rust-lang.org/std/net/struct.UdpSocket.html#method.peek_from</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3090" href="#L3090">3090</a><span class="code-text">[`UdpSocket::peek`]: https://doc.rust-lang.org/std/net/struct.UdpSocket.html#method.peek</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3091" href="#L3091">3091</a><span class="code-text">[cargo/3842]: https://github.com/rust-lang/cargo/pull/3842</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3092" href="#L3092">3092</a><span class="code-text">[cargo/3847]: https://github.com/rust-lang/cargo/pull/3847</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3093" href="#L3093">3093</a><span class="code-text">[cargo/3885]: https://github.com/rust-lang/cargo/pull/3885</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3094" href="#L3094">3094</a><span class="code-text">[cargo/3901]: https://github.com/rust-lang/cargo/pull/3901</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3095" href="#L3095">3095</a><span class="code-text">[cargo/3952]: https://github.com/rust-lang/cargo/pull/3952</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3096" href="#L3096">3096</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3097" href="#L3097">3097</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3098" href="#L3098">3098</a><span class="code-text">Version 1.17.0 (2017-04-27)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3099" href="#L3099">3099</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3100" href="#L3100">3100</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3101" href="#L3101">3101</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3102" href="#L3102">3102</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3103" href="#L3103">3103</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3104" href="#L3104">3104</a><span class="code-text">* [The lifetime of statics and consts defaults to `'static`][39265]. [RFC 1623]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3105" href="#L3105">3105</a><span class="code-text">* [Fields of structs may be initialized without duplicating the field/variable</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3106" href="#L3106">3106</a><span class="code-text">  names][39761]. [RFC 1682]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3107" href="#L3107">3107</a><span class="code-text">* [`Self` may be included in the `where` clause of `impls`][38864]. [RFC 1647]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3108" href="#L3108">3108</a><span class="code-text">* [When coercing to an unsized type lifetimes must be equal][40319]. That is,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3109" href="#L3109">3109</a><span class="code-text">  there is no subtyping between `T` and `U` when `T: Unsize&lt;U&gt;`. For example,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3110" href="#L3110">3110</a><span class="code-text">  coercing `&amp;mut [&amp;'a X; N]` to `&amp;mut [&amp;'b X]` requires `'a` be equal to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3111" href="#L3111">3111</a><span class="code-text">  `'b`. Soundness fix.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3112" href="#L3112">3112</a><span class="code-text">* [Values passed to the indexing operator, `[]`, automatically coerce][40166]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3113" href="#L3113">3113</a><span class="code-text">* [Static variables may contain references to other statics][40027]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3114" href="#L3114">3114</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3115" href="#L3115">3115</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3116" href="#L3116">3116</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3117" href="#L3117">3117</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3118" href="#L3118">3118</a><span class="code-text">* [Exit quickly on only `--emit dep-info`][40336]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3119" href="#L3119">3119</a><span class="code-text">* [Make `-C relocation-model` more correctly determine whether the linker</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3120" href="#L3120">3120</a><span class="code-text">  creates a position-independent executable][40245]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3121" href="#L3121">3121</a><span class="code-text">* [Add `-C overflow-checks` to directly control whether integer overflow</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3122" href="#L3122">3122</a><span class="code-text">  panics][40037]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3123" href="#L3123">3123</a><span class="code-text">* [The rustc type checker now checks items on demand instead of in a single</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3124" href="#L3124">3124</a><span class="code-text">  in-order pass][40008]. This is mostly an internal refactoring in support of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3125" href="#L3125">3125</a><span class="code-text">  future work, including incremental type checking, but also resolves [RFC</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3126" href="#L3126">3126</a><span class="code-text">  1647], allowing `Self` to appear in `impl` `where` clauses.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3127" href="#L3127">3127</a><span class="code-text">* [Optimize vtable loads][39995]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3128" href="#L3128">3128</a><span class="code-text">* [Turn off vectorization for Emscripten targets][39990]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3129" href="#L3129">3129</a><span class="code-text">* [Provide suggestions for unknown macros imported with `use`][39953]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3130" href="#L3130">3130</a><span class="code-text">* [Fix ICEs in path resolution][39939]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3131" href="#L3131">3131</a><span class="code-text">* [Strip exception handling code on Emscripten when `panic=abort`][39193]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3132" href="#L3132">3132</a><span class="code-text">* [Add clearer error message using `&amp;str + &amp;str`][39116]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3133" href="#L3133">3133</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3134" href="#L3134">3134</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3135" href="#L3135">3135</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3136" href="#L3136">3136</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3137" href="#L3137">3137</a><span class="code-text">* [`Arc::into_raw`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3138" href="#L3138">3138</a><span class="code-text">* [`Arc::from_raw`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3139" href="#L3139">3139</a><span class="code-text">* [`Arc::ptr_eq`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3140" href="#L3140">3140</a><span class="code-text">* [`Rc::into_raw`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3141" href="#L3141">3141</a><span class="code-text">* [`Rc::from_raw`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3142" href="#L3142">3142</a><span class="code-text">* [`Rc::ptr_eq`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3143" href="#L3143">3143</a><span class="code-text">* [`Ordering::then`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3144" href="#L3144">3144</a><span class="code-text">* [`Ordering::then_with`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3145" href="#L3145">3145</a><span class="code-text">* [`BTreeMap::range`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3146" href="#L3146">3146</a><span class="code-text">* [`BTreeMap::range_mut`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3147" href="#L3147">3147</a><span class="code-text">* [`collections::Bound`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3148" href="#L3148">3148</a><span class="code-text">* [`process::abort`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3149" href="#L3149">3149</a><span class="code-text">* [`ptr::read_unaligned`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3150" href="#L3150">3150</a><span class="code-text">* [`ptr::write_unaligned`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3151" href="#L3151">3151</a><span class="code-text">* [`Result::expect_err`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3152" href="#L3152">3152</a><span class="code-text">* [`Cell::swap`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3153" href="#L3153">3153</a><span class="code-text">* [`Cell::replace`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3154" href="#L3154">3154</a><span class="code-text">* [`Cell::into_inner`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3155" href="#L3155">3155</a><span class="code-text">* [`Cell::take`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3156" href="#L3156">3156</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3157" href="#L3157">3157</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3158" href="#L3158">3158</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3159" href="#L3159">3159</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3160" href="#L3160">3160</a><span class="code-text">* [`BTreeMap` and `BTreeSet` can iterate over ranges][27787]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3161" href="#L3161">3161</a><span class="code-text">* [`Cell` can store non-`Copy` types][39793]. [RFC 1651]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3162" href="#L3162">3162</a><span class="code-text">* [`String` implements `FromIterator&lt;&amp;char&gt;`][40028]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3163" href="#L3163">3163</a><span class="code-text">* `Box` [implements][40009] a number of new conversions:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3164" href="#L3164">3164</a><span class="code-text">  `From&lt;Box&lt;str&gt;&gt; for String`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3165" href="#L3165">3165</a><span class="code-text">  `From&lt;Box&lt;[T]&gt;&gt; for Vec&lt;T&gt;`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3166" href="#L3166">3166</a><span class="code-text">  `From&lt;Box&lt;CStr&gt;&gt; for CString`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3167" href="#L3167">3167</a><span class="code-text">  `From&lt;Box&lt;OsStr&gt;&gt; for OsString`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3168" href="#L3168">3168</a><span class="code-text">  `From&lt;Box&lt;Path&gt;&gt; for PathBuf`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3169" href="#L3169">3169</a><span class="code-text">  `Into&lt;Box&lt;str&gt;&gt; for String`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3170" href="#L3170">3170</a><span class="code-text">  `Into&lt;Box&lt;[T]&gt;&gt; for Vec&lt;T&gt;`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3171" href="#L3171">3171</a><span class="code-text">  `Into&lt;Box&lt;CStr&gt;&gt; for CString`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3172" href="#L3172">3172</a><span class="code-text">  `Into&lt;Box&lt;OsStr&gt;&gt; for OsString`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3173" href="#L3173">3173</a><span class="code-text">  `Into&lt;Box&lt;Path&gt;&gt; for PathBuf`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3174" href="#L3174">3174</a><span class="code-text">  `Default for Box&lt;str&gt;`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3175" href="#L3175">3175</a><span class="code-text">  `Default for Box&lt;CStr&gt;`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3176" href="#L3176">3176</a><span class="code-text">  `Default for Box&lt;OsStr&gt;`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3177" href="#L3177">3177</a><span class="code-text">  `From&lt;&amp;CStr&gt; for Box&lt;CStr&gt;`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3178" href="#L3178">3178</a><span class="code-text">  `From&lt;&amp;OsStr&gt; for Box&lt;OsStr&gt;`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3179" href="#L3179">3179</a><span class="code-text">  `From&lt;&amp;Path&gt; for Box&lt;Path&gt;`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3180" href="#L3180">3180</a><span class="code-text">* [`ffi::FromBytesWithNulError` implements `Error` and `Display`][39960]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3181" href="#L3181">3181</a><span class="code-text">* [Specialize `PartialOrd&lt;A&gt; for [A] where A: Ord`][39642]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3182" href="#L3182">3182</a><span class="code-text">* [Slightly optimize `slice::sort`][39538]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3183" href="#L3183">3183</a><span class="code-text">* [Add `ToString` trait specialization for `Cow&lt;'a, str&gt;` and `String`][39440]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3184" href="#L3184">3184</a><span class="code-text">* [`Box&lt;[T]&gt;` implements `From&lt;&amp;[T]&gt; where T: Copy`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3185" href="#L3185">3185</a><span class="code-text">  `Box&lt;str&gt;` implements `From&lt;&amp;str&gt;`][39438]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3186" href="#L3186">3186</a><span class="code-text">* [`IpAddr` implements `From` for various arrays. `SocketAddr` implements</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3187" href="#L3187">3187</a><span class="code-text">  `From&lt;(I, u16)&gt; where I: Into&lt;IpAddr&gt;`][39372]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3188" href="#L3188">3188</a><span class="code-text">* [`format!` estimates the needed capacity before writing a string][39356]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3189" href="#L3189">3189</a><span class="code-text">* [Support unprivileged symlink creation in Windows][38921]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3190" href="#L3190">3190</a><span class="code-text">* [`PathBuf` implements `Default`][38764]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3191" href="#L3191">3191</a><span class="code-text">* [Implement `PartialEq&lt;[A]&gt;` for `VecDeque&lt;A&gt;`][38661]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3192" href="#L3192">3192</a><span class="code-text">* [`HashMap` resizes adaptively][38368] to guard against DOS attacks</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3193" href="#L3193">3193</a><span class="code-text">  and poor hash functions.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3194" href="#L3194">3194</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3195" href="#L3195">3195</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3196" href="#L3196">3196</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3197" href="#L3197">3197</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3198" href="#L3198">3198</a><span class="code-text">* [Add `cargo check --all`][cargo/3731]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3199" href="#L3199">3199</a><span class="code-text">* [Add an option to ignore SSL revocation checking][cargo/3699]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3200" href="#L3200">3200</a><span class="code-text">* [Add `cargo run --package`][cargo/3691]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3201" href="#L3201">3201</a><span class="code-text">* [Add `required_features`][cargo/3667]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3202" href="#L3202">3202</a><span class="code-text">* [Assume `build.rs` is a build script][cargo/3664]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3203" href="#L3203">3203</a><span class="code-text">* [Find workspace via `workspace_root` link in containing member][cargo/3562]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3204" href="#L3204">3204</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3205" href="#L3205">3205</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3206" href="#L3206">3206</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3207" href="#L3207">3207</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3208" href="#L3208">3208</a><span class="code-text">* [Documentation is rendered with mdbook instead of the obsolete, in-tree</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3209" href="#L3209">3209</a><span class="code-text">  `rustbook`][39633]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3210" href="#L3210">3210</a><span class="code-text">* [The &quot;Unstable Book&quot; documents nightly-only features][ubook]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3211" href="#L3211">3211</a><span class="code-text">* [Improve the style of the sidebar in rustdoc output][40265]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3212" href="#L3212">3212</a><span class="code-text">* [Configure build correctly on 64-bit CPU's with the armhf ABI][40261]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3213" href="#L3213">3213</a><span class="code-text">* [Fix MSP430 breakage due to `i128`][40257]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3214" href="#L3214">3214</a><span class="code-text">* [Preliminary Solaris/SPARCv9 support][39903]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3215" href="#L3215">3215</a><span class="code-text">* [`rustc` is linked statically on Windows MSVC targets][39837], allowing it to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3216" href="#L3216">3216</a><span class="code-text">  run without installing the MSVC runtime.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3217" href="#L3217">3217</a><span class="code-text">* [`rustdoc --test` includes file names in test names][39788]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3218" href="#L3218">3218</a><span class="code-text">* This release includes builds of `std` for `sparc64-unknown-linux-gnu`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3219" href="#L3219">3219</a><span class="code-text">  `aarch64-unknown-linux-fuchsia`, and `x86_64-unknown-linux-fuchsia`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3220" href="#L3220">3220</a><span class="code-text">* [Initial support for `aarch64-unknown-freebsd`][39491]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3221" href="#L3221">3221</a><span class="code-text">* [Initial support for `i686-unknown-netbsd`][39426]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3222" href="#L3222">3222</a><span class="code-text">* [This release no longer includes the old makefile build system][39431]. Rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3223" href="#L3223">3223</a><span class="code-text">  is built with a custom build system, written in Rust, and with Cargo.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3224" href="#L3224">3224</a><span class="code-text">* [Add Debug implementations for libcollection structs][39002]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3225" href="#L3225">3225</a><span class="code-text">* [`TypeId` implements `PartialOrd` and `Ord`][38981]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3226" href="#L3226">3226</a><span class="code-text">* [`--test-threads=0` produces an error][38945]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3227" href="#L3227">3227</a><span class="code-text">* [`rustup` installs documentation by default][40526]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3228" href="#L3228">3228</a><span class="code-text">* [The Rust source includes NatVis visualizations][39843]. These can be used by</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3229" href="#L3229">3229</a><span class="code-text">  WinDbg and Visual Studio to improve the debugging experience.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3230" href="#L3230">3230</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3231" href="#L3231">3231</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3232" href="#L3232">3232</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3233" href="#L3233">3233</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3234" href="#L3234">3234</a><span class="code-text">* [Rust 1.17 does not correctly detect the MSVC 2017 linker][38584]. As a</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3235" href="#L3235">3235</a><span class="code-text">  workaround, either use MSVC 2015 or run vcvars.bat.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3236" href="#L3236">3236</a><span class="code-text">* [When coercing to an unsized type lifetimes must be equal][40319]. That is,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3237" href="#L3237">3237</a><span class="code-text">  disallow subtyping between `T` and `U` when `T: Unsize&lt;U&gt;`, e.g. coercing</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3238" href="#L3238">3238</a><span class="code-text">  `&amp;mut [&amp;'a X; N]` to `&amp;mut [&amp;'b X]` requires `'a` be equal to `'b`. Soundness</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3239" href="#L3239">3239</a><span class="code-text">  fix.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3240" href="#L3240">3240</a><span class="code-text">* [`format!` and `Display::to_string` panic if an underlying formatting</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3241" href="#L3241">3241</a><span class="code-text">  implementation returns an error][40117]. Previously the error was silently</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3242" href="#L3242">3242</a><span class="code-text">  ignored. It is incorrect for `write_fmt` to return an error when writing</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3243" href="#L3243">3243</a><span class="code-text">  to a string.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3244" href="#L3244">3244</a><span class="code-text">* [In-tree crates are verified to be unstable][39851]. Previously, some minor</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3245" href="#L3245">3245</a><span class="code-text">  crates were marked stable and could be accessed from the stable toolchain.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3246" href="#L3246">3246</a><span class="code-text">* [Rust git source no longer includes vendored crates][39728]. Those that need</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3247" href="#L3247">3247</a><span class="code-text">  to build with vendored crates should build from release tarballs.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3248" href="#L3248">3248</a><span class="code-text">* [Fix inert attributes from `proc_macro_derives`][39572]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3249" href="#L3249">3249</a><span class="code-text">* [During crate resolution, rustc prefers a crate in the sysroot if two crates</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3250" href="#L3250">3250</a><span class="code-text">  are otherwise identical][39518]. Unlikely to be encountered outside the Rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3251" href="#L3251">3251</a><span class="code-text">  build system.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3252" href="#L3252">3252</a><span class="code-text">* [Fixed bugs around how type inference interacts with dead-code][39485]. The</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3253" href="#L3253">3253</a><span class="code-text">  existing code generally ignores the type of dead-code unless a type-hint is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3254" href="#L3254">3254</a><span class="code-text">  provided; this can cause surprising inference interactions particularly around</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3255" href="#L3255">3255</a><span class="code-text">  defaulting. The new code uniformly ignores the result type of dead-code.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3256" href="#L3256">3256</a><span class="code-text">* [Tuple-struct constructors with private fields are no longer visible][38932]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3257" href="#L3257">3257</a><span class="code-text">* [Lifetime parameters that do not appear in the arguments are now considered</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3258" href="#L3258">3258</a><span class="code-text">  early-bound][38897], resolving a soundness bug (#[32330]). The</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3259" href="#L3259">3259</a><span class="code-text">  `hr_lifetime_in_assoc_type` future-compatibility lint has been in effect since</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3260" href="#L3260">3260</a><span class="code-text">  April of 2016.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3261" href="#L3261">3261</a><span class="code-text">* [rustdoc: fix doctests with non-feature crate attributes][38161]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3262" href="#L3262">3262</a><span class="code-text">* [Make transmuting from fn item types to pointer-sized types a hard</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3263" href="#L3263">3263</a><span class="code-text">  error][34198]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3264" href="#L3264">3264</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3265" href="#L3265">3265</a><span class="code-text">[27787]: https://github.com/rust-lang/rust/issues/27787</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3266" href="#L3266">3266</a><span class="code-text">[32330]: https://github.com/rust-lang/rust/issues/32330</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3267" href="#L3267">3267</a><span class="code-text">[34198]: https://github.com/rust-lang/rust/pull/34198</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3268" href="#L3268">3268</a><span class="code-text">[38161]: https://github.com/rust-lang/rust/pull/38161</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3269" href="#L3269">3269</a><span class="code-text">[38368]: https://github.com/rust-lang/rust/pull/38368</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3270" href="#L3270">3270</a><span class="code-text">[38584]: https://github.com/rust-lang/rust/issues/38584</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3271" href="#L3271">3271</a><span class="code-text">[38661]: https://github.com/rust-lang/rust/pull/38661</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3272" href="#L3272">3272</a><span class="code-text">[38764]: https://github.com/rust-lang/rust/pull/38764</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3273" href="#L3273">3273</a><span class="code-text">[38864]: https://github.com/rust-lang/rust/issues/38864</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3274" href="#L3274">3274</a><span class="code-text">[38897]: https://github.com/rust-lang/rust/pull/38897</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3275" href="#L3275">3275</a><span class="code-text">[38921]: https://github.com/rust-lang/rust/pull/38921</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3276" href="#L3276">3276</a><span class="code-text">[38932]: https://github.com/rust-lang/rust/pull/38932</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3277" href="#L3277">3277</a><span class="code-text">[38945]: https://github.com/rust-lang/rust/pull/38945</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3278" href="#L3278">3278</a><span class="code-text">[38981]: https://github.com/rust-lang/rust/pull/38981</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3279" href="#L3279">3279</a><span class="code-text">[39002]: https://github.com/rust-lang/rust/pull/39002</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3280" href="#L3280">3280</a><span class="code-text">[39116]: https://github.com/rust-lang/rust/pull/39116</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3281" href="#L3281">3281</a><span class="code-text">[39193]: https://github.com/rust-lang/rust/pull/39193</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3282" href="#L3282">3282</a><span class="code-text">[39265]: https://github.com/rust-lang/rust/pull/39265</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3283" href="#L3283">3283</a><span class="code-text">[39356]: https://github.com/rust-lang/rust/pull/39356</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3284" href="#L3284">3284</a><span class="code-text">[39372]: https://github.com/rust-lang/rust/pull/39372</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3285" href="#L3285">3285</a><span class="code-text">[39426]: https://github.com/rust-lang/rust/pull/39426</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3286" href="#L3286">3286</a><span class="code-text">[39431]: https://github.com/rust-lang/rust/pull/39431</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3287" href="#L3287">3287</a><span class="code-text">[39438]: https://github.com/rust-lang/rust/pull/39438</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3288" href="#L3288">3288</a><span class="code-text">[39440]: https://github.com/rust-lang/rust/pull/39440</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3289" href="#L3289">3289</a><span class="code-text">[39485]: https://github.com/rust-lang/rust/pull/39485</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3290" href="#L3290">3290</a><span class="code-text">[39491]: https://github.com/rust-lang/rust/pull/39491</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3291" href="#L3291">3291</a><span class="code-text">[39518]: https://github.com/rust-lang/rust/pull/39518</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3292" href="#L3292">3292</a><span class="code-text">[39538]: https://github.com/rust-lang/rust/pull/39538</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3293" href="#L3293">3293</a><span class="code-text">[39572]: https://github.com/rust-lang/rust/pull/39572</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3294" href="#L3294">3294</a><span class="code-text">[39633]: https://github.com/rust-lang/rust/pull/39633</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3295" href="#L3295">3295</a><span class="code-text">[39642]: https://github.com/rust-lang/rust/pull/39642</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3296" href="#L3296">3296</a><span class="code-text">[39728]: https://github.com/rust-lang/rust/pull/39728</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3297" href="#L3297">3297</a><span class="code-text">[39761]: https://github.com/rust-lang/rust/pull/39761</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3298" href="#L3298">3298</a><span class="code-text">[39788]: https://github.com/rust-lang/rust/pull/39788</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3299" href="#L3299">3299</a><span class="code-text">[39793]: https://github.com/rust-lang/rust/pull/39793</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3300" href="#L3300">3300</a><span class="code-text">[39837]: https://github.com/rust-lang/rust/pull/39837</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3301" href="#L3301">3301</a><span class="code-text">[39843]: https://github.com/rust-lang/rust/pull/39843</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3302" href="#L3302">3302</a><span class="code-text">[39851]: https://github.com/rust-lang/rust/pull/39851</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3303" href="#L3303">3303</a><span class="code-text">[39903]: https://github.com/rust-lang/rust/pull/39903</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3304" href="#L3304">3304</a><span class="code-text">[39939]: https://github.com/rust-lang/rust/pull/39939</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3305" href="#L3305">3305</a><span class="code-text">[39953]: https://github.com/rust-lang/rust/pull/39953</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3306" href="#L3306">3306</a><span class="code-text">[39960]: https://github.com/rust-lang/rust/pull/39960</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3307" href="#L3307">3307</a><span class="code-text">[39990]: https://github.com/rust-lang/rust/pull/39990</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3308" href="#L3308">3308</a><span class="code-text">[39995]: https://github.com/rust-lang/rust/pull/39995</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3309" href="#L3309">3309</a><span class="code-text">[40008]: https://github.com/rust-lang/rust/pull/40008</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3310" href="#L3310">3310</a><span class="code-text">[40009]: https://github.com/rust-lang/rust/pull/40009</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3311" href="#L3311">3311</a><span class="code-text">[40027]: https://github.com/rust-lang/rust/pull/40027</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3312" href="#L3312">3312</a><span class="code-text">[40028]: https://github.com/rust-lang/rust/pull/40028</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3313" href="#L3313">3313</a><span class="code-text">[40037]: https://github.com/rust-lang/rust/pull/40037</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3314" href="#L3314">3314</a><span class="code-text">[40117]: https://github.com/rust-lang/rust/pull/40117</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3315" href="#L3315">3315</a><span class="code-text">[40166]: https://github.com/rust-lang/rust/pull/40166</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3316" href="#L3316">3316</a><span class="code-text">[40245]: https://github.com/rust-lang/rust/pull/40245</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3317" href="#L3317">3317</a><span class="code-text">[40257]: https://github.com/rust-lang/rust/pull/40257</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3318" href="#L3318">3318</a><span class="code-text">[40261]: https://github.com/rust-lang/rust/pull/40261</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3319" href="#L3319">3319</a><span class="code-text">[40265]: https://github.com/rust-lang/rust/pull/40265</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3320" href="#L3320">3320</a><span class="code-text">[40319]: https://github.com/rust-lang/rust/pull/40319</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3321" href="#L3321">3321</a><span class="code-text">[40336]: https://github.com/rust-lang/rust/pull/40336</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3322" href="#L3322">3322</a><span class="code-text">[40526]: https://github.com/rust-lang/rust/pull/40526</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3323" href="#L3323">3323</a><span class="code-text">[RFC 1623]: https://github.com/rust-lang/rfcs/blob/master/text/1623-static.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3324" href="#L3324">3324</a><span class="code-text">[RFC 1647]: https://github.com/rust-lang/rfcs/blob/master/text/1647-allow-self-in-where-clauses.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3325" href="#L3325">3325</a><span class="code-text">[RFC 1651]: https://github.com/rust-lang/rfcs/blob/master/text/1651-movecell.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3326" href="#L3326">3326</a><span class="code-text">[RFC 1682]: https://github.com/rust-lang/rfcs/blob/master/text/1682-field-init-shorthand.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3327" href="#L3327">3327</a><span class="code-text">[`Arc::from_raw`]: https://doc.rust-lang.org/std/sync/struct.Arc.html#method.from_raw</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3328" href="#L3328">3328</a><span class="code-text">[`Arc::into_raw`]: https://doc.rust-lang.org/std/sync/struct.Arc.html#method.into_raw</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3329" href="#L3329">3329</a><span class="code-text">[`Arc::ptr_eq`]: https://doc.rust-lang.org/std/sync/struct.Arc.html#method.ptr_eq</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3330" href="#L3330">3330</a><span class="code-text">[`BTreeMap::range_mut`]: https://doc.rust-lang.org/std/collections/btree_map/struct.BTreeMap.html#method.range_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3331" href="#L3331">3331</a><span class="code-text">[`BTreeMap::range`]: https://doc.rust-lang.org/std/collections/btree_map/struct.BTreeMap.html#method.range</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3332" href="#L3332">3332</a><span class="code-text">[`Cell::into_inner`]: https://doc.rust-lang.org/std/cell/struct.Cell.html#method.into_inner</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3333" href="#L3333">3333</a><span class="code-text">[`Cell::replace`]: https://doc.rust-lang.org/std/cell/struct.Cell.html#method.replace</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3334" href="#L3334">3334</a><span class="code-text">[`Cell::swap`]: https://doc.rust-lang.org/std/cell/struct.Cell.html#method.swap</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3335" href="#L3335">3335</a><span class="code-text">[`Cell::take`]: https://doc.rust-lang.org/std/cell/struct.Cell.html#method.take</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3336" href="#L3336">3336</a><span class="code-text">[`Ordering::then_with`]: https://doc.rust-lang.org/std/cmp/enum.Ordering.html#method.then_with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3337" href="#L3337">3337</a><span class="code-text">[`Ordering::then`]: https://doc.rust-lang.org/std/cmp/enum.Ordering.html#method.then</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3338" href="#L3338">3338</a><span class="code-text">[`Rc::from_raw`]: https://doc.rust-lang.org/std/rc/struct.Rc.html#method.from_raw</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3339" href="#L3339">3339</a><span class="code-text">[`Rc::into_raw`]: https://doc.rust-lang.org/std/rc/struct.Rc.html#method.into_raw</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3340" href="#L3340">3340</a><span class="code-text">[`Rc::ptr_eq`]: https://doc.rust-lang.org/std/rc/struct.Rc.html#method.ptr_eq</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3341" href="#L3341">3341</a><span class="code-text">[`Result::expect_err`]: https://doc.rust-lang.org/std/result/enum.Result.html#method.expect_err</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3342" href="#L3342">3342</a><span class="code-text">[`collections::Bound`]: https://doc.rust-lang.org/std/collections/enum.Bound.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3343" href="#L3343">3343</a><span class="code-text">[`process::abort`]: https://doc.rust-lang.org/std/process/fn.abort.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3344" href="#L3344">3344</a><span class="code-text">[`ptr::read_unaligned`]: https://doc.rust-lang.org/std/ptr/fn.read_unaligned.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3345" href="#L3345">3345</a><span class="code-text">[`ptr::write_unaligned`]: https://doc.rust-lang.org/std/ptr/fn.write_unaligned.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3346" href="#L3346">3346</a><span class="code-text">[cargo/3562]: https://github.com/rust-lang/cargo/pull/3562</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3347" href="#L3347">3347</a><span class="code-text">[cargo/3664]: https://github.com/rust-lang/cargo/pull/3664</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3348" href="#L3348">3348</a><span class="code-text">[cargo/3667]: https://github.com/rust-lang/cargo/pull/3667</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3349" href="#L3349">3349</a><span class="code-text">[cargo/3691]: https://github.com/rust-lang/cargo/pull/3691</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3350" href="#L3350">3350</a><span class="code-text">[cargo/3699]: https://github.com/rust-lang/cargo/pull/3699</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3351" href="#L3351">3351</a><span class="code-text">[cargo/3731]: https://github.com/rust-lang/cargo/pull/3731</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3352" href="#L3352">3352</a><span class="code-text">[mdbook]: https://crates.io/crates/mdbook</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3353" href="#L3353">3353</a><span class="code-text">[ubook]: https://doc.rust-lang.org/unstable-book/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3354" href="#L3354">3354</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3355" href="#L3355">3355</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3356" href="#L3356">3356</a><span class="code-text">Version 1.16.0 (2017-03-16)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3357" href="#L3357">3357</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3358" href="#L3358">3358</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3359" href="#L3359">3359</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3360" href="#L3360">3360</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3361" href="#L3361">3361</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3362" href="#L3362">3362</a><span class="code-text">* [The compiler's `dead_code` lint now accounts for type aliases][38051].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3363" href="#L3363">3363</a><span class="code-text">* [Uninhabitable enums (those without any variants) no longer permit wildcard</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3364" href="#L3364">3364</a><span class="code-text">  match patterns][38069]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3365" href="#L3365">3365</a><span class="code-text">* [Clean up semantics of `self` in an import list][38313]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3366" href="#L3366">3366</a><span class="code-text">* [`Self` may appear in `impl` headers][38920]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3367" href="#L3367">3367</a><span class="code-text">* [`Self` may appear in struct expressions][39282]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3368" href="#L3368">3368</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3369" href="#L3369">3369</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3370" href="#L3370">3370</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3371" href="#L3371">3371</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3372" href="#L3372">3372</a><span class="code-text">* [`rustc` now supports `--emit=metadata`, which causes rustc to emit</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3373" href="#L3373">3373</a><span class="code-text">  a `.rmeta` file containing only crate metadata][38571]. This can be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3374" href="#L3374">3374</a><span class="code-text">  used by tools like the Rust Language Service to perform</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3375" href="#L3375">3375</a><span class="code-text">  metadata-only builds.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3376" href="#L3376">3376</a><span class="code-text">* [Levenshtein based typo suggestions now work in most places, while</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3377" href="#L3377">3377</a><span class="code-text">  previously they worked only for fields and sometimes for local</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3378" href="#L3378">3378</a><span class="code-text">  variables][38927]. Together with the overhaul of &quot;no</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3379" href="#L3379">3379</a><span class="code-text">  resolution&quot;/&quot;unexpected resolution&quot; errors (#[38154]) they result in</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3380" href="#L3380">3380</a><span class="code-text">  large and systematic improvement in resolution diagnostics.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3381" href="#L3381">3381</a><span class="code-text">* [Fix `transmute::&lt;T, U&gt;` where `T` requires a bigger alignment than</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3382" href="#L3382">3382</a><span class="code-text">  `U`][38670]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3383" href="#L3383">3383</a><span class="code-text">* [rustc: use -Xlinker when specifying an rpath with ',' in it][38798]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3384" href="#L3384">3384</a><span class="code-text">* [`rustc` no longer attempts to provide &quot;consider using an explicit</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3385" href="#L3385">3385</a><span class="code-text">  lifetime&quot; suggestions][37057]. They were inaccurate.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3386" href="#L3386">3386</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3387" href="#L3387">3387</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3388" href="#L3388">3388</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3389" href="#L3389">3389</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3390" href="#L3390">3390</a><span class="code-text">* [`VecDeque::truncate`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3391" href="#L3391">3391</a><span class="code-text">* [`VecDeque::resize`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3392" href="#L3392">3392</a><span class="code-text">* [`String::insert_str`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3393" href="#L3393">3393</a><span class="code-text">* [`Duration::checked_add`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3394" href="#L3394">3394</a><span class="code-text">* [`Duration::checked_sub`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3395" href="#L3395">3395</a><span class="code-text">* [`Duration::checked_div`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3396" href="#L3396">3396</a><span class="code-text">* [`Duration::checked_mul`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3397" href="#L3397">3397</a><span class="code-text">* [`str::replacen`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3398" href="#L3398">3398</a><span class="code-text">* [`str::repeat`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3399" href="#L3399">3399</a><span class="code-text">* [`SocketAddr::is_ipv4`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3400" href="#L3400">3400</a><span class="code-text">* [`SocketAddr::is_ipv6`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3401" href="#L3401">3401</a><span class="code-text">* [`IpAddr::is_ipv4`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3402" href="#L3402">3402</a><span class="code-text">* [`IpAddr::is_ipv6`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3403" href="#L3403">3403</a><span class="code-text">* [`Vec::dedup_by`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3404" href="#L3404">3404</a><span class="code-text">* [`Vec::dedup_by_key`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3405" href="#L3405">3405</a><span class="code-text">* [`Result::unwrap_or_default`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3406" href="#L3406">3406</a><span class="code-text">* [`&lt;*const T&gt;::wrapping_offset`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3407" href="#L3407">3407</a><span class="code-text">* [`&lt;*mut T&gt;::wrapping_offset`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3408" href="#L3408">3408</a><span class="code-text">* `CommandExt::creation_flags`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3409" href="#L3409">3409</a><span class="code-text">* [`File::set_permissions`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3410" href="#L3410">3410</a><span class="code-text">* [`String::split_off`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3411" href="#L3411">3411</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3412" href="#L3412">3412</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3413" href="#L3413">3413</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3414" href="#L3414">3414</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3415" href="#L3415">3415</a><span class="code-text">* [`[T]::binary_search` and `[T]::binary_search_by_key` now take</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3416" href="#L3416">3416</a><span class="code-text">  their argument by `Borrow` parameter][37761]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3417" href="#L3417">3417</a><span class="code-text">* [All public types in std implement `Debug`][38006]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3418" href="#L3418">3418</a><span class="code-text">* [`IpAddr` implements `From&lt;Ipv4Addr&gt;` and `From&lt;Ipv6Addr&gt;`][38327]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3419" href="#L3419">3419</a><span class="code-text">* [`Ipv6Addr` implements `From&lt;[u16; 8]&gt;`][38131]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3420" href="#L3420">3420</a><span class="code-text">* [Ctrl-Z returns from `Stdin.read()` when reading from the console on</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3421" href="#L3421">3421</a><span class="code-text">  Windows][38274]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3422" href="#L3422">3422</a><span class="code-text">* [std: Fix partial writes in `LineWriter`][38062]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3423" href="#L3423">3423</a><span class="code-text">* [std: Clamp max read/write sizes on Unix][38062]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3424" href="#L3424">3424</a><span class="code-text">* [Use more specific panic message for `&amp;str` slicing errors][38066]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3425" href="#L3425">3425</a><span class="code-text">* [`TcpListener::set_only_v6` is deprecated][38304]. This</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3426" href="#L3426">3426</a><span class="code-text">  functionality cannot be achieved in std currently.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3427" href="#L3427">3427</a><span class="code-text">* [`writeln!`, like `println!`, now accepts a form with no string</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3428" href="#L3428">3428</a><span class="code-text">  or formatting arguments, to just print a newline][38469]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3429" href="#L3429">3429</a><span class="code-text">* [Implement `iter::Sum` and `iter::Product` for `Result`][38580]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3430" href="#L3430">3430</a><span class="code-text">* [Reduce the size of static data in `std_unicode::tables`][38781]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3431" href="#L3431">3431</a><span class="code-text">* [`char::EscapeDebug`, `EscapeDefault`, `EscapeUnicode`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3432" href="#L3432">3432</a><span class="code-text">  `CaseMappingIter`, `ToLowercase`, `ToUppercase`, implement</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3433" href="#L3433">3433</a><span class="code-text">  `Display`][38909]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3434" href="#L3434">3434</a><span class="code-text">* [`Duration` implements `Sum`][38712]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3435" href="#L3435">3435</a><span class="code-text">* [`String` implements `ToSocketAddrs`][39048]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3436" href="#L3436">3436</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3437" href="#L3437">3437</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3438" href="#L3438">3438</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3439" href="#L3439">3439</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3440" href="#L3440">3440</a><span class="code-text">* [The `cargo check` command does a type check of a project without</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3441" href="#L3441">3441</a><span class="code-text">  building it][cargo/3296]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3442" href="#L3442">3442</a><span class="code-text">* [crates.io will display CI badges from Travis and AppVeyor, if</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3443" href="#L3443">3443</a><span class="code-text">  specified in Cargo.toml][cargo/3546]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3444" href="#L3444">3444</a><span class="code-text">* [crates.io will display categories listed in Cargo.toml][cargo/3301]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3445" href="#L3445">3445</a><span class="code-text">* [Compilation profiles accept integer values for `debug`, in addition</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3446" href="#L3446">3446</a><span class="code-text">  to `true` and `false`. These are passed to `rustc` as the value to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3447" href="#L3447">3447</a><span class="code-text">  `-C debuginfo`][cargo/3534]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3448" href="#L3448">3448</a><span class="code-text">* [Implement `cargo --version --verbose`][cargo/3604]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3449" href="#L3449">3449</a><span class="code-text">* [All builds now output 'dep-info' build dependencies compatible with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3450" href="#L3450">3450</a><span class="code-text">  make and ninja][cargo/3557]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3451" href="#L3451">3451</a><span class="code-text">* [Build all workspace members with `build --all`][cargo/3511]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3452" href="#L3452">3452</a><span class="code-text">* [Document all workspace members with `doc --all`][cargo/3515]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3453" href="#L3453">3453</a><span class="code-text">* [Path deps outside workspace are not members][cargo/3443]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3454" href="#L3454">3454</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3455" href="#L3455">3455</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3456" href="#L3456">3456</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3457" href="#L3457">3457</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3458" href="#L3458">3458</a><span class="code-text">* [`rustdoc` has a `--sysroot` argument that, like `rustc`, specifies</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3459" href="#L3459">3459</a><span class="code-text">  the path to the Rust implementation][38589]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3460" href="#L3460">3460</a><span class="code-text">* [The `armv7-linux-androideabi` target no longer enables NEON</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3461" href="#L3461">3461</a><span class="code-text">  extensions, per Google's ABI guide][38413]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3462" href="#L3462">3462</a><span class="code-text">* [The stock standard library can be compiled for Redox OS][38401]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3463" href="#L3463">3463</a><span class="code-text">* [Rust has initial SPARC support][38726]. Tier 3. No builds</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3464" href="#L3464">3464</a><span class="code-text">  available.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3465" href="#L3465">3465</a><span class="code-text">* [Rust has experimental support for Nvidia PTX][38559]. Tier 3. No</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3466" href="#L3466">3466</a><span class="code-text">  builds available.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3467" href="#L3467">3467</a><span class="code-text">* [Fix backtraces on i686-pc-windows-gnu by disabling FPO][39379]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3468" href="#L3468">3468</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3469" href="#L3469">3469</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3470" href="#L3470">3470</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3471" href="#L3471">3471</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3472" href="#L3472">3472</a><span class="code-text">* [Uninhabitable enums (those without any variants) no longer permit wildcard</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3473" href="#L3473">3473</a><span class="code-text">  match patterns][38069]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3474" href="#L3474">3474</a><span class="code-text">* In this release, references to uninhabited types can not be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3475" href="#L3475">3475</a><span class="code-text">  pattern-matched. This was accidentally allowed in 1.15.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3476" href="#L3476">3476</a><span class="code-text">* [The compiler's `dead_code` lint now accounts for type aliases][38051].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3477" href="#L3477">3477</a><span class="code-text">* [Ctrl-Z returns from `Stdin.read()` when reading from the console on</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3478" href="#L3478">3478</a><span class="code-text">  Windows][38274]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3479" href="#L3479">3479</a><span class="code-text">* [Clean up semantics of `self` in an import list][38313]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3480" href="#L3480">3480</a><span class="code-text">* Reimplemented lifetime elision. This change was almost entirely compatible</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3481" href="#L3481">3481</a><span class="code-text">  with existing code, but it did close a number of small bugs and loopholes,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3482" href="#L3482">3482</a><span class="code-text">  as well as being more accepting in some other [cases][41105].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3483" href="#L3483">3483</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3484" href="#L3484">3484</a><span class="code-text">[37057]: https://github.com/rust-lang/rust/pull/37057</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3485" href="#L3485">3485</a><span class="code-text">[37761]: https://github.com/rust-lang/rust/pull/37761</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3486" href="#L3486">3486</a><span class="code-text">[38006]: https://github.com/rust-lang/rust/pull/38006</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3487" href="#L3487">3487</a><span class="code-text">[38051]: https://github.com/rust-lang/rust/pull/38051</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3488" href="#L3488">3488</a><span class="code-text">[38062]: https://github.com/rust-lang/rust/pull/38062</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3489" href="#L3489">3489</a><span class="code-text">[38062]: https://github.com/rust-lang/rust/pull/38622</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3490" href="#L3490">3490</a><span class="code-text">[38066]: https://github.com/rust-lang/rust/pull/38066</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3491" href="#L3491">3491</a><span class="code-text">[38069]: https://github.com/rust-lang/rust/pull/38069</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3492" href="#L3492">3492</a><span class="code-text">[38131]: https://github.com/rust-lang/rust/pull/38131</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3493" href="#L3493">3493</a><span class="code-text">[38154]: https://github.com/rust-lang/rust/pull/38154</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3494" href="#L3494">3494</a><span class="code-text">[38274]: https://github.com/rust-lang/rust/pull/38274</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3495" href="#L3495">3495</a><span class="code-text">[38304]: https://github.com/rust-lang/rust/pull/38304</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3496" href="#L3496">3496</a><span class="code-text">[38313]: https://github.com/rust-lang/rust/pull/38313</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3497" href="#L3497">3497</a><span class="code-text">[38314]: https://github.com/rust-lang/rust/pull/38314</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3498" href="#L3498">3498</a><span class="code-text">[38327]: https://github.com/rust-lang/rust/pull/38327</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3499" href="#L3499">3499</a><span class="code-text">[38401]: https://github.com/rust-lang/rust/pull/38401</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3500" href="#L3500">3500</a><span class="code-text">[38413]: https://github.com/rust-lang/rust/pull/38413</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3501" href="#L3501">3501</a><span class="code-text">[38469]: https://github.com/rust-lang/rust/pull/38469</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3502" href="#L3502">3502</a><span class="code-text">[38559]: https://github.com/rust-lang/rust/pull/38559</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3503" href="#L3503">3503</a><span class="code-text">[38571]: https://github.com/rust-lang/rust/pull/38571</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3504" href="#L3504">3504</a><span class="code-text">[38580]: https://github.com/rust-lang/rust/pull/38580</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3505" href="#L3505">3505</a><span class="code-text">[38589]: https://github.com/rust-lang/rust/pull/38589</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3506" href="#L3506">3506</a><span class="code-text">[38670]: https://github.com/rust-lang/rust/pull/38670</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3507" href="#L3507">3507</a><span class="code-text">[38712]: https://github.com/rust-lang/rust/pull/38712</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3508" href="#L3508">3508</a><span class="code-text">[38726]: https://github.com/rust-lang/rust/pull/38726</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3509" href="#L3509">3509</a><span class="code-text">[38781]: https://github.com/rust-lang/rust/pull/38781</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3510" href="#L3510">3510</a><span class="code-text">[38798]: https://github.com/rust-lang/rust/pull/38798</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3511" href="#L3511">3511</a><span class="code-text">[38909]: https://github.com/rust-lang/rust/pull/38909</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3512" href="#L3512">3512</a><span class="code-text">[38920]: https://github.com/rust-lang/rust/pull/38920</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3513" href="#L3513">3513</a><span class="code-text">[38927]: https://github.com/rust-lang/rust/pull/38927</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3514" href="#L3514">3514</a><span class="code-text">[39048]: https://github.com/rust-lang/rust/pull/39048</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3515" href="#L3515">3515</a><span class="code-text">[39282]: https://github.com/rust-lang/rust/pull/39282</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3516" href="#L3516">3516</a><span class="code-text">[39379]: https://github.com/rust-lang/rust/pull/39379</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3517" href="#L3517">3517</a><span class="code-text">[41105]: https://github.com/rust-lang/rust/issues/41105</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3518" href="#L3518">3518</a><span class="code-text">[`&lt;*const T&gt;::wrapping_offset`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.wrapping_offset</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3519" href="#L3519">3519</a><span class="code-text">[`&lt;*mut T&gt;::wrapping_offset`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.wrapping_offset</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3520" href="#L3520">3520</a><span class="code-text">[`Duration::checked_add`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.checked_add</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3521" href="#L3521">3521</a><span class="code-text">[`Duration::checked_div`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.checked_div</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3522" href="#L3522">3522</a><span class="code-text">[`Duration::checked_mul`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.checked_mul</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3523" href="#L3523">3523</a><span class="code-text">[`Duration::checked_sub`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.checked_sub</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3524" href="#L3524">3524</a><span class="code-text">[`File::set_permissions`]: https://doc.rust-lang.org/std/fs/struct.File.html#method.set_permissions</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3525" href="#L3525">3525</a><span class="code-text">[`IpAddr::is_ipv4`]: https://doc.rust-lang.org/std/net/enum.IpAddr.html#method.is_ipv4</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3526" href="#L3526">3526</a><span class="code-text">[`IpAddr::is_ipv6`]: https://doc.rust-lang.org/std/net/enum.IpAddr.html#method.is_ipv6</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3527" href="#L3527">3527</a><span class="code-text">[`Result::unwrap_or_default`]: https://doc.rust-lang.org/std/result/enum.Result.html#method.unwrap_or_default</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3528" href="#L3528">3528</a><span class="code-text">[`SocketAddr::is_ipv4`]: https://doc.rust-lang.org/std/net/enum.SocketAddr.html#method.is_ipv4</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3529" href="#L3529">3529</a><span class="code-text">[`SocketAddr::is_ipv6`]: https://doc.rust-lang.org/std/net/enum.SocketAddr.html#method.is_ipv6</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3530" href="#L3530">3530</a><span class="code-text">[`String::insert_str`]: https://doc.rust-lang.org/std/string/struct.String.html#method.insert_str</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3531" href="#L3531">3531</a><span class="code-text">[`String::split_off`]: https://doc.rust-lang.org/std/string/struct.String.html#method.split_off</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3532" href="#L3532">3532</a><span class="code-text">[`Vec::dedup_by_key`]: https://doc.rust-lang.org/std/vec/struct.Vec.html#method.dedup_by_key</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3533" href="#L3533">3533</a><span class="code-text">[`Vec::dedup_by`]: https://doc.rust-lang.org/std/vec/struct.Vec.html#method.dedup_by</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3534" href="#L3534">3534</a><span class="code-text">[`VecDeque::resize`]:  https://doc.rust-lang.org/std/collections/vec_deque/struct.VecDeque.html#method.resize</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3535" href="#L3535">3535</a><span class="code-text">[`VecDeque::truncate`]: https://doc.rust-lang.org/std/collections/vec_deque/struct.VecDeque.html#method.truncate</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3536" href="#L3536">3536</a><span class="code-text">[`str::repeat`]: https://doc.rust-lang.org/std/primitive.str.html#method.repeat</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3537" href="#L3537">3537</a><span class="code-text">[`str::replacen`]: https://doc.rust-lang.org/std/primitive.str.html#method.replacen</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3538" href="#L3538">3538</a><span class="code-text">[cargo/3296]: https://github.com/rust-lang/cargo/pull/3296</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3539" href="#L3539">3539</a><span class="code-text">[cargo/3301]: https://github.com/rust-lang/cargo/pull/3301</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3540" href="#L3540">3540</a><span class="code-text">[cargo/3443]: https://github.com/rust-lang/cargo/pull/3443</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3541" href="#L3541">3541</a><span class="code-text">[cargo/3511]: https://github.com/rust-lang/cargo/pull/3511</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3542" href="#L3542">3542</a><span class="code-text">[cargo/3515]: https://github.com/rust-lang/cargo/pull/3515</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3543" href="#L3543">3543</a><span class="code-text">[cargo/3534]: https://github.com/rust-lang/cargo/pull/3534</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3544" href="#L3544">3544</a><span class="code-text">[cargo/3546]: https://github.com/rust-lang/cargo/pull/3546</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3545" href="#L3545">3545</a><span class="code-text">[cargo/3557]: https://github.com/rust-lang/cargo/pull/3557</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3546" href="#L3546">3546</a><span class="code-text">[cargo/3604]: https://github.com/rust-lang/cargo/pull/3604</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3547" href="#L3547">3547</a><span class="code-text">[RFC 1623]: https://github.com/rust-lang/rfcs/blob/master/text/1623-static.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3548" href="#L3548">3548</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3549" href="#L3549">3549</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3550" href="#L3550">3550</a><span class="code-text">Version 1.15.1 (2017-02-09)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3551" href="#L3551">3551</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3552" href="#L3552">3552</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3553" href="#L3553">3553</a><span class="code-text">* [Fix IntoIter::as_mut_slice's signature][39466]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3554" href="#L3554">3554</a><span class="code-text">* [Compile compiler builtins with `-fPIC` on 32-bit platforms][39523]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3555" href="#L3555">3555</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3556" href="#L3556">3556</a><span class="code-text">[39466]: https://github.com/rust-lang/rust/pull/39466</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3557" href="#L3557">3557</a><span class="code-text">[39523]: https://github.com/rust-lang/rust/pull/39523</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3558" href="#L3558">3558</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3559" href="#L3559">3559</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3560" href="#L3560">3560</a><span class="code-text">Version 1.15.0 (2017-02-02)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3561" href="#L3561">3561</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3562" href="#L3562">3562</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3563" href="#L3563">3563</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3564" href="#L3564">3564</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3565" href="#L3565">3565</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3566" href="#L3566">3566</a><span class="code-text">* Basic procedural macros allowing custom `#[derive]`, aka &quot;macros 1.1&quot;, are</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3567" href="#L3567">3567</a><span class="code-text">  stable. This allows popular code-generating crates like Serde and Diesel to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3568" href="#L3568">3568</a><span class="code-text">  work ergonomically. [RFC 1681].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3569" href="#L3569">3569</a><span class="code-text">* [Tuple structs may be empty. Unary and empty tuple structs may be instantiated</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3570" href="#L3570">3570</a><span class="code-text">  with curly braces][36868]. Part of [RFC 1506].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3571" href="#L3571">3571</a><span class="code-text">* [A number of minor changes to name resolution have been activated][37127].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3572" href="#L3572">3572</a><span class="code-text">  They add up to more consistent semantics, allowing for future evolution of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3573" href="#L3573">3573</a><span class="code-text">  Rust macros. Specified in [RFC 1560], see its section on [&quot;changes&quot;] for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3574" href="#L3574">3574</a><span class="code-text">  details of what is different. The breaking changes here have been transitioned</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3575" href="#L3575">3575</a><span class="code-text">  through the [`legacy_imports`] lint since 1.14, with no known regressions.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3576" href="#L3576">3576</a><span class="code-text">* [In `macro_rules`, `path` fragments can now be parsed as type parameter</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3577" href="#L3577">3577</a><span class="code-text">  bounds][38279]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3578" href="#L3578">3578</a><span class="code-text">* [`?Sized` can be used in `where` clauses][37791]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3579" href="#L3579">3579</a><span class="code-text">* [There is now a limit on the size of monomorphized types and it can be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3580" href="#L3580">3580</a><span class="code-text">  modified with the `#![type_size_limit]` crate attribute, similarly to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3581" href="#L3581">3581</a><span class="code-text">  the `#![recursion_limit]` attribute][37789]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3582" href="#L3582">3582</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3583" href="#L3583">3583</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3584" href="#L3584">3584</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3585" href="#L3585">3585</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3586" href="#L3586">3586</a><span class="code-text">* [On Windows, the compiler will apply dllimport attributes when linking to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3587" href="#L3587">3587</a><span class="code-text">  extern functions][37973]. Additional attributes and flags can control which</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3588" href="#L3588">3588</a><span class="code-text">  library kind is linked and its name. [RFC 1717].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3589" href="#L3589">3589</a><span class="code-text">* [Rust-ABI symbols are no longer exported from cdylibs][38117]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3590" href="#L3590">3590</a><span class="code-text">* [The `--test` flag works with procedural macro crates][38107]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3591" href="#L3591">3591</a><span class="code-text">* [Fix `extern &quot;aapcs&quot; fn` ABI][37814]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3592" href="#L3592">3592</a><span class="code-text">* [The `-C no-stack-check` flag is deprecated][37636]. It does nothing.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3593" href="#L3593">3593</a><span class="code-text">* [The `format!` expander recognizes incorrect `printf` and shell-style</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3594" href="#L3594">3594</a><span class="code-text">  formatting directives and suggests the correct format][37613].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3595" href="#L3595">3595</a><span class="code-text">* [Only report one error for all unused imports in an import list][37456]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3596" href="#L3596">3596</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3597" href="#L3597">3597</a><span class="code-text">Compiler Performance</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3598" href="#L3598">3598</a><span class="code-text">--------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3599" href="#L3599">3599</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3600" href="#L3600">3600</a><span class="code-text">* [Avoid unnecessary `mk_ty` calls in `Ty::super_fold_with`][37705]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3601" href="#L3601">3601</a><span class="code-text">* [Avoid more unnecessary `mk_ty` calls in `Ty::super_fold_with`][37979]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3602" href="#L3602">3602</a><span class="code-text">* [Don't clone in `UnificationTable::probe`][37848]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3603" href="#L3603">3603</a><span class="code-text">* [Remove `scope_auxiliary` to cut RSS by 10%][37764]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3604" href="#L3604">3604</a><span class="code-text">* [Use small vectors in type walker][37760]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3605" href="#L3605">3605</a><span class="code-text">* [Macro expansion performance was improved][37701]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3606" href="#L3606">3606</a><span class="code-text">* [Change `HirVec&lt;P&lt;T&gt;&gt;` to `HirVec&lt;T&gt;` in `hir::Expr`][37642]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3607" href="#L3607">3607</a><span class="code-text">* [Replace FNV with a faster hash function][37229]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3608" href="#L3608">3608</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3609" href="#L3609">3609</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3610" href="#L3610">3610</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3611" href="#L3611">3611</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3612" href="#L3612">3612</a><span class="code-text">* [`std::iter::Iterator::min_by`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3613" href="#L3613">3613</a><span class="code-text">* [`std::iter::Iterator::max_by`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3614" href="#L3614">3614</a><span class="code-text">* [`std::os::*::fs::FileExt`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3615" href="#L3615">3615</a><span class="code-text">* [`std::sync::atomic::Atomic*::get_mut`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3616" href="#L3616">3616</a><span class="code-text">* [`std::sync::atomic::Atomic*::into_inner`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3617" href="#L3617">3617</a><span class="code-text">* [`std::vec::IntoIter::as_slice`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3618" href="#L3618">3618</a><span class="code-text">* [`std::vec::IntoIter::as_mut_slice`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3619" href="#L3619">3619</a><span class="code-text">* [`std::sync::mpsc::Receiver::try_iter`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3620" href="#L3620">3620</a><span class="code-text">* [`std::os::unix::process::CommandExt::before_exec`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3621" href="#L3621">3621</a><span class="code-text">* [`std::rc::Rc::strong_count`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3622" href="#L3622">3622</a><span class="code-text">* [`std::rc::Rc::weak_count`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3623" href="#L3623">3623</a><span class="code-text">* [`std::sync::Arc::strong_count`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3624" href="#L3624">3624</a><span class="code-text">* [`std::sync::Arc::weak_count`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3625" href="#L3625">3625</a><span class="code-text">* [`std::char::encode_utf8`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3626" href="#L3626">3626</a><span class="code-text">* [`std::char::encode_utf16`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3627" href="#L3627">3627</a><span class="code-text">* [`std::cell::Ref::clone`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3628" href="#L3628">3628</a><span class="code-text">* [`std::io::Take::into_inner`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3629" href="#L3629">3629</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3630" href="#L3630">3630</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3631" href="#L3631">3631</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3632" href="#L3632">3632</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3633" href="#L3633">3633</a><span class="code-text">* [The standard sorting algorithm has been rewritten for dramatic performance</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3634" href="#L3634">3634</a><span class="code-text">  improvements][38192]. It is a hybrid merge sort, drawing influences from</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3635" href="#L3635">3635</a><span class="code-text">  Timsort. Previously it was a naive merge sort.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3636" href="#L3636">3636</a><span class="code-text">* [`Iterator::nth` no longer has a `Sized` bound][38134]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3637" href="#L3637">3637</a><span class="code-text">* [`Extend&lt;&amp;T&gt;` is specialized for `Vec` where `T: Copy`][38182] to improve</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3638" href="#L3638">3638</a><span class="code-text">  performance.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3639" href="#L3639">3639</a><span class="code-text">* [`chars().count()` is much faster][37888] and so are [`chars().last()`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3640" href="#L3640">3640</a><span class="code-text">  and `char_indices().last()`][37882]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3641" href="#L3641">3641</a><span class="code-text">* [Fix ARM Objective-C ABI in `std::env::args`][38146]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3642" href="#L3642">3642</a><span class="code-text">* [Chinese characters display correctly in `fmt::Debug`][37855]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3643" href="#L3643">3643</a><span class="code-text">* [Derive `Default` for `Duration`][37699]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3644" href="#L3644">3644</a><span class="code-text">* [Support creation of anonymous pipes on WinXP/2k][37677]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3645" href="#L3645">3645</a><span class="code-text">* [`mpsc::RecvTimeoutError` implements `Error`][37527]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3646" href="#L3646">3646</a><span class="code-text">* [Don't pass overlapped handles to processes][38835]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3647" href="#L3647">3647</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3648" href="#L3648">3648</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3649" href="#L3649">3649</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3650" href="#L3650">3650</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3651" href="#L3651">3651</a><span class="code-text">* [In this release, Cargo build scripts no longer have access to the `OUT_DIR`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3652" href="#L3652">3652</a><span class="code-text">  environment variable at build time via `env!(&quot;OUT_DIR&quot;)`][cargo/3368]. They</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3653" href="#L3653">3653</a><span class="code-text">  should instead check the variable at runtime with `std::env`. That the value</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3654" href="#L3654">3654</a><span class="code-text">  was set at build time was a bug, and incorrect when cross-compiling. This</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3655" href="#L3655">3655</a><span class="code-text">  change is known to cause breakage.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3656" href="#L3656">3656</a><span class="code-text">* [Add `--all` flag to `cargo test`][cargo/3221]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3657" href="#L3657">3657</a><span class="code-text">* [Compile statically against the MSVC CRT][cargo/3363]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3658" href="#L3658">3658</a><span class="code-text">* [Mix feature flags into fingerprint/metadata shorthash][cargo/3102]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3659" href="#L3659">3659</a><span class="code-text">* [Link OpenSSL statically on OSX][cargo/3311]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3660" href="#L3660">3660</a><span class="code-text">* [Apply new fingerprinting to build dir outputs][cargo/3310]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3661" href="#L3661">3661</a><span class="code-text">* [Test for bad path overrides with summaries][cargo/3336]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3662" href="#L3662">3662</a><span class="code-text">* [Require `cargo install --vers` to take a semver version][cargo/3338]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3663" href="#L3663">3663</a><span class="code-text">* [Fix retrying crate downloads for network errors][cargo/3348]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3664" href="#L3664">3664</a><span class="code-text">* [Implement string lookup for `build.rustflags` config key][cargo/3356]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3665" href="#L3665">3665</a><span class="code-text">* [Emit more info on --message-format=json][cargo/3319]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3666" href="#L3666">3666</a><span class="code-text">* [Assume `build.rs` in the same directory as `Cargo.toml` is a build script][cargo/3361]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3667" href="#L3667">3667</a><span class="code-text">* [Don't ignore errors in workspace manifest][cargo/3409]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3668" href="#L3668">3668</a><span class="code-text">* [Fix `--message-format JSON` when rustc emits non-JSON warnings][cargo/3410]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3669" href="#L3669">3669</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3670" href="#L3670">3670</a><span class="code-text">Tooling</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3671" href="#L3671">3671</a><span class="code-text">-------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3672" href="#L3672">3672</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3673" href="#L3673">3673</a><span class="code-text">* [Test runners (binaries built with `--test`) now support a `--list` argument</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3674" href="#L3674">3674</a><span class="code-text">  that lists the tests it contains][38185]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3675" href="#L3675">3675</a><span class="code-text">* [Test runners now support a `--exact` argument that makes the test filter</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3676" href="#L3676">3676</a><span class="code-text">  match exactly, instead of matching only a substring of the test name][38181]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3677" href="#L3677">3677</a><span class="code-text">* [rustdoc supports a `--playground-url` flag][37763]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3678" href="#L3678">3678</a><span class="code-text">* [rustdoc provides more details about `#[should_panic]` errors][37749]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3679" href="#L3679">3679</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3680" href="#L3680">3680</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3681" href="#L3681">3681</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3682" href="#L3682">3682</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3683" href="#L3683">3683</a><span class="code-text">* [The Rust build system is now written in Rust][37817]. The Makefiles may</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3684" href="#L3684">3684</a><span class="code-text">  continue to be used in this release by passing `--disable-rustbuild` to the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3685" href="#L3685">3685</a><span class="code-text">  configure script, but they will be deleted soon. Note that the new build</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3686" href="#L3686">3686</a><span class="code-text">  system uses a different on-disk layout that will likely affect any scripts</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3687" href="#L3687">3687</a><span class="code-text">  building Rust.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3688" href="#L3688">3688</a><span class="code-text">* [Rust supports i686-unknown-openbsd][38086]. Tier 3 support. No testing or</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3689" href="#L3689">3689</a><span class="code-text">  releases.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3690" href="#L3690">3690</a><span class="code-text">* [Rust supports the MSP430][37627]. Tier 3 support. No testing or releases.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3691" href="#L3691">3691</a><span class="code-text">* [Rust supports the ARMv5TE architecture][37615]. Tier 3 support. No testing or</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3692" href="#L3692">3692</a><span class="code-text">  releases.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3693" href="#L3693">3693</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3694" href="#L3694">3694</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3695" href="#L3695">3695</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3696" href="#L3696">3696</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3697" href="#L3697">3697</a><span class="code-text">* [A number of minor changes to name resolution have been activated][37127].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3698" href="#L3698">3698</a><span class="code-text">  They add up to more consistent semantics, allowing for future evolution of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3699" href="#L3699">3699</a><span class="code-text">  Rust macros. Specified in [RFC 1560], see its section on [&quot;changes&quot;] for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3700" href="#L3700">3700</a><span class="code-text">  details of what is different. The breaking changes here have been transitioned</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3701" href="#L3701">3701</a><span class="code-text">  through the [`legacy_imports`] lint since 1.14, with no known regressions.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3702" href="#L3702">3702</a><span class="code-text">* [In this release, Cargo build scripts no longer have access to the `OUT_DIR`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3703" href="#L3703">3703</a><span class="code-text">  environment variable at build time via `env!(&quot;OUT_DIR&quot;)`][cargo/3368]. They</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3704" href="#L3704">3704</a><span class="code-text">  should instead check the variable at runtime with `std::env`. That the value</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3705" href="#L3705">3705</a><span class="code-text">  was set at build time was a bug, and incorrect when cross-compiling. This</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3706" href="#L3706">3706</a><span class="code-text">  change is known to cause breakage.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3707" href="#L3707">3707</a><span class="code-text">* [Higher-ranked lifetimes are no longer allowed to appear _only_ in associated</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3708" href="#L3708">3708</a><span class="code-text">  types][33685]. The [`hr_lifetime_in_assoc_type` lint] has been a warning since</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3709" href="#L3709">3709</a><span class="code-text">  1.10 and is now an error by default. It will become a hard error in the near</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3710" href="#L3710">3710</a><span class="code-text">  future.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3711" href="#L3711">3711</a><span class="code-text">* [The semantics relating modules to file system directories are changing in</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3712" href="#L3712">3712</a><span class="code-text">  minor ways][37602]. This is captured in the new `legacy_directory_ownership`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3713" href="#L3713">3713</a><span class="code-text">  lint, which is a warning in this release, and will become a hard error in the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3714" href="#L3714">3714</a><span class="code-text">  future.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3715" href="#L3715">3715</a><span class="code-text">* [Rust-ABI symbols are no longer exported from cdylibs][38117]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3716" href="#L3716">3716</a><span class="code-text">* [Once `Peekable` peeks a `None` it will return that `None` without re-querying</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3717" href="#L3717">3717</a><span class="code-text">  the underlying iterator][37834]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3718" href="#L3718">3718</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3719" href="#L3719">3719</a><span class="code-text">[&quot;changes&quot;]: https://github.com/rust-lang/rfcs/blob/master/text/1560-name-resolution.md#changes-to-name-resolution-rules</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3720" href="#L3720">3720</a><span class="code-text">[33685]: https://github.com/rust-lang/rust/issues/33685</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3721" href="#L3721">3721</a><span class="code-text">[36868]: https://github.com/rust-lang/rust/pull/36868</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3722" href="#L3722">3722</a><span class="code-text">[37127]: https://github.com/rust-lang/rust/pull/37127</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3723" href="#L3723">3723</a><span class="code-text">[37229]: https://github.com/rust-lang/rust/pull/37229</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3724" href="#L3724">3724</a><span class="code-text">[37456]: https://github.com/rust-lang/rust/pull/37456</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3725" href="#L3725">3725</a><span class="code-text">[37527]: https://github.com/rust-lang/rust/pull/37527</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3726" href="#L3726">3726</a><span class="code-text">[37602]: https://github.com/rust-lang/rust/pull/37602</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3727" href="#L3727">3727</a><span class="code-text">[37613]: https://github.com/rust-lang/rust/pull/37613</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3728" href="#L3728">3728</a><span class="code-text">[37615]: https://github.com/rust-lang/rust/pull/37615</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3729" href="#L3729">3729</a><span class="code-text">[37636]: https://github.com/rust-lang/rust/pull/37636</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3730" href="#L3730">3730</a><span class="code-text">[37627]: https://github.com/rust-lang/rust/pull/37627</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3731" href="#L3731">3731</a><span class="code-text">[37642]: https://github.com/rust-lang/rust/pull/37642</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3732" href="#L3732">3732</a><span class="code-text">[37677]: https://github.com/rust-lang/rust/pull/37677</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3733" href="#L3733">3733</a><span class="code-text">[37699]: https://github.com/rust-lang/rust/pull/37699</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3734" href="#L3734">3734</a><span class="code-text">[37701]: https://github.com/rust-lang/rust/pull/37701</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3735" href="#L3735">3735</a><span class="code-text">[37705]: https://github.com/rust-lang/rust/pull/37705</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3736" href="#L3736">3736</a><span class="code-text">[37749]: https://github.com/rust-lang/rust/pull/37749</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3737" href="#L3737">3737</a><span class="code-text">[37760]: https://github.com/rust-lang/rust/pull/37760</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3738" href="#L3738">3738</a><span class="code-text">[37763]: https://github.com/rust-lang/rust/pull/37763</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3739" href="#L3739">3739</a><span class="code-text">[37764]: https://github.com/rust-lang/rust/pull/37764</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3740" href="#L3740">3740</a><span class="code-text">[37789]: https://github.com/rust-lang/rust/pull/37789</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3741" href="#L3741">3741</a><span class="code-text">[37791]: https://github.com/rust-lang/rust/pull/37791</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3742" href="#L3742">3742</a><span class="code-text">[37814]: https://github.com/rust-lang/rust/pull/37814</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3743" href="#L3743">3743</a><span class="code-text">[37817]: https://github.com/rust-lang/rust/pull/37817</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3744" href="#L3744">3744</a><span class="code-text">[37834]: https://github.com/rust-lang/rust/pull/37834</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3745" href="#L3745">3745</a><span class="code-text">[37848]: https://github.com/rust-lang/rust/pull/37848</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3746" href="#L3746">3746</a><span class="code-text">[37855]: https://github.com/rust-lang/rust/pull/37855</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3747" href="#L3747">3747</a><span class="code-text">[37882]: https://github.com/rust-lang/rust/pull/37882</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3748" href="#L3748">3748</a><span class="code-text">[37888]: https://github.com/rust-lang/rust/pull/37888</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3749" href="#L3749">3749</a><span class="code-text">[37973]: https://github.com/rust-lang/rust/pull/37973</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3750" href="#L3750">3750</a><span class="code-text">[37979]: https://github.com/rust-lang/rust/pull/37979</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3751" href="#L3751">3751</a><span class="code-text">[38086]: https://github.com/rust-lang/rust/pull/38086</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3752" href="#L3752">3752</a><span class="code-text">[38107]: https://github.com/rust-lang/rust/pull/38107</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3753" href="#L3753">3753</a><span class="code-text">[38117]: https://github.com/rust-lang/rust/pull/38117</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3754" href="#L3754">3754</a><span class="code-text">[38134]: https://github.com/rust-lang/rust/pull/38134</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3755" href="#L3755">3755</a><span class="code-text">[38146]: https://github.com/rust-lang/rust/pull/38146</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3756" href="#L3756">3756</a><span class="code-text">[38181]: https://github.com/rust-lang/rust/pull/38181</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3757" href="#L3757">3757</a><span class="code-text">[38182]: https://github.com/rust-lang/rust/pull/38182</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3758" href="#L3758">3758</a><span class="code-text">[38185]: https://github.com/rust-lang/rust/pull/38185</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3759" href="#L3759">3759</a><span class="code-text">[38192]: https://github.com/rust-lang/rust/pull/38192</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3760" href="#L3760">3760</a><span class="code-text">[38279]: https://github.com/rust-lang/rust/pull/38279</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3761" href="#L3761">3761</a><span class="code-text">[38835]: https://github.com/rust-lang/rust/pull/38835</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3762" href="#L3762">3762</a><span class="code-text">[RFC 1492]: https://github.com/rust-lang/rfcs/blob/master/text/1492-dotdot-in-patterns.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3763" href="#L3763">3763</a><span class="code-text">[RFC 1506]: https://github.com/rust-lang/rfcs/blob/master/text/1506-adt-kinds.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3764" href="#L3764">3764</a><span class="code-text">[RFC 1560]: https://github.com/rust-lang/rfcs/blob/master/text/1560-name-resolution.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3765" href="#L3765">3765</a><span class="code-text">[RFC 1681]: https://github.com/rust-lang/rfcs/blob/master/text/1681-macros-1.1.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3766" href="#L3766">3766</a><span class="code-text">[RFC 1717]: https://github.com/rust-lang/rfcs/blob/master/text/1717-dllimport.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3767" href="#L3767">3767</a><span class="code-text">[`hr_lifetime_in_assoc_type` lint]: https://github.com/rust-lang/rust/issues/33685</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3768" href="#L3768">3768</a><span class="code-text">[`legacy_imports`]: https://github.com/rust-lang/rust/pull/38271</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3769" href="#L3769">3769</a><span class="code-text">[cargo/3102]: https://github.com/rust-lang/cargo/pull/3102</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3770" href="#L3770">3770</a><span class="code-text">[cargo/3221]: https://github.com/rust-lang/cargo/pull/3221</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3771" href="#L3771">3771</a><span class="code-text">[cargo/3310]: https://github.com/rust-lang/cargo/pull/3310</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3772" href="#L3772">3772</a><span class="code-text">[cargo/3311]: https://github.com/rust-lang/cargo/pull/3311</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3773" href="#L3773">3773</a><span class="code-text">[cargo/3319]: https://github.com/rust-lang/cargo/pull/3319</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3774" href="#L3774">3774</a><span class="code-text">[cargo/3336]: https://github.com/rust-lang/cargo/pull/3336</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3775" href="#L3775">3775</a><span class="code-text">[cargo/3338]: https://github.com/rust-lang/cargo/pull/3338</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3776" href="#L3776">3776</a><span class="code-text">[cargo/3348]: https://github.com/rust-lang/cargo/pull/3348</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3777" href="#L3777">3777</a><span class="code-text">[cargo/3356]: https://github.com/rust-lang/cargo/pull/3356</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3778" href="#L3778">3778</a><span class="code-text">[cargo/3361]: https://github.com/rust-lang/cargo/pull/3361</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3779" href="#L3779">3779</a><span class="code-text">[cargo/3363]: https://github.com/rust-lang/cargo/pull/3363</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3780" href="#L3780">3780</a><span class="code-text">[cargo/3368]: https://github.com/rust-lang/cargo/issues/3368</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3781" href="#L3781">3781</a><span class="code-text">[cargo/3409]: https://github.com/rust-lang/cargo/pull/3409</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3782" href="#L3782">3782</a><span class="code-text">[cargo/3410]: https://github.com/rust-lang/cargo/pull/3410</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3783" href="#L3783">3783</a><span class="code-text">[`std::iter::Iterator::min_by`]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.min_by</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3784" href="#L3784">3784</a><span class="code-text">[`std::iter::Iterator::max_by`]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.max_by</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3785" href="#L3785">3785</a><span class="code-text">[`std::os::*::fs::FileExt`]: https://doc.rust-lang.org/std/os/unix/fs/trait.FileExt.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3786" href="#L3786">3786</a><span class="code-text">[`std::sync::atomic::Atomic*::get_mut`]: https://doc.rust-lang.org/std/sync/atomic/struct.AtomicU8.html#method.get_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3787" href="#L3787">3787</a><span class="code-text">[`std::sync::atomic::Atomic*::into_inner`]: https://doc.rust-lang.org/std/sync/atomic/struct.AtomicU8.html#method.into_inner</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3788" href="#L3788">3788</a><span class="code-text">[`std::vec::IntoIter::as_slice`]: https://doc.rust-lang.org/std/vec/struct.IntoIter.html#method.as_slice</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3789" href="#L3789">3789</a><span class="code-text">[`std::vec::IntoIter::as_mut_slice`]: https://doc.rust-lang.org/std/vec/struct.IntoIter.html#method.as_mut_slice</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3790" href="#L3790">3790</a><span class="code-text">[`std::sync::mpsc::Receiver::try_iter`]: https://doc.rust-lang.org/std/sync/mpsc/struct.Receiver.html#method.try_iter</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3791" href="#L3791">3791</a><span class="code-text">[`std::os::unix::process::CommandExt::before_exec`]: https://doc.rust-lang.org/std/os/unix/process/trait.CommandExt.html#tymethod.before_exec</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3792" href="#L3792">3792</a><span class="code-text">[`std::rc::Rc::strong_count`]: https://doc.rust-lang.org/std/rc/struct.Rc.html#method.strong_count</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3793" href="#L3793">3793</a><span class="code-text">[`std::rc::Rc::weak_count`]: https://doc.rust-lang.org/std/rc/struct.Rc.html#method.weak_count</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3794" href="#L3794">3794</a><span class="code-text">[`std::sync::Arc::strong_count`]: https://doc.rust-lang.org/std/sync/struct.Arc.html#method.strong_count</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3795" href="#L3795">3795</a><span class="code-text">[`std::sync::Arc::weak_count`]: https://doc.rust-lang.org/std/sync/struct.Arc.html#method.weak_count</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3796" href="#L3796">3796</a><span class="code-text">[`std::char::encode_utf8`]: https://doc.rust-lang.org/std/primitive.char.html#method.encode_utf8</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3797" href="#L3797">3797</a><span class="code-text">[`std::char::encode_utf16`]: https://doc.rust-lang.org/std/primitive.char.html#method.encode_utf16</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3798" href="#L3798">3798</a><span class="code-text">[`std::cell::Ref::clone`]: https://doc.rust-lang.org/std/cell/struct.Ref.html#method.clone</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3799" href="#L3799">3799</a><span class="code-text">[`std::io::Take::into_inner`]: https://doc.rust-lang.org/std/io/struct.Take.html#method.into_inner</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3800" href="#L3800">3800</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3801" href="#L3801">3801</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3802" href="#L3802">3802</a><span class="code-text">Version 1.14.0 (2016-12-22)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3803" href="#L3803">3803</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3804" href="#L3804">3804</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3805" href="#L3805">3805</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3806" href="#L3806">3806</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3807" href="#L3807">3807</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3808" href="#L3808">3808</a><span class="code-text">* [`..` matches multiple tuple fields in enum variants, structs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3809" href="#L3809">3809</a><span class="code-text">  and tuples][36843]. [RFC 1492].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3810" href="#L3810">3810</a><span class="code-text">* [Safe `fn` items can be coerced to `unsafe fn` pointers][37389]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3811" href="#L3811">3811</a><span class="code-text">* [`use *` and `use ::*` both glob-import from the crate root][37367]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3812" href="#L3812">3812</a><span class="code-text">* [It's now possible to call a `Vec&lt;Box&lt;Fn()&gt;&gt;` without explicit</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3813" href="#L3813">3813</a><span class="code-text">  dereferencing][36822]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3814" href="#L3814">3814</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3815" href="#L3815">3815</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3816" href="#L3816">3816</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3817" href="#L3817">3817</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3818" href="#L3818">3818</a><span class="code-text">* [Mark enums with non-zero discriminant as non-zero][37224]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3819" href="#L3819">3819</a><span class="code-text">* [Lower-case `static mut` names are linted like other</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3820" href="#L3820">3820</a><span class="code-text">  statics and consts][37162]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3821" href="#L3821">3821</a><span class="code-text">* [Fix ICE on some macros in const integer positions</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3822" href="#L3822">3822</a><span class="code-text">   (e.g. `[u8; m!()]`)][36819]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3823" href="#L3823">3823</a><span class="code-text">* [Improve error message and snippet for &quot;did you mean `x`&quot;][36798]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3824" href="#L3824">3824</a><span class="code-text">* [Add a panic-strategy field to the target specification][36794]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3825" href="#L3825">3825</a><span class="code-text">* [Include LLVM version in `--version --verbose`][37200]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3826" href="#L3826">3826</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3827" href="#L3827">3827</a><span class="code-text">Compile-time Optimizations</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3828" href="#L3828">3828</a><span class="code-text">--------------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3829" href="#L3829">3829</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3830" href="#L3830">3830</a><span class="code-text">* [Improve macro expansion performance][37569]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3831" href="#L3831">3831</a><span class="code-text">* [Shrink `Expr_::ExprInlineAsm`][37445]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3832" href="#L3832">3832</a><span class="code-text">* [Replace all uses of SHA-256 with BLAKE2b][37439]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3833" href="#L3833">3833</a><span class="code-text">* [Reduce the number of bytes hashed by `IchHasher`][37427]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3834" href="#L3834">3834</a><span class="code-text">* [Avoid more allocations when compiling html5ever][37373]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3835" href="#L3835">3835</a><span class="code-text">* [Use `SmallVector` in `CombineFields::instantiate`][37322]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3836" href="#L3836">3836</a><span class="code-text">* [Avoid some allocations in the macro parser][37318]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3837" href="#L3837">3837</a><span class="code-text">* [Use a faster deflate setting][37298]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3838" href="#L3838">3838</a><span class="code-text">* [Add `ArrayVec` and `AccumulateVec` to reduce heap allocations</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3839" href="#L3839">3839</a><span class="code-text">  during interning of slices][37270]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3840" href="#L3840">3840</a><span class="code-text">* [Optimize `write_metadata`][37267]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3841" href="#L3841">3841</a><span class="code-text">* [Don't process obligation forest cycles when stalled][37231]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3842" href="#L3842">3842</a><span class="code-text">* [Avoid many `CrateConfig` clones][37161]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3843" href="#L3843">3843</a><span class="code-text">* [Optimize `Substs::super_fold_with`][37108]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3844" href="#L3844">3844</a><span class="code-text">* [Optimize `ObligationForest`'s `NodeState` handling][36993]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3845" href="#L3845">3845</a><span class="code-text">* [Speed up `plug_leaks`][36917]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3846" href="#L3846">3846</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3847" href="#L3847">3847</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3848" href="#L3848">3848</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3849" href="#L3849">3849</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3850" href="#L3850">3850</a><span class="code-text">* [`println!()`, with no arguments, prints newline][36825].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3851" href="#L3851">3851</a><span class="code-text">  Previously, an empty string was required to achieve the same.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3852" href="#L3852">3852</a><span class="code-text">* [`Wrapping` impls standard binary and unary operators, as well as</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3853" href="#L3853">3853</a><span class="code-text">   the `Sum` and `Product` iterators][37356]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3854" href="#L3854">3854</a><span class="code-text">* [Implement `From&lt;Cow&lt;str&gt;&gt; for String` and `From&lt;Cow&lt;[T]&gt;&gt; for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3855" href="#L3855">3855</a><span class="code-text">  Vec&lt;T&gt;`][37326]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3856" href="#L3856">3856</a><span class="code-text">* [Improve `fold` performance for `chain`, `cloned`, `map`, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3857" href="#L3857">3857</a><span class="code-text">  `VecDeque` iterators][37315]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3858" href="#L3858">3858</a><span class="code-text">* [Improve `SipHasher` performance on small values][37312]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3859" href="#L3859">3859</a><span class="code-text">* [Add Iterator trait TrustedLen to enable better FromIterator /</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3860" href="#L3860">3860</a><span class="code-text">  Extend][37306]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3861" href="#L3861">3861</a><span class="code-text">* [Expand `.zip()` specialization to `.map()` and `.cloned()`][37230]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3862" href="#L3862">3862</a><span class="code-text">* [`ReadDir` implements `Debug`][37221]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3863" href="#L3863">3863</a><span class="code-text">* [Implement `RefUnwindSafe` for atomic types][37178]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3864" href="#L3864">3864</a><span class="code-text">* [Specialize `Vec::extend` to `Vec::extend_from_slice`][37094]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3865" href="#L3865">3865</a><span class="code-text">* [Avoid allocations in `Decoder::read_str`][37064]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3866" href="#L3866">3866</a><span class="code-text">* [`io::Error` implements `From&lt;io::ErrorKind&gt;`][37037]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3867" href="#L3867">3867</a><span class="code-text">* [Impl `Debug` for raw pointers to unsized data][36880]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3868" href="#L3868">3868</a><span class="code-text">* [Don't reuse `HashMap` random seeds][37470]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3869" href="#L3869">3869</a><span class="code-text">* [The internal memory layout of `HashMap` is more cache-friendly, for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3870" href="#L3870">3870</a><span class="code-text">  significant improvements in some operations][36692]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3871" href="#L3871">3871</a><span class="code-text">* [`HashMap` uses less memory on 32-bit architectures][36595]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3872" href="#L3872">3872</a><span class="code-text">* [Impl `Add&lt;{str, Cow&lt;str&gt;}&gt;` for `Cow&lt;str&gt;`][36430]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3873" href="#L3873">3873</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3874" href="#L3874">3874</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3875" href="#L3875">3875</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3876" href="#L3876">3876</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3877" href="#L3877">3877</a><span class="code-text">* [Expose rustc cfg values to build scripts][cargo/3243]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3878" href="#L3878">3878</a><span class="code-text">* [Allow cargo to work with read-only `CARGO_HOME`][cargo/3259]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3879" href="#L3879">3879</a><span class="code-text">* [Fix passing --features when testing multiple packages][cargo/3280]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3880" href="#L3880">3880</a><span class="code-text">* [Use a single profile set per workspace][cargo/3249]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3881" href="#L3881">3881</a><span class="code-text">* [Load `replace` sections from lock files][cargo/3220]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3882" href="#L3882">3882</a><span class="code-text">* [Ignore `panic` configuration for test/bench profiles][cargo/3175]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3883" href="#L3883">3883</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3884" href="#L3884">3884</a><span class="code-text">Tooling</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3885" href="#L3885">3885</a><span class="code-text">-------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3886" href="#L3886">3886</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3887" href="#L3887">3887</a><span class="code-text">* [rustup is the recommended Rust installation method][1.14rustup]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3888" href="#L3888">3888</a><span class="code-text">* This release includes host (rustc) builds for Linux on MIPS, PowerPC, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3889" href="#L3889">3889</a><span class="code-text">  S390x. These are [tier 2] platforms and may have major defects. Follow the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3890" href="#L3890">3890</a><span class="code-text">  instructions on the website to install, or add the targets to an existing</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3891" href="#L3891">3891</a><span class="code-text">  installation with `rustup target add`. The new target triples are:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3892" href="#L3892">3892</a><span class="code-text">  - `mips-unknown-linux-gnu`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3893" href="#L3893">3893</a><span class="code-text">  - `mipsel-unknown-linux-gnu`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3894" href="#L3894">3894</a><span class="code-text">  - `mips64-unknown-linux-gnuabi64`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3895" href="#L3895">3895</a><span class="code-text">  - `mips64el-unknown-linux-gnuabi64 `</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3896" href="#L3896">3896</a><span class="code-text">  - `powerpc-unknown-linux-gnu`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3897" href="#L3897">3897</a><span class="code-text">  - `powerpc64-unknown-linux-gnu`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3898" href="#L3898">3898</a><span class="code-text">  - `powerpc64le-unknown-linux-gnu`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3899" href="#L3899">3899</a><span class="code-text">  - `s390x-unknown-linux-gnu `</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3900" href="#L3900">3900</a><span class="code-text">* This release includes target (std) builds for ARM Linux running MUSL</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3901" href="#L3901">3901</a><span class="code-text">  libc. These are [tier 2] platforms and may have major defects. Add the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3902" href="#L3902">3902</a><span class="code-text">  following triples to an existing rustup installation with `rustup target add`:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3903" href="#L3903">3903</a><span class="code-text">  - `arm-unknown-linux-musleabi`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3904" href="#L3904">3904</a><span class="code-text">  - `arm-unknown-linux-musleabihf`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3905" href="#L3905">3905</a><span class="code-text">  - `armv7-unknown-linux-musleabihf`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3906" href="#L3906">3906</a><span class="code-text">* This release includes [experimental support for WebAssembly][1.14wasm], via</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3907" href="#L3907">3907</a><span class="code-text">  the `wasm32-unknown-emscripten` target. This target is known to have major</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3908" href="#L3908">3908</a><span class="code-text">  defects. Please test, report, and fix.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3909" href="#L3909">3909</a><span class="code-text">* rustup no longer installs documentation by default. Run `rustup</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3910" href="#L3910">3910</a><span class="code-text">  component add rust-docs` to install.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3911" href="#L3911">3911</a><span class="code-text">* [Fix line stepping in debugger][37310]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3912" href="#L3912">3912</a><span class="code-text">* [Enable line number debuginfo in releases][37280]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3913" href="#L3913">3913</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3914" href="#L3914">3914</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3915" href="#L3915">3915</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3916" href="#L3916">3916</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3917" href="#L3917">3917</a><span class="code-text">* [Disable jemalloc on aarch64/powerpc/mips][37392]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3918" href="#L3918">3918</a><span class="code-text">* [Add support for Fuchsia OS][37313]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3919" href="#L3919">3919</a><span class="code-text">* [Detect local-rebuild by only MAJOR.MINOR version][37273]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3920" href="#L3920">3920</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3921" href="#L3921">3921</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3922" href="#L3922">3922</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3923" href="#L3923">3923</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3924" href="#L3924">3924</a><span class="code-text">* [A number of forward-compatibility lints used by the compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3925" href="#L3925">3925</a><span class="code-text">  to gradually introduce language changes have been converted</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3926" href="#L3926">3926</a><span class="code-text">  to deny by default][36894]:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3927" href="#L3927">3927</a><span class="code-text">  - [&quot;use of inaccessible extern crate erroneously allowed&quot;][36886]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3928" href="#L3928">3928</a><span class="code-text">  - [&quot;type parameter default erroneously allowed in invalid location&quot;][36887]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3929" href="#L3929">3929</a><span class="code-text">  - [&quot;detects super or self keywords at the beginning of global path&quot;][36888]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3930" href="#L3930">3930</a><span class="code-text">  - [&quot;two overlapping inherent impls define an item with the same name</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3931" href="#L3931">3931</a><span class="code-text">    were erroneously allowed&quot;][36889]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3932" href="#L3932">3932</a><span class="code-text">  - [&quot;floating-point constants cannot be used in patterns&quot;][36890]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3933" href="#L3933">3933</a><span class="code-text">  - [&quot;constants of struct or enum type can only be used in a pattern if</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3934" href="#L3934">3934</a><span class="code-text">     the struct or enum has `#[derive(PartialEq, Eq)]`&quot;][36891]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3935" href="#L3935">3935</a><span class="code-text">  - [&quot;lifetimes or labels named `'_` were erroneously allowed&quot;][36892]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3936" href="#L3936">3936</a><span class="code-text">* [Prohibit patterns in trait methods without bodies][37378]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3937" href="#L3937">3937</a><span class="code-text">* [The atomic `Ordering` enum may not be matched exhaustively][37351]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3938" href="#L3938">3938</a><span class="code-text">* [Future-proofing `#[no_link]` breaks some obscure cases][37247]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3939" href="#L3939">3939</a><span class="code-text">* [The `$crate` macro variable is accepted in fewer locations][37213]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3940" href="#L3940">3940</a><span class="code-text">* [Impls specifying extra region requirements beyond the trait</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3941" href="#L3941">3941</a><span class="code-text">  they implement are rejected][37167]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3942" href="#L3942">3942</a><span class="code-text">* [Enums may not be unsized][37111]. Unsized enums are intended to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3943" href="#L3943">3943</a><span class="code-text">  work but never have. For now they are forbidden.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3944" href="#L3944">3944</a><span class="code-text">* [Enforce the shadowing restrictions from RFC 1560 for today's macros][36767]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3945" href="#L3945">3945</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3946" href="#L3946">3946</a><span class="code-text">[tier 2]: https://forge.rust-lang.org/platform-support.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3947" href="#L3947">3947</a><span class="code-text">[1.14rustup]: https://internals.rust-lang.org/t/beta-testing-rustup-rs/3316/204</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3948" href="#L3948">3948</a><span class="code-text">[1.14wasm]: https://users.rust-lang.org/t/compiling-to-the-web-with-rust-and-emscripten/7627</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3949" href="#L3949">3949</a><span class="code-text">[36430]: https://github.com/rust-lang/rust/pull/36430</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3950" href="#L3950">3950</a><span class="code-text">[36595]: https://github.com/rust-lang/rust/pull/36595</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3951" href="#L3951">3951</a><span class="code-text">[36595]: https://github.com/rust-lang/rust/pull/36595</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3952" href="#L3952">3952</a><span class="code-text">[36692]: https://github.com/rust-lang/rust/pull/36692</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3953" href="#L3953">3953</a><span class="code-text">[36767]: https://github.com/rust-lang/rust/pull/36767</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3954" href="#L3954">3954</a><span class="code-text">[36794]: https://github.com/rust-lang/rust/pull/36794</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3955" href="#L3955">3955</a><span class="code-text">[36798]: https://github.com/rust-lang/rust/pull/36798</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3956" href="#L3956">3956</a><span class="code-text">[36819]: https://github.com/rust-lang/rust/pull/36819</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3957" href="#L3957">3957</a><span class="code-text">[36822]: https://github.com/rust-lang/rust/pull/36822</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3958" href="#L3958">3958</a><span class="code-text">[36825]: https://github.com/rust-lang/rust/pull/36825</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3959" href="#L3959">3959</a><span class="code-text">[36843]: https://github.com/rust-lang/rust/pull/36843</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3960" href="#L3960">3960</a><span class="code-text">[36880]: https://github.com/rust-lang/rust/pull/36880</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3961" href="#L3961">3961</a><span class="code-text">[36886]: https://github.com/rust-lang/rust/issues/36886</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3962" href="#L3962">3962</a><span class="code-text">[36887]: https://github.com/rust-lang/rust/issues/36887</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3963" href="#L3963">3963</a><span class="code-text">[36888]: https://github.com/rust-lang/rust/issues/36888</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3964" href="#L3964">3964</a><span class="code-text">[36889]: https://github.com/rust-lang/rust/issues/36889</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3965" href="#L3965">3965</a><span class="code-text">[36890]: https://github.com/rust-lang/rust/issues/36890</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3966" href="#L3966">3966</a><span class="code-text">[36891]: https://github.com/rust-lang/rust/issues/36891</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3967" href="#L3967">3967</a><span class="code-text">[36892]: https://github.com/rust-lang/rust/issues/36892</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3968" href="#L3968">3968</a><span class="code-text">[36894]: https://github.com/rust-lang/rust/pull/36894</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3969" href="#L3969">3969</a><span class="code-text">[36917]: https://github.com/rust-lang/rust/pull/36917</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3970" href="#L3970">3970</a><span class="code-text">[36993]: https://github.com/rust-lang/rust/pull/36993</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3971" href="#L3971">3971</a><span class="code-text">[37037]: https://github.com/rust-lang/rust/pull/37037</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3972" href="#L3972">3972</a><span class="code-text">[37064]: https://github.com/rust-lang/rust/pull/37064</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3973" href="#L3973">3973</a><span class="code-text">[37094]: https://github.com/rust-lang/rust/pull/37094</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3974" href="#L3974">3974</a><span class="code-text">[37108]: https://github.com/rust-lang/rust/pull/37108</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3975" href="#L3975">3975</a><span class="code-text">[37111]: https://github.com/rust-lang/rust/pull/37111</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3976" href="#L3976">3976</a><span class="code-text">[37161]: https://github.com/rust-lang/rust/pull/37161</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3977" href="#L3977">3977</a><span class="code-text">[37162]: https://github.com/rust-lang/rust/pull/37162</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3978" href="#L3978">3978</a><span class="code-text">[37167]: https://github.com/rust-lang/rust/pull/37167</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3979" href="#L3979">3979</a><span class="code-text">[37178]: https://github.com/rust-lang/rust/pull/37178</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3980" href="#L3980">3980</a><span class="code-text">[37200]: https://github.com/rust-lang/rust/pull/37200</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3981" href="#L3981">3981</a><span class="code-text">[37213]: https://github.com/rust-lang/rust/pull/37213</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3982" href="#L3982">3982</a><span class="code-text">[37221]: https://github.com/rust-lang/rust/pull/37221</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3983" href="#L3983">3983</a><span class="code-text">[37224]: https://github.com/rust-lang/rust/pull/37224</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3984" href="#L3984">3984</a><span class="code-text">[37230]: https://github.com/rust-lang/rust/pull/37230</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3985" href="#L3985">3985</a><span class="code-text">[37231]: https://github.com/rust-lang/rust/pull/37231</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3986" href="#L3986">3986</a><span class="code-text">[37247]: https://github.com/rust-lang/rust/pull/37247</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3987" href="#L3987">3987</a><span class="code-text">[37267]: https://github.com/rust-lang/rust/pull/37267</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3988" href="#L3988">3988</a><span class="code-text">[37270]: https://github.com/rust-lang/rust/pull/37270</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3989" href="#L3989">3989</a><span class="code-text">[37273]: https://github.com/rust-lang/rust/pull/37273</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3990" href="#L3990">3990</a><span class="code-text">[37280]: https://github.com/rust-lang/rust/pull/37280</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3991" href="#L3991">3991</a><span class="code-text">[37298]: https://github.com/rust-lang/rust/pull/37298</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3992" href="#L3992">3992</a><span class="code-text">[37306]: https://github.com/rust-lang/rust/pull/37306</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3993" href="#L3993">3993</a><span class="code-text">[37310]: https://github.com/rust-lang/rust/pull/37310</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3994" href="#L3994">3994</a><span class="code-text">[37312]: https://github.com/rust-lang/rust/pull/37312</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3995" href="#L3995">3995</a><span class="code-text">[37313]: https://github.com/rust-lang/rust/pull/37313</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3996" href="#L3996">3996</a><span class="code-text">[37315]: https://github.com/rust-lang/rust/pull/37315</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3997" href="#L3997">3997</a><span class="code-text">[37318]: https://github.com/rust-lang/rust/pull/37318</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3998" href="#L3998">3998</a><span class="code-text">[37322]: https://github.com/rust-lang/rust/pull/37322</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L3999" href="#L3999">3999</a><span class="code-text">[37326]: https://github.com/rust-lang/rust/pull/37326</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4000" href="#L4000">4000</a><span class="code-text">[37351]: https://github.com/rust-lang/rust/pull/37351</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4001" href="#L4001">4001</a><span class="code-text">[37356]: https://github.com/rust-lang/rust/pull/37356</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4002" href="#L4002">4002</a><span class="code-text">[37367]: https://github.com/rust-lang/rust/pull/37367</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4003" href="#L4003">4003</a><span class="code-text">[37373]: https://github.com/rust-lang/rust/pull/37373</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4004" href="#L4004">4004</a><span class="code-text">[37378]: https://github.com/rust-lang/rust/pull/37378</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4005" href="#L4005">4005</a><span class="code-text">[37389]: https://github.com/rust-lang/rust/pull/37389</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4006" href="#L4006">4006</a><span class="code-text">[37392]: https://github.com/rust-lang/rust/pull/37392</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4007" href="#L4007">4007</a><span class="code-text">[37427]: https://github.com/rust-lang/rust/pull/37427</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4008" href="#L4008">4008</a><span class="code-text">[37439]: https://github.com/rust-lang/rust/pull/37439</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4009" href="#L4009">4009</a><span class="code-text">[37445]: https://github.com/rust-lang/rust/pull/37445</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4010" href="#L4010">4010</a><span class="code-text">[37470]: https://github.com/rust-lang/rust/pull/37470</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4011" href="#L4011">4011</a><span class="code-text">[37569]: https://github.com/rust-lang/rust/pull/37569</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4012" href="#L4012">4012</a><span class="code-text">[RFC 1492]: https://github.com/rust-lang/rfcs/blob/master/text/1492-dotdot-in-patterns.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4013" href="#L4013">4013</a><span class="code-text">[cargo/3175]: https://github.com/rust-lang/cargo/pull/3175</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4014" href="#L4014">4014</a><span class="code-text">[cargo/3220]: https://github.com/rust-lang/cargo/pull/3220</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4015" href="#L4015">4015</a><span class="code-text">[cargo/3243]: https://github.com/rust-lang/cargo/pull/3243</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4016" href="#L4016">4016</a><span class="code-text">[cargo/3249]: https://github.com/rust-lang/cargo/pull/3249</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4017" href="#L4017">4017</a><span class="code-text">[cargo/3259]: https://github.com/rust-lang/cargo/pull/3259</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4018" href="#L4018">4018</a><span class="code-text">[cargo/3280]: https://github.com/rust-lang/cargo/pull/3280</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4019" href="#L4019">4019</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4020" href="#L4020">4020</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4021" href="#L4021">4021</a><span class="code-text">Version 1.13.0 (2016-11-10)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4022" href="#L4022">4022</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4023" href="#L4023">4023</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4024" href="#L4024">4024</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4025" href="#L4025">4025</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4026" href="#L4026">4026</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4027" href="#L4027">4027</a><span class="code-text">* [Stabilize the `?` operator][36995]. `?` is a simple way to propagate</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4028" href="#L4028">4028</a><span class="code-text">  errors, like the `try!` macro, described in [RFC 0243].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4029" href="#L4029">4029</a><span class="code-text">* [Stabilize macros in type position][36014]. Described in [RFC 873].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4030" href="#L4030">4030</a><span class="code-text">* [Stabilize attributes on statements][36995]. Described in [RFC 0016].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4031" href="#L4031">4031</a><span class="code-text">* [Fix `#[derive]` for empty tuple structs/variants][35728]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4032" href="#L4032">4032</a><span class="code-text">* [Fix lifetime rules for 'if' conditions][36029]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4033" href="#L4033">4033</a><span class="code-text">* [Avoid loading and parsing unconfigured non-inline modules][36482]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4034" href="#L4034">4034</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4035" href="#L4035">4035</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4036" href="#L4036">4036</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4037" href="#L4037">4037</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4038" href="#L4038">4038</a><span class="code-text">* [Add the `-C link-arg` argument][36574]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4039" href="#L4039">4039</a><span class="code-text">* [Remove the old AST-based backend from rustc_trans][35764]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4040" href="#L4040">4040</a><span class="code-text">* [Don't enable NEON by default on armv7 Linux][35814]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4041" href="#L4041">4041</a><span class="code-text">* [Fix debug line number info for macro expansions][35238]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4042" href="#L4042">4042</a><span class="code-text">* [Do not emit &quot;class method&quot; debuginfo for types that are not</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4043" href="#L4043">4043</a><span class="code-text">  DICompositeType][36008]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4044" href="#L4044">4044</a><span class="code-text">* [Warn about multiple conflicting #[repr] hints][34623]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4045" href="#L4045">4045</a><span class="code-text">* [When sizing DST, don't double-count nested struct prefixes][36351]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4046" href="#L4046">4046</a><span class="code-text">* [Default RUST_MIN_STACK to 16MiB for now][36505]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4047" href="#L4047">4047</a><span class="code-text">* [Improve rlib metadata format][36551]. Reduces rlib size significantly.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4048" href="#L4048">4048</a><span class="code-text">* [Reject macros with empty repetitions to avoid infinite loop][36721]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4049" href="#L4049">4049</a><span class="code-text">* [Expand macros without recursing to avoid stack overflows][36214]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4050" href="#L4050">4050</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4051" href="#L4051">4051</a><span class="code-text">Diagnostics</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4052" href="#L4052">4052</a><span class="code-text">-----------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4053" href="#L4053">4053</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4054" href="#L4054">4054</a><span class="code-text">* [Replace macro backtraces with labeled local uses][35702]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4055" href="#L4055">4055</a><span class="code-text">* [Improve error message for misplaced doc comments][33922]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4056" href="#L4056">4056</a><span class="code-text">* [Buffer unix and lock windows to prevent message interleaving][35975]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4057" href="#L4057">4057</a><span class="code-text">* [Update lifetime errors to specifically note temporaries][36171]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4058" href="#L4058">4058</a><span class="code-text">* [Special case a few colors for Windows][36178]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4059" href="#L4059">4059</a><span class="code-text">* [Suggest `use self` when such an import resolves][36289]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4060" href="#L4060">4060</a><span class="code-text">* [Be more specific when type parameter shadows primitive type][36338]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4061" href="#L4061">4061</a><span class="code-text">* Many minor improvements</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4062" href="#L4062">4062</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4063" href="#L4063">4063</a><span class="code-text">Compile-time Optimizations</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4064" href="#L4064">4064</a><span class="code-text">--------------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4065" href="#L4065">4065</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4066" href="#L4066">4066</a><span class="code-text">* [Compute and cache HIR hashes at beginning][35854]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4067" href="#L4067">4067</a><span class="code-text">* [Don't hash types in loan paths][36004]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4068" href="#L4068">4068</a><span class="code-text">* [Cache projections in trans][35761]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4069" href="#L4069">4069</a><span class="code-text">* [Optimize the parser's last token handling][36527]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4070" href="#L4070">4070</a><span class="code-text">* [Only instantiate #[inline] functions in codegen units referencing</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4071" href="#L4071">4071</a><span class="code-text">  them][36524]. This leads to big improvements in cases where crates export</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4072" href="#L4072">4072</a><span class="code-text">  define many inline functions without using them directly.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4073" href="#L4073">4073</a><span class="code-text">* [Lazily allocate TypedArena's first chunk][36592]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4074" href="#L4074">4074</a><span class="code-text">* [Don't allocate during default HashSet creation][36734]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4075" href="#L4075">4075</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4076" href="#L4076">4076</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4077" href="#L4077">4077</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4078" href="#L4078">4078</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4079" href="#L4079">4079</a><span class="code-text">* [`checked_abs`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4080" href="#L4080">4080</a><span class="code-text">* [`wrapping_abs`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4081" href="#L4081">4081</a><span class="code-text">* [`overflowing_abs`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4082" href="#L4082">4082</a><span class="code-text">* [`RefCell::try_borrow`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4083" href="#L4083">4083</a><span class="code-text">* [`RefCell::try_borrow_mut`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4084" href="#L4084">4084</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4085" href="#L4085">4085</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4086" href="#L4086">4086</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4087" href="#L4087">4087</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4088" href="#L4088">4088</a><span class="code-text">* [Add `assert_ne!` and `debug_assert_ne!`][35074]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4089" href="#L4089">4089</a><span class="code-text">* [Make `vec_deque::Drain`, `hash_map::Drain`, and `hash_set::Drain`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4090" href="#L4090">4090</a><span class="code-text">  covariant][35354]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4091" href="#L4091">4091</a><span class="code-text">* [Implement `AsRef&lt;[T]&gt;` for `std::slice::Iter`][35559]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4092" href="#L4092">4092</a><span class="code-text">* [Implement `Debug` for `std::vec::IntoIter`][35707]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4093" href="#L4093">4093</a><span class="code-text">* [`CString`: avoid excessive growth just to 0-terminate][35871]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4094" href="#L4094">4094</a><span class="code-text">* [Implement `CoerceUnsized` for `{Cell, RefCell, UnsafeCell}`][35627]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4095" href="#L4095">4095</a><span class="code-text">* [Use arc4rand on FreeBSD][35884]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4096" href="#L4096">4096</a><span class="code-text">* [memrchr: Correct aligned offset computation][35969]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4097" href="#L4097">4097</a><span class="code-text">* [Improve Demangling of Rust Symbols][36059]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4098" href="#L4098">4098</a><span class="code-text">* [Use monotonic time in condition variables][35048]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4099" href="#L4099">4099</a><span class="code-text">* [Implement `Debug` for `std::path::{Components,Iter}`][36101]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4100" href="#L4100">4100</a><span class="code-text">* [Implement conversion traits for `char`][35755]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4101" href="#L4101">4101</a><span class="code-text">* [Fix illegal instruction caused by overflow in channel cloning][36104]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4102" href="#L4102">4102</a><span class="code-text">* [Zero first byte of CString on drop][36264]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4103" href="#L4103">4103</a><span class="code-text">* [Inherit overflow checks for sum and product][36372]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4104" href="#L4104">4104</a><span class="code-text">* [Add missing Eq implementations][36423]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4105" href="#L4105">4105</a><span class="code-text">* [Implement `Debug` for `DirEntry`][36631]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4106" href="#L4106">4106</a><span class="code-text">* [When `getaddrinfo` returns `EAI_SYSTEM` retrieve actual error from</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4107" href="#L4107">4107</a><span class="code-text">  `errno`][36754]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4108" href="#L4108">4108</a><span class="code-text">* [`SipHasher`] is deprecated. Use [`DefaultHasher`].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4109" href="#L4109">4109</a><span class="code-text">* [Implement more traits for `std::io::ErrorKind`][35911]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4110" href="#L4110">4110</a><span class="code-text">* [Optimize BinaryHeap bounds checking][36072]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4111" href="#L4111">4111</a><span class="code-text">* [Work around pointer aliasing issue in `Vec::extend_from_slice`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4112" href="#L4112">4112</a><span class="code-text">  `extend_with_element`][36355]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4113" href="#L4113">4113</a><span class="code-text">* [Fix overflow checking in unsigned pow()][34942]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4114" href="#L4114">4114</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4115" href="#L4115">4115</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4116" href="#L4116">4116</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4117" href="#L4117">4117</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4118" href="#L4118">4118</a><span class="code-text">* This release includes security fixes to both curl and OpenSSL.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4119" href="#L4119">4119</a><span class="code-text">* [Fix transitive doctests when panic=abort][cargo/3021]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4120" href="#L4120">4120</a><span class="code-text">* [Add --all-features flag to cargo][cargo/3038]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4121" href="#L4121">4121</a><span class="code-text">* [Reject path-based dependencies in `cargo package`][cargo/3060]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4122" href="#L4122">4122</a><span class="code-text">* [Don't parse the home directory more than once][cargo/3078]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4123" href="#L4123">4123</a><span class="code-text">* [Don't try to generate Cargo.lock on empty workspaces][cargo/3092]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4124" href="#L4124">4124</a><span class="code-text">* [Update OpenSSL to 1.0.2j][cargo/3121]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4125" href="#L4125">4125</a><span class="code-text">* [Add license and license_file to cargo metadata output][cargo/3110]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4126" href="#L4126">4126</a><span class="code-text">* [Make crates-io registry URL optional in config; ignore all changes to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4127" href="#L4127">4127</a><span class="code-text">  source.crates-io][cargo/3089]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4128" href="#L4128">4128</a><span class="code-text">* [Don't download dependencies from other platforms][cargo/3123]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4129" href="#L4129">4129</a><span class="code-text">* [Build transitive dev-dependencies when needed][cargo/3125]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4130" href="#L4130">4130</a><span class="code-text">* [Add support for per-target rustflags in .cargo/config][cargo/3157]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4131" href="#L4131">4131</a><span class="code-text">* [Avoid updating registry when adding existing deps][cargo/3144]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4132" href="#L4132">4132</a><span class="code-text">* [Warn about path overrides that won't work][cargo/3136]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4133" href="#L4133">4133</a><span class="code-text">* [Use workspaces during `cargo install`][cargo/3146]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4134" href="#L4134">4134</a><span class="code-text">* [Leak mspdbsrv.exe processes on Windows][cargo/3162]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4135" href="#L4135">4135</a><span class="code-text">* [Add --message-format flag][cargo/3000]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4136" href="#L4136">4136</a><span class="code-text">* [Pass target environment for rustdoc][cargo/3205]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4137" href="#L4137">4137</a><span class="code-text">* [Use `CommandExt::exec` for `cargo run` on Unix][cargo/2818]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4138" href="#L4138">4138</a><span class="code-text">* [Update curl and curl-sys][cargo/3241]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4139" href="#L4139">4139</a><span class="code-text">* [Call rustdoc test with the correct cfg flags of a package][cargo/3242]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4140" href="#L4140">4140</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4141" href="#L4141">4141</a><span class="code-text">Tooling</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4142" href="#L4142">4142</a><span class="code-text">-------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4143" href="#L4143">4143</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4144" href="#L4144">4144</a><span class="code-text">* [rustdoc: Add the `--sysroot` argument][36586]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4145" href="#L4145">4145</a><span class="code-text">* [rustdoc: Fix a couple of issues with the search results][35655]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4146" href="#L4146">4146</a><span class="code-text">* [rustdoc: remove the `!` from macro URLs and titles][35234]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4147" href="#L4147">4147</a><span class="code-text">* [gdb: Fix pretty-printing special-cased Rust types][35585]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4148" href="#L4148">4148</a><span class="code-text">* [rustdoc: Filter more incorrect methods inherited through Deref][36266]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4149" href="#L4149">4149</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4150" href="#L4150">4150</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4151" href="#L4151">4151</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4152" href="#L4152">4152</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4153" href="#L4153">4153</a><span class="code-text">* [Remove unmaintained style guide][35124]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4154" href="#L4154">4154</a><span class="code-text">* [Add s390x support][36369]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4155" href="#L4155">4155</a><span class="code-text">* [Initial work at Haiku OS support][36727]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4156" href="#L4156">4156</a><span class="code-text">* [Add mips-uclibc targets][35734]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4157" href="#L4157">4157</a><span class="code-text">* [Crate-ify compiler-rt into compiler-builtins][35021]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4158" href="#L4158">4158</a><span class="code-text">* [Add rustc version info (git hash + date) to dist tarball][36213]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4159" href="#L4159">4159</a><span class="code-text">* Many documentation improvements</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4160" href="#L4160">4160</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4161" href="#L4161">4161</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4162" href="#L4162">4162</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4163" href="#L4163">4163</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4164" href="#L4164">4164</a><span class="code-text">* [`SipHasher`] is deprecated. Use [`DefaultHasher`].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4165" href="#L4165">4165</a><span class="code-text">* [Deny (by default) transmuting from fn item types to pointer-sized</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4166" href="#L4166">4166</a><span class="code-text">  types][34923]. Continuing the long transition to zero-sized fn items,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4167" href="#L4167">4167</a><span class="code-text">  per [RFC 401].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4168" href="#L4168">4168</a><span class="code-text">* [Fix `#[derive]` for empty tuple structs/variants][35728].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4169" href="#L4169">4169</a><span class="code-text">  Part of [RFC 1506].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4170" href="#L4170">4170</a><span class="code-text">* [Issue deprecation warnings for safe accesses to extern statics][36173]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4171" href="#L4171">4171</a><span class="code-text">* [Fix lifetime rules for 'if' conditions][36029].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4172" href="#L4172">4172</a><span class="code-text">* [Inherit overflow checks for sum and product][36372].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4173" href="#L4173">4173</a><span class="code-text">* [Forbid user-defined macros named &quot;macro_rules&quot;][36730].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4174" href="#L4174">4174</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4175" href="#L4175">4175</a><span class="code-text">[33922]: https://github.com/rust-lang/rust/pull/33922</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4176" href="#L4176">4176</a><span class="code-text">[34623]: https://github.com/rust-lang/rust/pull/34623</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4177" href="#L4177">4177</a><span class="code-text">[34923]: https://github.com/rust-lang/rust/pull/34923</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4178" href="#L4178">4178</a><span class="code-text">[34942]: https://github.com/rust-lang/rust/pull/34942</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4179" href="#L4179">4179</a><span class="code-text">[34982]: https://github.com/rust-lang/rust/pull/34982</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4180" href="#L4180">4180</a><span class="code-text">[35021]: https://github.com/rust-lang/rust/pull/35021</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4181" href="#L4181">4181</a><span class="code-text">[35048]: https://github.com/rust-lang/rust/pull/35048</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4182" href="#L4182">4182</a><span class="code-text">[35074]: https://github.com/rust-lang/rust/pull/35074</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4183" href="#L4183">4183</a><span class="code-text">[35124]: https://github.com/rust-lang/rust/pull/35124</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4184" href="#L4184">4184</a><span class="code-text">[35234]: https://github.com/rust-lang/rust/pull/35234</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4185" href="#L4185">4185</a><span class="code-text">[35238]: https://github.com/rust-lang/rust/pull/35238</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4186" href="#L4186">4186</a><span class="code-text">[35354]: https://github.com/rust-lang/rust/pull/35354</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4187" href="#L4187">4187</a><span class="code-text">[35559]: https://github.com/rust-lang/rust/pull/35559</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4188" href="#L4188">4188</a><span class="code-text">[35585]: https://github.com/rust-lang/rust/pull/35585</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4189" href="#L4189">4189</a><span class="code-text">[35627]: https://github.com/rust-lang/rust/pull/35627</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4190" href="#L4190">4190</a><span class="code-text">[35655]: https://github.com/rust-lang/rust/pull/35655</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4191" href="#L4191">4191</a><span class="code-text">[35702]: https://github.com/rust-lang/rust/pull/35702</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4192" href="#L4192">4192</a><span class="code-text">[35707]: https://github.com/rust-lang/rust/pull/35707</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4193" href="#L4193">4193</a><span class="code-text">[35728]: https://github.com/rust-lang/rust/pull/35728</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4194" href="#L4194">4194</a><span class="code-text">[35734]: https://github.com/rust-lang/rust/pull/35734</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4195" href="#L4195">4195</a><span class="code-text">[35755]: https://github.com/rust-lang/rust/pull/35755</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4196" href="#L4196">4196</a><span class="code-text">[35761]: https://github.com/rust-lang/rust/pull/35761</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4197" href="#L4197">4197</a><span class="code-text">[35764]: https://github.com/rust-lang/rust/pull/35764</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4198" href="#L4198">4198</a><span class="code-text">[35814]: https://github.com/rust-lang/rust/pull/35814</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4199" href="#L4199">4199</a><span class="code-text">[35854]: https://github.com/rust-lang/rust/pull/35854</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4200" href="#L4200">4200</a><span class="code-text">[35871]: https://github.com/rust-lang/rust/pull/35871</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4201" href="#L4201">4201</a><span class="code-text">[35884]: https://github.com/rust-lang/rust/pull/35884</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4202" href="#L4202">4202</a><span class="code-text">[35911]: https://github.com/rust-lang/rust/pull/35911</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4203" href="#L4203">4203</a><span class="code-text">[35969]: https://github.com/rust-lang/rust/pull/35969</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4204" href="#L4204">4204</a><span class="code-text">[35975]: https://github.com/rust-lang/rust/pull/35975</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4205" href="#L4205">4205</a><span class="code-text">[36004]: https://github.com/rust-lang/rust/pull/36004</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4206" href="#L4206">4206</a><span class="code-text">[36008]: https://github.com/rust-lang/rust/pull/36008</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4207" href="#L4207">4207</a><span class="code-text">[36014]: https://github.com/rust-lang/rust/pull/36014</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4208" href="#L4208">4208</a><span class="code-text">[36029]: https://github.com/rust-lang/rust/pull/36029</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4209" href="#L4209">4209</a><span class="code-text">[36059]: https://github.com/rust-lang/rust/pull/36059</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4210" href="#L4210">4210</a><span class="code-text">[36072]: https://github.com/rust-lang/rust/pull/36072</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4211" href="#L4211">4211</a><span class="code-text">[36101]: https://github.com/rust-lang/rust/pull/36101</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4212" href="#L4212">4212</a><span class="code-text">[36104]: https://github.com/rust-lang/rust/pull/36104</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4213" href="#L4213">4213</a><span class="code-text">[36171]: https://github.com/rust-lang/rust/pull/36171</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4214" href="#L4214">4214</a><span class="code-text">[36173]: https://github.com/rust-lang/rust/pull/36173</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4215" href="#L4215">4215</a><span class="code-text">[36178]: https://github.com/rust-lang/rust/pull/36178</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4216" href="#L4216">4216</a><span class="code-text">[36213]: https://github.com/rust-lang/rust/pull/36213</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4217" href="#L4217">4217</a><span class="code-text">[36214]: https://github.com/rust-lang/rust/pull/36214</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4218" href="#L4218">4218</a><span class="code-text">[36264]: https://github.com/rust-lang/rust/pull/36264</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4219" href="#L4219">4219</a><span class="code-text">[36266]: https://github.com/rust-lang/rust/pull/36266</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4220" href="#L4220">4220</a><span class="code-text">[36289]: https://github.com/rust-lang/rust/pull/36289</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4221" href="#L4221">4221</a><span class="code-text">[36338]: https://github.com/rust-lang/rust/pull/36338</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4222" href="#L4222">4222</a><span class="code-text">[36351]: https://github.com/rust-lang/rust/pull/36351</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4223" href="#L4223">4223</a><span class="code-text">[36355]: https://github.com/rust-lang/rust/pull/36355</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4224" href="#L4224">4224</a><span class="code-text">[36369]: https://github.com/rust-lang/rust/pull/36369</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4225" href="#L4225">4225</a><span class="code-text">[36372]: https://github.com/rust-lang/rust/pull/36372</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4226" href="#L4226">4226</a><span class="code-text">[36423]: https://github.com/rust-lang/rust/pull/36423</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4227" href="#L4227">4227</a><span class="code-text">[36482]: https://github.com/rust-lang/rust/pull/36482</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4228" href="#L4228">4228</a><span class="code-text">[36505]: https://github.com/rust-lang/rust/pull/36505</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4229" href="#L4229">4229</a><span class="code-text">[36524]: https://github.com/rust-lang/rust/pull/36524</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4230" href="#L4230">4230</a><span class="code-text">[36527]: https://github.com/rust-lang/rust/pull/36527</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4231" href="#L4231">4231</a><span class="code-text">[36551]: https://github.com/rust-lang/rust/pull/36551</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4232" href="#L4232">4232</a><span class="code-text">[36574]: https://github.com/rust-lang/rust/pull/36574</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4233" href="#L4233">4233</a><span class="code-text">[36586]: https://github.com/rust-lang/rust/pull/36586</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4234" href="#L4234">4234</a><span class="code-text">[36592]: https://github.com/rust-lang/rust/pull/36592</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4235" href="#L4235">4235</a><span class="code-text">[36631]: https://github.com/rust-lang/rust/pull/36631</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4236" href="#L4236">4236</a><span class="code-text">[36639]: https://github.com/rust-lang/rust/pull/36639</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4237" href="#L4237">4237</a><span class="code-text">[36721]: https://github.com/rust-lang/rust/pull/36721</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4238" href="#L4238">4238</a><span class="code-text">[36727]: https://github.com/rust-lang/rust/pull/36727</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4239" href="#L4239">4239</a><span class="code-text">[36730]: https://github.com/rust-lang/rust/pull/36730</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4240" href="#L4240">4240</a><span class="code-text">[36734]: https://github.com/rust-lang/rust/pull/36734</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4241" href="#L4241">4241</a><span class="code-text">[36754]: https://github.com/rust-lang/rust/pull/36754</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4242" href="#L4242">4242</a><span class="code-text">[36995]: https://github.com/rust-lang/rust/pull/36995</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4243" href="#L4243">4243</a><span class="code-text">[RFC 0016]: https://github.com/rust-lang/rfcs/blob/master/text/0016-more-attributes.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4244" href="#L4244">4244</a><span class="code-text">[RFC 0243]: https://github.com/rust-lang/rfcs/blob/master/text/0243-trait-based-exception-handling.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4245" href="#L4245">4245</a><span class="code-text">[RFC 1506]: https://github.com/rust-lang/rfcs/blob/master/text/1506-adt-kinds.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4246" href="#L4246">4246</a><span class="code-text">[RFC 401]: https://github.com/rust-lang/rfcs/blob/master/text/0401-coercions.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4247" href="#L4247">4247</a><span class="code-text">[RFC 873]: https://github.com/rust-lang/rfcs/blob/master/text/0873-type-macros.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4248" href="#L4248">4248</a><span class="code-text">[cargo/2818]: https://github.com/rust-lang/cargo/pull/2818</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4249" href="#L4249">4249</a><span class="code-text">[cargo/3000]: https://github.com/rust-lang/cargo/pull/3000</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4250" href="#L4250">4250</a><span class="code-text">[cargo/3021]: https://github.com/rust-lang/cargo/pull/3021</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4251" href="#L4251">4251</a><span class="code-text">[cargo/3038]: https://github.com/rust-lang/cargo/pull/3038</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4252" href="#L4252">4252</a><span class="code-text">[cargo/3060]: https://github.com/rust-lang/cargo/pull/3060</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4253" href="#L4253">4253</a><span class="code-text">[cargo/3078]: https://github.com/rust-lang/cargo/pull/3078</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4254" href="#L4254">4254</a><span class="code-text">[cargo/3089]: https://github.com/rust-lang/cargo/pull/3089</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4255" href="#L4255">4255</a><span class="code-text">[cargo/3092]: https://github.com/rust-lang/cargo/pull/3092</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4256" href="#L4256">4256</a><span class="code-text">[cargo/3110]: https://github.com/rust-lang/cargo/pull/3110</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4257" href="#L4257">4257</a><span class="code-text">[cargo/3121]: https://github.com/rust-lang/cargo/pull/3121</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4258" href="#L4258">4258</a><span class="code-text">[cargo/3123]: https://github.com/rust-lang/cargo/pull/3123</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4259" href="#L4259">4259</a><span class="code-text">[cargo/3125]: https://github.com/rust-lang/cargo/pull/3125</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4260" href="#L4260">4260</a><span class="code-text">[cargo/3136]: https://github.com/rust-lang/cargo/pull/3136</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4261" href="#L4261">4261</a><span class="code-text">[cargo/3144]: https://github.com/rust-lang/cargo/pull/3144</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4262" href="#L4262">4262</a><span class="code-text">[cargo/3146]: https://github.com/rust-lang/cargo/pull/3146</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4263" href="#L4263">4263</a><span class="code-text">[cargo/3157]: https://github.com/rust-lang/cargo/pull/3157</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4264" href="#L4264">4264</a><span class="code-text">[cargo/3162]: https://github.com/rust-lang/cargo/pull/3162</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4265" href="#L4265">4265</a><span class="code-text">[cargo/3205]: https://github.com/rust-lang/cargo/pull/3205</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4266" href="#L4266">4266</a><span class="code-text">[cargo/3241]: https://github.com/rust-lang/cargo/pull/3241</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4267" href="#L4267">4267</a><span class="code-text">[cargo/3242]: https://github.com/rust-lang/cargo/pull/3242</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4268" href="#L4268">4268</a><span class="code-text">[rustup]: https://www.rustup.rs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4269" href="#L4269">4269</a><span class="code-text">[`checked_abs`]: https://doc.rust-lang.org/std/primitive.i32.html#method.checked_abs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4270" href="#L4270">4270</a><span class="code-text">[`wrapping_abs`]: https://doc.rust-lang.org/std/primitive.i32.html#method.wrapping_abs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4271" href="#L4271">4271</a><span class="code-text">[`overflowing_abs`]: https://doc.rust-lang.org/std/primitive.i32.html#method.overflowing_abs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4272" href="#L4272">4272</a><span class="code-text">[`RefCell::try_borrow`]: https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.try_borrow</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4273" href="#L4273">4273</a><span class="code-text">[`RefCell::try_borrow_mut`]: https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.try_borrow_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4274" href="#L4274">4274</a><span class="code-text">[`SipHasher`]: https://doc.rust-lang.org/std/hash/struct.SipHasher.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4275" href="#L4275">4275</a><span class="code-text">[`DefaultHasher`]: https://doc.rust-lang.org/std/collections/hash_map/struct.DefaultHasher.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4276" href="#L4276">4276</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4277" href="#L4277">4277</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4278" href="#L4278">4278</a><span class="code-text">Version 1.12.1 (2016-10-20)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4279" href="#L4279">4279</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4280" href="#L4280">4280</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4281" href="#L4281">4281</a><span class="code-text">Regression Fixes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4282" href="#L4282">4282</a><span class="code-text">----------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4283" href="#L4283">4283</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4284" href="#L4284">4284</a><span class="code-text">* [ICE: 'rustc' panicked at 'assertion failed: concrete_substs.is_normalized_for_trans()' #36381][36381]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4285" href="#L4285">4285</a><span class="code-text">* [Confusion with double negation and booleans][36856]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4286" href="#L4286">4286</a><span class="code-text">* [rustc 1.12.0 fails with SIGSEGV in release mode (syn crate 0.8.0)][36875]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4287" href="#L4287">4287</a><span class="code-text">* [Rustc 1.12.0 Windows build of `ethcore` crate fails with LLVM error][36924]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4288" href="#L4288">4288</a><span class="code-text">* [1.12.0: High memory usage when linking in release mode with debug info][36926]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4289" href="#L4289">4289</a><span class="code-text">* [Corrupted memory after updated to 1.12][36936]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4290" href="#L4290">4290</a><span class="code-text">* [&quot;Let NullaryConstructor = something;&quot; causes internal compiler error: &quot;tried to overwrite interned AdtDef&quot;][37026]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4291" href="#L4291">4291</a><span class="code-text">* [Fix ICE: inject bitcast if types mismatch for invokes/calls/stores][37112]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4292" href="#L4292">4292</a><span class="code-text">* [debuginfo: Handle spread_arg case in MIR-trans in a more stable way.][37153]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4293" href="#L4293">4293</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4294" href="#L4294">4294</a><span class="code-text">[36381]: https://github.com/rust-lang/rust/issues/36381</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4295" href="#L4295">4295</a><span class="code-text">[36856]: https://github.com/rust-lang/rust/issues/36856</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4296" href="#L4296">4296</a><span class="code-text">[36875]: https://github.com/rust-lang/rust/issues/36875</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4297" href="#L4297">4297</a><span class="code-text">[36924]: https://github.com/rust-lang/rust/issues/36924</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4298" href="#L4298">4298</a><span class="code-text">[36926]: https://github.com/rust-lang/rust/issues/36926</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4299" href="#L4299">4299</a><span class="code-text">[36936]: https://github.com/rust-lang/rust/issues/36936</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4300" href="#L4300">4300</a><span class="code-text">[37026]: https://github.com/rust-lang/rust/issues/37026</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4301" href="#L4301">4301</a><span class="code-text">[37112]: https://github.com/rust-lang/rust/issues/37112</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4302" href="#L4302">4302</a><span class="code-text">[37153]: https://github.com/rust-lang/rust/issues/37153</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4303" href="#L4303">4303</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4304" href="#L4304">4304</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4305" href="#L4305">4305</a><span class="code-text">Version 1.12.0 (2016-09-29)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4306" href="#L4306">4306</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4307" href="#L4307">4307</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4308" href="#L4308">4308</a><span class="code-text">Highlights</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4309" href="#L4309">4309</a><span class="code-text">----------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4310" href="#L4310">4310</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4311" href="#L4311">4311</a><span class="code-text">* [`rustc` translates code to LLVM IR via its own &quot;middle&quot; IR (MIR)](https://github.com/rust-lang/rust/pull/34096).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4312" href="#L4312">4312</a><span class="code-text">  This translation pass is far simpler than the previous AST-&gt;LLVM pass, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4313" href="#L4313">4313</a><span class="code-text">  creates opportunities to perform new optimizations directly on the MIR. It</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4314" href="#L4314">4314</a><span class="code-text">  was previously described [on the Rust blog](https://blog.rust-lang.org/2016/04/19/MIR.html).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4315" href="#L4315">4315</a><span class="code-text">* [`rustc` presents a new, more readable error format, along with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4316" href="#L4316">4316</a><span class="code-text">  machine-readable JSON error output for use by IDEs](https://github.com/rust-lang/rust/pull/35401).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4317" href="#L4317">4317</a><span class="code-text">  Most common editors supporting Rust have been updated to work with it. It was</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4318" href="#L4318">4318</a><span class="code-text">  previously described [on the Rust blog](https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4319" href="#L4319">4319</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4320" href="#L4320">4320</a><span class="code-text">Compiler</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4321" href="#L4321">4321</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4322" href="#L4322">4322</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4323" href="#L4323">4323</a><span class="code-text">* [`rustc` translates code to LLVM IR via its own &quot;middle&quot; IR (MIR)](https://github.com/rust-lang/rust/pull/34096).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4324" href="#L4324">4324</a><span class="code-text">  This translation pass is far simpler than the previous AST-&gt;LLVM pass, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4325" href="#L4325">4325</a><span class="code-text">  creates opportunities to perform new optimizations directly on the MIR. It</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4326" href="#L4326">4326</a><span class="code-text">  was previously described [on the Rust blog](https://blog.rust-lang.org/2016/04/19/MIR.html).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4327" href="#L4327">4327</a><span class="code-text">* [Print the Rust target name, not the LLVM target name, with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4328" href="#L4328">4328</a><span class="code-text">  `--print target-list`](https://github.com/rust-lang/rust/pull/35489)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4329" href="#L4329">4329</a><span class="code-text">* [The computation of `TypeId` is correct in some cases where it was previously</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4330" href="#L4330">4330</a><span class="code-text">  producing inconsistent results](https://github.com/rust-lang/rust/pull/35267)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4331" href="#L4331">4331</a><span class="code-text">* [The `mips-unknown-linux-gnu` target uses hardware floating point by default](https://github.com/rust-lang/rust/pull/34910)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4332" href="#L4332">4332</a><span class="code-text">* [The `rustc` arguments, `--print target-cpus`, `--print target-features`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4333" href="#L4333">4333</a><span class="code-text">  `--print relocation-models`, and `--print code-models` print the available</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4334" href="#L4334">4334</a><span class="code-text">  options to the `-C target-cpu`, `-C target-feature`, `-C relocation-model` and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4335" href="#L4335">4335</a><span class="code-text">  `-C code-model` code generation arguments](https://github.com/rust-lang/rust/pull/34845)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4336" href="#L4336">4336</a><span class="code-text">* [`rustc` supports three new MUSL targets on ARM: `arm-unknown-linux-musleabi`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4337" href="#L4337">4337</a><span class="code-text">  `arm-unknown-linux-musleabihf`, and `armv7-unknown-linux-musleabihf`](https://github.com/rust-lang/rust/pull/35060).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4338" href="#L4338">4338</a><span class="code-text">  These targets produce statically-linked binaries. There are no binary release</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4339" href="#L4339">4339</a><span class="code-text">  builds yet though.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4340" href="#L4340">4340</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4341" href="#L4341">4341</a><span class="code-text">Diagnostics</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4342" href="#L4342">4342</a><span class="code-text">-----------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4343" href="#L4343">4343</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4344" href="#L4344">4344</a><span class="code-text">* [`rustc` presents a new, more readable error format, along with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4345" href="#L4345">4345</a><span class="code-text">  machine-readable JSON error output for use by IDEs](https://github.com/rust-lang/rust/pull/35401).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4346" href="#L4346">4346</a><span class="code-text">  Most common editors supporting Rust have been updated to work with it. It was</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4347" href="#L4347">4347</a><span class="code-text">  previously described [on the Rust blog](https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4348" href="#L4348">4348</a><span class="code-text">* [In error descriptions, references are now described in plain English,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4349" href="#L4349">4349</a><span class="code-text">  instead of as &quot;&amp;-ptr&quot;](https://github.com/rust-lang/rust/pull/35611)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4350" href="#L4350">4350</a><span class="code-text">* [In error type descriptions, unknown numeric types are named `{integer}` or</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4351" href="#L4351">4351</a><span class="code-text">  `{float}` instead of `_`](https://github.com/rust-lang/rust/pull/35080)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4352" href="#L4352">4352</a><span class="code-text">* [`rustc` emits a clearer error when inner attributes follow a doc comment](https://github.com/rust-lang/rust/pull/34676)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4353" href="#L4353">4353</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4354" href="#L4354">4354</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4355" href="#L4355">4355</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4356" href="#L4356">4356</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4357" href="#L4357">4357</a><span class="code-text">* [`macro_rules!` invocations can be made within `macro_rules!` invocations](https://github.com/rust-lang/rust/pull/34925)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4358" href="#L4358">4358</a><span class="code-text">* [`macro_rules!` meta-variables are hygienic](https://github.com/rust-lang/rust/pull/35453)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4359" href="#L4359">4359</a><span class="code-text">* [`macro_rules!` `tt` matchers can be reparsed correctly, making them much more</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4360" href="#L4360">4360</a><span class="code-text">  useful](https://github.com/rust-lang/rust/pull/34908)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4361" href="#L4361">4361</a><span class="code-text">* [`macro_rules!` `stmt` matchers correctly consume the entire contents when</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4362" href="#L4362">4362</a><span class="code-text">  inside non-braces invocations](https://github.com/rust-lang/rust/pull/34886)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4363" href="#L4363">4363</a><span class="code-text">* [Semicolons are properly required as statement delimiters inside</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4364" href="#L4364">4364</a><span class="code-text">  `macro_rules!` invocations](https://github.com/rust-lang/rust/pull/34660)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4365" href="#L4365">4365</a><span class="code-text">* [`cfg_attr` works on `path` attributes](https://github.com/rust-lang/rust/pull/34546)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4366" href="#L4366">4366</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4367" href="#L4367">4367</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4368" href="#L4368">4368</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4369" href="#L4369">4369</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4370" href="#L4370">4370</a><span class="code-text">* [`Cell::as_ptr`](https://doc.rust-lang.org/std/cell/struct.Cell.html#method.as_ptr)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4371" href="#L4371">4371</a><span class="code-text">* [`RefCell::as_ptr`](https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.as_ptr)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4372" href="#L4372">4372</a><span class="code-text">* [`IpAddr::is_unspecified`](https://doc.rust-lang.org/std/net/enum.IpAddr.html#method.is_unspecified)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4373" href="#L4373">4373</a><span class="code-text">* [`IpAddr::is_loopback`](https://doc.rust-lang.org/std/net/enum.IpAddr.html#method.is_loopback)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4374" href="#L4374">4374</a><span class="code-text">* [`IpAddr::is_multicast`](https://doc.rust-lang.org/std/net/enum.IpAddr.html#method.is_multicast)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4375" href="#L4375">4375</a><span class="code-text">* [`Ipv4Addr::is_unspecified`](https://doc.rust-lang.org/std/net/struct.Ipv4Addr.html#method.is_unspecified)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4376" href="#L4376">4376</a><span class="code-text">* [`Ipv6Addr::octets`](https://doc.rust-lang.org/std/net/struct.Ipv6Addr.html#method.octets)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4377" href="#L4377">4377</a><span class="code-text">* [`LinkedList::contains`](https://doc.rust-lang.org/std/collections/linked_list/struct.LinkedList.html#method.contains)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4378" href="#L4378">4378</a><span class="code-text">* [`VecDeque::contains`](https://doc.rust-lang.org/std/collections/vec_deque/struct.VecDeque.html#method.contains)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4379" href="#L4379">4379</a><span class="code-text">* [`ExitStatusExt::from_raw`](https://doc.rust-lang.org/std/os/unix/process/trait.ExitStatusExt.html#tymethod.from_raw).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4380" href="#L4380">4380</a><span class="code-text">  Both on Unix and Windows.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4381" href="#L4381">4381</a><span class="code-text">* [`Receiver::recv_timeout`](https://doc.rust-lang.org/std/sync/mpsc/struct.Receiver.html#method.recv_timeout)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4382" href="#L4382">4382</a><span class="code-text">* [`RecvTimeoutError`](https://doc.rust-lang.org/std/sync/mpsc/enum.RecvTimeoutError.html)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4383" href="#L4383">4383</a><span class="code-text">* [`BinaryHeap::peek_mut`](https://doc.rust-lang.org/std/collections/binary_heap/struct.BinaryHeap.html#method.peek_mut)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4384" href="#L4384">4384</a><span class="code-text">* [`PeekMut`](https://doc.rust-lang.org/std/collections/binary_heap/struct.PeekMut.html)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4385" href="#L4385">4385</a><span class="code-text">* [`iter::Product`](https://doc.rust-lang.org/std/iter/trait.Product.html)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4386" href="#L4386">4386</a><span class="code-text">* [`iter::Sum`](https://doc.rust-lang.org/std/iter/trait.Sum.html)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4387" href="#L4387">4387</a><span class="code-text">* [`OccupiedEntry::remove_entry`](https://doc.rust-lang.org/std/collections/btree_map/struct.OccupiedEntry.html#method.remove_entry)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4388" href="#L4388">4388</a><span class="code-text">* [`VacantEntry::into_key`](https://doc.rust-lang.org/std/collections/btree_map/struct.VacantEntry.html#method.into_key)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4389" href="#L4389">4389</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4390" href="#L4390">4390</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4391" href="#L4391">4391</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4392" href="#L4392">4392</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4393" href="#L4393">4393</a><span class="code-text">* [The `format!` macro and friends now allow a single argument to be formatted</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4394" href="#L4394">4394</a><span class="code-text">  in multiple styles](https://github.com/rust-lang/rust/pull/33642)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4395" href="#L4395">4395</a><span class="code-text">* [The lifetime bounds on `[T]::binary_search_by` and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4396" href="#L4396">4396</a><span class="code-text">  `[T]::binary_search_by_key` have been adjusted to be more flexible](https://github.com/rust-lang/rust/pull/34762)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4397" href="#L4397">4397</a><span class="code-text">* [`Option` implements `From` for its contained type](https://github.com/rust-lang/rust/pull/34828)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4398" href="#L4398">4398</a><span class="code-text">* [`Cell`, `RefCell` and `UnsafeCell` implement `From` for their contained type](https://github.com/rust-lang/rust/pull/35392)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4399" href="#L4399">4399</a><span class="code-text">* [`RwLock` panics if the reader count overflows](https://github.com/rust-lang/rust/pull/35378)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4400" href="#L4400">4400</a><span class="code-text">* [`vec_deque::Drain`, `hash_map::Drain` and `hash_set::Drain` are covariant](https://github.com/rust-lang/rust/pull/35354)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4401" href="#L4401">4401</a><span class="code-text">* [`vec::Drain` and `binary_heap::Drain` are covariant](https://github.com/rust-lang/rust/pull/34951)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4402" href="#L4402">4402</a><span class="code-text">* [`Cow&lt;str&gt;` implements `FromIterator` for `char`, `&amp;str` and `String`](https://github.com/rust-lang/rust/pull/35064)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4403" href="#L4403">4403</a><span class="code-text">* [Sockets on Linux are correctly closed in subprocesses via `SOCK_CLOEXEC`](https://github.com/rust-lang/rust/pull/34946)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4404" href="#L4404">4404</a><span class="code-text">* [`hash_map::Entry`, `hash_map::VacantEntry` and `hash_map::OccupiedEntry`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4405" href="#L4405">4405</a><span class="code-text">  implement `Debug`](https://github.com/rust-lang/rust/pull/34937)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4406" href="#L4406">4406</a><span class="code-text">* [`btree_map::Entry`, `btree_map::VacantEntry` and `btree_map::OccupiedEntry`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4407" href="#L4407">4407</a><span class="code-text">  implement `Debug`](https://github.com/rust-lang/rust/pull/34885)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4408" href="#L4408">4408</a><span class="code-text">* [`String` implements `AddAssign`](https://github.com/rust-lang/rust/pull/34890)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4409" href="#L4409">4409</a><span class="code-text">* [Variadic `extern fn` pointers implement the `Clone`, `PartialEq`, `Eq`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4410" href="#L4410">4410</a><span class="code-text">  `PartialOrd`, `Ord`, `Hash`, `fmt::Pointer`, and `fmt::Debug` traits](https://github.com/rust-lang/rust/pull/34879)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4411" href="#L4411">4411</a><span class="code-text">* [`FileType` implements `Debug`](https://github.com/rust-lang/rust/pull/34757)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4412" href="#L4412">4412</a><span class="code-text">* [References to `Mutex` and `RwLock` are unwind-safe](https://github.com/rust-lang/rust/pull/34756)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4413" href="#L4413">4413</a><span class="code-text">* [`mpsc::sync_channel` `Receiver`s return any available message before</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4414" href="#L4414">4414</a><span class="code-text">  reporting a disconnect](https://github.com/rust-lang/rust/pull/34731)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4415" href="#L4415">4415</a><span class="code-text">* [Unicode definitions have been updated to 9.0](https://github.com/rust-lang/rust/pull/34599)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4416" href="#L4416">4416</a><span class="code-text">* [`env` iterators implement `DoubleEndedIterator`](https://github.com/rust-lang/rust/pull/33312)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4417" href="#L4417">4417</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4418" href="#L4418">4418</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4419" href="#L4419">4419</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4420" href="#L4420">4420</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4421" href="#L4421">4421</a><span class="code-text">* [Support local mirrors of registries](https://github.com/rust-lang/cargo/pull/2857)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4422" href="#L4422">4422</a><span class="code-text">* [Add support for command aliases](https://github.com/rust-lang/cargo/pull/2679)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4423" href="#L4423">4423</a><span class="code-text">* [Allow `opt-level=&quot;s&quot;` / `opt-level=&quot;z&quot;` in profile overrides](https://github.com/rust-lang/cargo/pull/3007)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4424" href="#L4424">4424</a><span class="code-text">* [Make `cargo doc --open --target` work as expected](https://github.com/rust-lang/cargo/pull/2988)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4425" href="#L4425">4425</a><span class="code-text">* [Speed up noop registry updates](https://github.com/rust-lang/cargo/pull/2974)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4426" href="#L4426">4426</a><span class="code-text">* [Update OpenSSL](https://github.com/rust-lang/cargo/pull/2971)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4427" href="#L4427">4427</a><span class="code-text">* [Fix `--panic=abort` with plugins](https://github.com/rust-lang/cargo/pull/2954)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4428" href="#L4428">4428</a><span class="code-text">* [Always pass `-C metadata` to the compiler](https://github.com/rust-lang/cargo/pull/2946)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4429" href="#L4429">4429</a><span class="code-text">* [Fix depending on git repos with workspaces](https://github.com/rust-lang/cargo/pull/2938)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4430" href="#L4430">4430</a><span class="code-text">* [Add a `--lib` flag to `cargo new`](https://github.com/rust-lang/cargo/pull/2921)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4431" href="#L4431">4431</a><span class="code-text">* [Add `http.cainfo` for custom certs](https://github.com/rust-lang/cargo/pull/2917)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4432" href="#L4432">4432</a><span class="code-text">* [Indicate the compilation profile after compiling](https://github.com/rust-lang/cargo/pull/2909)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4433" href="#L4433">4433</a><span class="code-text">* [Allow enabling features for dependencies with `--features`](https://github.com/rust-lang/cargo/pull/2876)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4434" href="#L4434">4434</a><span class="code-text">* [Add `--jobs` flag to `cargo package`](https://github.com/rust-lang/cargo/pull/2867)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4435" href="#L4435">4435</a><span class="code-text">* [Add `--dry-run` to `cargo publish`](https://github.com/rust-lang/cargo/pull/2849)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4436" href="#L4436">4436</a><span class="code-text">* [Add support for `RUSTDOCFLAGS`](https://github.com/rust-lang/cargo/pull/2794)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4437" href="#L4437">4437</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4438" href="#L4438">4438</a><span class="code-text">Performance</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4439" href="#L4439">4439</a><span class="code-text">-----------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4440" href="#L4440">4440</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4441" href="#L4441">4441</a><span class="code-text">* [`panic::catch_unwind` is more optimized](https://github.com/rust-lang/rust/pull/35444)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4442" href="#L4442">4442</a><span class="code-text">* [`panic::catch_unwind` no longer accesses thread-local storage on entry](https://github.com/rust-lang/rust/pull/34866)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4443" href="#L4443">4443</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4444" href="#L4444">4444</a><span class="code-text">Tooling</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4445" href="#L4445">4445</a><span class="code-text">-------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4446" href="#L4446">4446</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4447" href="#L4447">4447</a><span class="code-text">* [Test binaries now support a `--test-threads` argument to specify the number</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4448" href="#L4448">4448</a><span class="code-text">  of threads used to run tests, and which acts the same as the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4449" href="#L4449">4449</a><span class="code-text">  `RUST_TEST_THREADS` environment variable](https://github.com/rust-lang/rust/pull/35414)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4450" href="#L4450">4450</a><span class="code-text">* [The test runner now emits a warning when tests run over 60 seconds](https://github.com/rust-lang/rust/pull/35405)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4451" href="#L4451">4451</a><span class="code-text">* [rustdoc: Fix methods in search results](https://github.com/rust-lang/rust/pull/34752)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4452" href="#L4452">4452</a><span class="code-text">* [`rust-lldb` warns about unsupported versions of LLDB](https://github.com/rust-lang/rust/pull/34646)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4453" href="#L4453">4453</a><span class="code-text">* [Rust releases now come with source packages that can be installed by rustup</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4454" href="#L4454">4454</a><span class="code-text">  via `rustup component add rust-src`](https://github.com/rust-lang/rust/pull/34366).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4455" href="#L4455">4455</a><span class="code-text">  The resulting source code can be used by tools and IDES, located in the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4456" href="#L4456">4456</a><span class="code-text">  sysroot under `lib/rustlib/src`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4457" href="#L4457">4457</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4458" href="#L4458">4458</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4459" href="#L4459">4459</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4460" href="#L4460">4460</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4461" href="#L4461">4461</a><span class="code-text">* [The compiler can now be built against LLVM 3.9](https://github.com/rust-lang/rust/pull/35594)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4462" href="#L4462">4462</a><span class="code-text">* Many minor improvements to the documentation.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4463" href="#L4463">4463</a><span class="code-text">* [The Rust exception handling &quot;personality&quot; routine is now written in Rust](https://github.com/rust-lang/rust/pull/34832)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4464" href="#L4464">4464</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4465" href="#L4465">4465</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4466" href="#L4466">4466</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4467" href="#L4467">4467</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4468" href="#L4468">4468</a><span class="code-text">* [When printing Windows `OsStr`s, unpaired surrogate codepoints are escaped</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4469" href="#L4469">4469</a><span class="code-text">  with the lowercase format instead of the uppercase](https://github.com/rust-lang/rust/pull/35084)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4470" href="#L4470">4470</a><span class="code-text">* [When formatting strings, if &quot;precision&quot; is specified, the &quot;fill&quot;,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4471" href="#L4471">4471</a><span class="code-text">  &quot;align&quot; and &quot;width&quot; specifiers are no longer ignored](https://github.com/rust-lang/rust/pull/34544)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4472" href="#L4472">4472</a><span class="code-text">* [The `Debug` impl for strings no longer escapes all non-ASCII characters](https://github.com/rust-lang/rust/pull/34485)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4473" href="#L4473">4473</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4474" href="#L4474">4474</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4475" href="#L4475">4475</a><span class="code-text">Version 1.11.0 (2016-08-18)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4476" href="#L4476">4476</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4477" href="#L4477">4477</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4478" href="#L4478">4478</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4479" href="#L4479">4479</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4480" href="#L4480">4480</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4481" href="#L4481">4481</a><span class="code-text">* [`cfg_attr` works on `path` attributes](https://github.com/rust-lang/rust/pull/34546)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4482" href="#L4482">4482</a><span class="code-text">* [Support nested `cfg_attr` attributes](https://github.com/rust-lang/rust/pull/34216)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4483" href="#L4483">4483</a><span class="code-text">* [Allow statement-generating braced macro invocations at the end of blocks](https://github.com/rust-lang/rust/pull/34436)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4484" href="#L4484">4484</a><span class="code-text">* [Macros can be expanded inside of trait definitions](https://github.com/rust-lang/rust/pull/34213)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4485" href="#L4485">4485</a><span class="code-text">* [`#[macro_use]` works properly when it is itself expanded from a macro](https://github.com/rust-lang/rust/pull/34032)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4486" href="#L4486">4486</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4487" href="#L4487">4487</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4488" href="#L4488">4488</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4489" href="#L4489">4489</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4490" href="#L4490">4490</a><span class="code-text">* [`BinaryHeap::append`](https://doc.rust-lang.org/std/collections/binary_heap/struct.BinaryHeap.html#method.append)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4491" href="#L4491">4491</a><span class="code-text">* [`BTreeMap::append`](https://doc.rust-lang.org/std/collections/btree_map/struct.BTreeMap.html#method.append)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4492" href="#L4492">4492</a><span class="code-text">* [`BTreeMap::split_off`](https://doc.rust-lang.org/std/collections/btree_map/struct.BTreeMap.html#method.split_off)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4493" href="#L4493">4493</a><span class="code-text">* [`BTreeSet::append`](https://doc.rust-lang.org/std/collections/btree_set/struct.BTreeSet.html#method.append)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4494" href="#L4494">4494</a><span class="code-text">* [`BTreeSet::split_off`](https://doc.rust-lang.org/std/collections/btree_set/struct.BTreeSet.html#method.split_off)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4495" href="#L4495">4495</a><span class="code-text">* [`f32::to_degrees`](https://doc.rust-lang.org/std/primitive.f32.html#method.to_degrees)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4496" href="#L4496">4496</a><span class="code-text">  (in libcore - previously stabilized in libstd)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4497" href="#L4497">4497</a><span class="code-text">* [`f32::to_radians`](https://doc.rust-lang.org/std/primitive.f32.html#method.to_radians)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4498" href="#L4498">4498</a><span class="code-text">  (in libcore - previously stabilized in libstd)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4499" href="#L4499">4499</a><span class="code-text">* [`f64::to_degrees`](https://doc.rust-lang.org/std/primitive.f64.html#method.to_degrees)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4500" href="#L4500">4500</a><span class="code-text">  (in libcore - previously stabilized in libstd)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4501" href="#L4501">4501</a><span class="code-text">* [`f64::to_radians`](https://doc.rust-lang.org/std/primitive.f64.html#method.to_radians)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4502" href="#L4502">4502</a><span class="code-text">  (in libcore - previously stabilized in libstd)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4503" href="#L4503">4503</a><span class="code-text">* [`Iterator::sum`](https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.sum)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4504" href="#L4504">4504</a><span class="code-text">* [`Iterator::product`](https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.sum)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4505" href="#L4505">4505</a><span class="code-text">* [`Cell::get_mut`](https://doc.rust-lang.org/std/cell/struct.Cell.html#method.get_mut)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4506" href="#L4506">4506</a><span class="code-text">* [`RefCell::get_mut`](https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.get_mut)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4507" href="#L4507">4507</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4508" href="#L4508">4508</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4509" href="#L4509">4509</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4510" href="#L4510">4510</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4511" href="#L4511">4511</a><span class="code-text">* [The `thread_local!` macro supports multiple definitions in a single</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4512" href="#L4512">4512</a><span class="code-text">   invocation, and can apply attributes](https://github.com/rust-lang/rust/pull/34077)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4513" href="#L4513">4513</a><span class="code-text">* [`Cow` implements `Default`](https://github.com/rust-lang/rust/pull/34305)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4514" href="#L4514">4514</a><span class="code-text">* [`Wrapping` implements binary, octal, lower-hex and upper-hex</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4515" href="#L4515">4515</a><span class="code-text">  `Display` formatting](https://github.com/rust-lang/rust/pull/34190)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4516" href="#L4516">4516</a><span class="code-text">* [The range types implement `Hash`](https://github.com/rust-lang/rust/pull/34180)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4517" href="#L4517">4517</a><span class="code-text">* [`lookup_host` ignores unknown address types](https://github.com/rust-lang/rust/pull/34067)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4518" href="#L4518">4518</a><span class="code-text">* [`assert_eq!` accepts a custom error message, like `assert!` does](https://github.com/rust-lang/rust/pull/33976)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4519" href="#L4519">4519</a><span class="code-text">* [The main thread is now called &quot;main&quot; instead of &quot;&amp;lt;main&amp;gt;&quot;](https://github.com/rust-lang/rust/pull/33803)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4520" href="#L4520">4520</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4521" href="#L4521">4521</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4522" href="#L4522">4522</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4523" href="#L4523">4523</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4524" href="#L4524">4524</a><span class="code-text">* [Disallow specifying features of transitive deps](https://github.com/rust-lang/cargo/pull/2821)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4525" href="#L4525">4525</a><span class="code-text">* [Add color support for Windows consoles](https://github.com/rust-lang/cargo/pull/2804)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4526" href="#L4526">4526</a><span class="code-text">* [Fix `harness = false` on `[lib]` sections](https://github.com/rust-lang/cargo/pull/2795)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4527" href="#L4527">4527</a><span class="code-text">* [Don't panic when `links` contains a '.'](https://github.com/rust-lang/cargo/pull/2787)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4528" href="#L4528">4528</a><span class="code-text">* [Build scripts can emit warnings](https://github.com/rust-lang/cargo/pull/2630),</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4529" href="#L4529">4529</a><span class="code-text">  and `-vv` prints warnings for all crates.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4530" href="#L4530">4530</a><span class="code-text">* [Ignore file locks on OS X NFS mounts](https://github.com/rust-lang/cargo/pull/2720)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4531" href="#L4531">4531</a><span class="code-text">* [Don't warn about `package.metadata` keys](https://github.com/rust-lang/cargo/pull/2668).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4532" href="#L4532">4532</a><span class="code-text">  This provides room for expansion by arbitrary tools.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4533" href="#L4533">4533</a><span class="code-text">* [Add support for cdylib crate types](https://github.com/rust-lang/cargo/pull/2741)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4534" href="#L4534">4534</a><span class="code-text">* [Prevent publishing crates when files are dirty](https://github.com/rust-lang/cargo/pull/2781)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4535" href="#L4535">4535</a><span class="code-text">* [Don't fetch all crates on clean](https://github.com/rust-lang/cargo/pull/2704)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4536" href="#L4536">4536</a><span class="code-text">* [Propagate --color option to rustc](https://github.com/rust-lang/cargo/pull/2779)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4537" href="#L4537">4537</a><span class="code-text">* [Fix `cargo doc --open` on Windows](https://github.com/rust-lang/cargo/pull/2780)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4538" href="#L4538">4538</a><span class="code-text">* [Improve autocompletion](https://github.com/rust-lang/cargo/pull/2772)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4539" href="#L4539">4539</a><span class="code-text">* [Configure colors of stderr as well as stdout](https://github.com/rust-lang/cargo/pull/2739)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4540" href="#L4540">4540</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4541" href="#L4541">4541</a><span class="code-text">Performance</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4542" href="#L4542">4542</a><span class="code-text">-----------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4543" href="#L4543">4543</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4544" href="#L4544">4544</a><span class="code-text">* [Caching projections speeds up type check dramatically for some</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4545" href="#L4545">4545</a><span class="code-text">  workloads](https://github.com/rust-lang/rust/pull/33816)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4546" href="#L4546">4546</a><span class="code-text">* [The default `HashMap` hasher is SipHash 1-3 instead of SipHash 2-4](https://github.com/rust-lang/rust/pull/33940)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4547" href="#L4547">4547</a><span class="code-text">  This hasher is faster, but is believed to provide sufficient</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4548" href="#L4548">4548</a><span class="code-text">  protection from collision attacks.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4549" href="#L4549">4549</a><span class="code-text">* [Comparison of `Ipv4Addr` is 10x faster](https://github.com/rust-lang/rust/pull/33891)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4550" href="#L4550">4550</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4551" href="#L4551">4551</a><span class="code-text">Rustdoc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4552" href="#L4552">4552</a><span class="code-text">-------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4553" href="#L4553">4553</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4554" href="#L4554">4554</a><span class="code-text">* [Fix empty implementation section on some module pages](https://github.com/rust-lang/rust/pull/34536)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4555" href="#L4555">4555</a><span class="code-text">* [Fix inlined renamed re-exports in import lists](https://github.com/rust-lang/rust/pull/34479)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4556" href="#L4556">4556</a><span class="code-text">* [Fix search result layout for enum variants and struct fields](https://github.com/rust-lang/rust/pull/34477)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4557" href="#L4557">4557</a><span class="code-text">* [Fix issues with source links to external crates](https://github.com/rust-lang/rust/pull/34387)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4558" href="#L4558">4558</a><span class="code-text">* [Fix redirect pages for renamed re-exports](https://github.com/rust-lang/rust/pull/34245)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4559" href="#L4559">4559</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4560" href="#L4560">4560</a><span class="code-text">Tooling</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4561" href="#L4561">4561</a><span class="code-text">-------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4562" href="#L4562">4562</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4563" href="#L4563">4563</a><span class="code-text">* [rustc is better at finding the MSVC toolchain](https://github.com/rust-lang/rust/pull/34492)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4564" href="#L4564">4564</a><span class="code-text">* [When emitting debug info, rustc emits frame pointers for closures,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4565" href="#L4565">4565</a><span class="code-text">  shims and glue, as it does for all other functions](https://github.com/rust-lang/rust/pull/33909)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4566" href="#L4566">4566</a><span class="code-text">* [rust-lldb warns about unsupported versions of LLDB](https://github.com/rust-lang/rust/pull/34646)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4567" href="#L4567">4567</a><span class="code-text">* Many more errors have been given error codes and extended</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4568" href="#L4568">4568</a><span class="code-text">  explanations</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4569" href="#L4569">4569</a><span class="code-text">* API documentation continues to be improved, with many new examples</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4570" href="#L4570">4570</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4571" href="#L4571">4571</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4572" href="#L4572">4572</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4573" href="#L4573">4573</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4574" href="#L4574">4574</a><span class="code-text">* [rustc no longer hangs when dependencies recursively re-export</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4575" href="#L4575">4575</a><span class="code-text">  submodules](https://github.com/rust-lang/rust/pull/34542)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4576" href="#L4576">4576</a><span class="code-text">* [rustc requires LLVM 3.7+](https://github.com/rust-lang/rust/pull/34104)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4577" href="#L4577">4577</a><span class="code-text">* [The 'How Safe and Unsafe Interact' chapter of The Rustonomicon was</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4578" href="#L4578">4578</a><span class="code-text">  rewritten](https://github.com/rust-lang/rust/pull/33895)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4579" href="#L4579">4579</a><span class="code-text">* [rustc support 16-bit pointer sizes](https://github.com/rust-lang/rust/pull/33460).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4580" href="#L4580">4580</a><span class="code-text">  No targets use this yet, but it works toward AVR support.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4581" href="#L4581">4581</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4582" href="#L4582">4582</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4583" href="#L4583">4583</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4584" href="#L4584">4584</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4585" href="#L4585">4585</a><span class="code-text">* [`const`s and `static`s may not have unsized types](https://github.com/rust-lang/rust/pull/34443)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4586" href="#L4586">4586</a><span class="code-text">* [The new follow-set rules that place restrictions on `macro_rules!`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4587" href="#L4587">4587</a><span class="code-text">  in order to ensure syntax forward-compatibility have been enabled](https://github.com/rust-lang/rust/pull/33982)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4588" href="#L4588">4588</a><span class="code-text">  This was an [amendment to RFC 550](https://github.com/rust-lang/rfcs/pull/1384),</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4589" href="#L4589">4589</a><span class="code-text">  and has been a warning since 1.10.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4590" href="#L4590">4590</a><span class="code-text">* [`cfg` attribute process has been refactored to fix various bugs](https://github.com/rust-lang/rust/pull/33706).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4591" href="#L4591">4591</a><span class="code-text">  This causes breakage in some corner cases.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4592" href="#L4592">4592</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4593" href="#L4593">4593</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4594" href="#L4594">4594</a><span class="code-text">Version 1.10.0 (2016-07-07)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4595" href="#L4595">4595</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4596" href="#L4596">4596</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4597" href="#L4597">4597</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4598" href="#L4598">4598</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4599" href="#L4599">4599</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4600" href="#L4600">4600</a><span class="code-text">* [Allow `concat_idents!` in type positions as well as in expression</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4601" href="#L4601">4601</a><span class="code-text">  positions](https://github.com/rust-lang/rust/pull/33735).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4602" href="#L4602">4602</a><span class="code-text">* [`Copy` types are required to have a trivial implementation of `Clone`](https://github.com/rust-lang/rust/pull/33420).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4603" href="#L4603">4603</a><span class="code-text">  [RFC 1521](https://github.com/rust-lang/rfcs/blob/master/text/1521-copy-clone-semantics.md).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4604" href="#L4604">4604</a><span class="code-text">* [Single-variant enums support the `#[repr(..)]` attribute](https://github.com/rust-lang/rust/pull/33355).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4605" href="#L4605">4605</a><span class="code-text">* [Fix `#[derive(RustcEncodable)]` in the presence of other `encode` methods](https://github.com/rust-lang/rust/pull/32908).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4606" href="#L4606">4606</a><span class="code-text">* [`panic!` can be converted to a runtime abort with the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4607" href="#L4607">4607</a><span class="code-text">  `-C panic=abort` flag](https://github.com/rust-lang/rust/pull/32900).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4608" href="#L4608">4608</a><span class="code-text">  [RFC 1513](https://github.com/rust-lang/rfcs/blob/master/text/1513-less-unwinding.md).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4609" href="#L4609">4609</a><span class="code-text">* [Add a new crate type, 'cdylib'](https://github.com/rust-lang/rust/pull/33553).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4610" href="#L4610">4610</a><span class="code-text">  cdylibs are dynamic libraries suitable for loading by non-Rust hosts.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4611" href="#L4611">4611</a><span class="code-text">  [RFC 1510](https://github.com/rust-lang/rfcs/blob/master/text/1510-cdylib.md).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4612" href="#L4612">4612</a><span class="code-text">  Note that Cargo does not yet directly support cdylibs.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4613" href="#L4613">4613</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4614" href="#L4614">4614</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4615" href="#L4615">4615</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4616" href="#L4616">4616</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4617" href="#L4617">4617</a><span class="code-text">* `os::windows::fs::OpenOptionsExt::access_mode`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4618" href="#L4618">4618</a><span class="code-text">* `os::windows::fs::OpenOptionsExt::share_mode`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4619" href="#L4619">4619</a><span class="code-text">* `os::windows::fs::OpenOptionsExt::custom_flags`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4620" href="#L4620">4620</a><span class="code-text">* `os::windows::fs::OpenOptionsExt::attributes`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4621" href="#L4621">4621</a><span class="code-text">* `os::windows::fs::OpenOptionsExt::security_qos_flags`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4622" href="#L4622">4622</a><span class="code-text">* `os::unix::fs::OpenOptionsExt::custom_flags`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4623" href="#L4623">4623</a><span class="code-text">* [`sync::Weak::new`](http://doc.rust-lang.org/alloc/arc/struct.Weak.html#method.new)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4624" href="#L4624">4624</a><span class="code-text">* `Default for sync::Weak`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4625" href="#L4625">4625</a><span class="code-text">* [`panic::set_hook`](http://doc.rust-lang.org/std/panic/fn.set_hook.html)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4626" href="#L4626">4626</a><span class="code-text">* [`panic::take_hook`](http://doc.rust-lang.org/std/panic/fn.take_hook.html)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4627" href="#L4627">4627</a><span class="code-text">* [`panic::PanicInfo`](http://doc.rust-lang.org/std/panic/struct.PanicInfo.html)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4628" href="#L4628">4628</a><span class="code-text">* [`panic::PanicInfo::payload`](http://doc.rust-lang.org/std/panic/struct.PanicInfo.html#method.payload)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4629" href="#L4629">4629</a><span class="code-text">* [`panic::PanicInfo::location`](http://doc.rust-lang.org/std/panic/struct.PanicInfo.html#method.location)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4630" href="#L4630">4630</a><span class="code-text">* [`panic::Location`](http://doc.rust-lang.org/std/panic/struct.Location.html)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4631" href="#L4631">4631</a><span class="code-text">* [`panic::Location::file`](http://doc.rust-lang.org/std/panic/struct.Location.html#method.file)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4632" href="#L4632">4632</a><span class="code-text">* [`panic::Location::line`](http://doc.rust-lang.org/std/panic/struct.Location.html#method.line)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4633" href="#L4633">4633</a><span class="code-text">* [`ffi::CStr::from_bytes_with_nul`](http://doc.rust-lang.org/std/ffi/struct.CStr.html#method.from_bytes_with_nul)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4634" href="#L4634">4634</a><span class="code-text">* [`ffi::CStr::from_bytes_with_nul_unchecked`](http://doc.rust-lang.org/std/ffi/struct.CStr.html#method.from_bytes_with_nul_unchecked)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4635" href="#L4635">4635</a><span class="code-text">* [`ffi::FromBytesWithNulError`](http://doc.rust-lang.org/std/ffi/struct.FromBytesWithNulError.html)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4636" href="#L4636">4636</a><span class="code-text">* [`fs::Metadata::modified`](http://doc.rust-lang.org/std/fs/struct.Metadata.html#method.modified)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4637" href="#L4637">4637</a><span class="code-text">* [`fs::Metadata::accessed`](http://doc.rust-lang.org/std/fs/struct.Metadata.html#method.accessed)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4638" href="#L4638">4638</a><span class="code-text">* [`fs::Metadata::created`](http://doc.rust-lang.org/std/fs/struct.Metadata.html#method.created)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4639" href="#L4639">4639</a><span class="code-text">* `sync::atomic::Atomic{Usize,Isize,Bool,Ptr}::compare_exchange`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4640" href="#L4640">4640</a><span class="code-text">* `sync::atomic::Atomic{Usize,Isize,Bool,Ptr}::compare_exchange_weak`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4641" href="#L4641">4641</a><span class="code-text">* `collections::{btree,hash}_map::{Occupied,Vacant,}Entry::key`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4642" href="#L4642">4642</a><span class="code-text">* `os::unix::net::{UnixStream, UnixListener, UnixDatagram, SocketAddr}`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4643" href="#L4643">4643</a><span class="code-text">* [`SocketAddr::is_unnamed`](http://doc.rust-lang.org/std/os/unix/net/struct.SocketAddr.html#method.is_unnamed)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4644" href="#L4644">4644</a><span class="code-text">* [`SocketAddr::as_pathname`](http://doc.rust-lang.org/std/os/unix/net/struct.SocketAddr.html#method.as_pathname)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4645" href="#L4645">4645</a><span class="code-text">* [`UnixStream::connect`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.connect)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4646" href="#L4646">4646</a><span class="code-text">* [`UnixStream::pair`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.pair)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4647" href="#L4647">4647</a><span class="code-text">* [`UnixStream::try_clone`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.try_clone)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4648" href="#L4648">4648</a><span class="code-text">* [`UnixStream::local_addr`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.local_addr)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4649" href="#L4649">4649</a><span class="code-text">* [`UnixStream::peer_addr`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.peer_addr)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4650" href="#L4650">4650</a><span class="code-text">* [`UnixStream::set_read_timeout`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.read_timeout)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4651" href="#L4651">4651</a><span class="code-text">* [`UnixStream::set_write_timeout`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.write_timeout)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4652" href="#L4652">4652</a><span class="code-text">* [`UnixStream::read_timeout`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.read_timeout)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4653" href="#L4653">4653</a><span class="code-text">* [`UnixStream::write_timeout`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.write_timeout)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4654" href="#L4654">4654</a><span class="code-text">* [`UnixStream::set_nonblocking`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.set_nonblocking)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4655" href="#L4655">4655</a><span class="code-text">* [`UnixStream::take_error`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.take_error)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4656" href="#L4656">4656</a><span class="code-text">* [`UnixStream::shutdown`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.shutdown)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4657" href="#L4657">4657</a><span class="code-text">* Read/Write/RawFd impls for `UnixStream`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4658" href="#L4658">4658</a><span class="code-text">* [`UnixListener::bind`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.bind)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4659" href="#L4659">4659</a><span class="code-text">* [`UnixListener::accept`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.accept)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4660" href="#L4660">4660</a><span class="code-text">* [`UnixListener::try_clone`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.try_clone)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4661" href="#L4661">4661</a><span class="code-text">* [`UnixListener::local_addr`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.local_addr)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4662" href="#L4662">4662</a><span class="code-text">* [`UnixListener::set_nonblocking`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.set_nonblocking)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4663" href="#L4663">4663</a><span class="code-text">* [`UnixListener::take_error`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.take_error)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4664" href="#L4664">4664</a><span class="code-text">* [`UnixListener::incoming`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.incoming)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4665" href="#L4665">4665</a><span class="code-text">* RawFd impls for `UnixListener`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4666" href="#L4666">4666</a><span class="code-text">* [`UnixDatagram::bind`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.bind)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4667" href="#L4667">4667</a><span class="code-text">* [`UnixDatagram::unbound`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.unbound)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4668" href="#L4668">4668</a><span class="code-text">* [`UnixDatagram::pair`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.pair)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4669" href="#L4669">4669</a><span class="code-text">* [`UnixDatagram::connect`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.connect)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4670" href="#L4670">4670</a><span class="code-text">* [`UnixDatagram::try_clone`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.try_clone)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4671" href="#L4671">4671</a><span class="code-text">* [`UnixDatagram::local_addr`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.local_addr)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4672" href="#L4672">4672</a><span class="code-text">* [`UnixDatagram::peer_addr`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.peer_addr)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4673" href="#L4673">4673</a><span class="code-text">* [`UnixDatagram::recv_from`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.recv_from)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4674" href="#L4674">4674</a><span class="code-text">* [`UnixDatagram::recv`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.recv)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4675" href="#L4675">4675</a><span class="code-text">* [`UnixDatagram::send_to`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.send_to)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4676" href="#L4676">4676</a><span class="code-text">* [`UnixDatagram::send`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.send)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4677" href="#L4677">4677</a><span class="code-text">* [`UnixDatagram::set_read_timeout`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.set_read_timeout)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4678" href="#L4678">4678</a><span class="code-text">* [`UnixDatagram::set_write_timeout`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.set_write_timeout)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4679" href="#L4679">4679</a><span class="code-text">* [`UnixDatagram::read_timeout`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.read_timeout)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4680" href="#L4680">4680</a><span class="code-text">* [`UnixDatagram::write_timeout`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.write_timeout)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4681" href="#L4681">4681</a><span class="code-text">* [`UnixDatagram::set_nonblocking`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.set_nonblocking)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4682" href="#L4682">4682</a><span class="code-text">* [`UnixDatagram::take_error`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.take_error)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4683" href="#L4683">4683</a><span class="code-text">* [`UnixDatagram::shutdown`](http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.shutdown)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4684" href="#L4684">4684</a><span class="code-text">* RawFd impls for `UnixDatagram`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4685" href="#L4685">4685</a><span class="code-text">* `{BTree,Hash}Map::values_mut`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4686" href="#L4686">4686</a><span class="code-text">* [`&lt;[_]&gt;::binary_search_by_key`](http://doc.rust-lang.org/std/primitive.slice.html#method.binary_search_by_key)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4687" href="#L4687">4687</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4688" href="#L4688">4688</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4689" href="#L4689">4689</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4690" href="#L4690">4690</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4691" href="#L4691">4691</a><span class="code-text">* [The `abs_sub` method of floats is deprecated](https://github.com/rust-lang/rust/pull/33664).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4692" href="#L4692">4692</a><span class="code-text">  The semantics of this minor method are subtle and probably not what</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4693" href="#L4693">4693</a><span class="code-text">  most people want.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4694" href="#L4694">4694</a><span class="code-text">* [Add implementation of Ord for Cell&lt;T&gt; and RefCell&lt;T&gt; where T: Ord](https://github.com/rust-lang/rust/pull/33306).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4695" href="#L4695">4695</a><span class="code-text">* [On Linux, if `HashMap`s can't be initialized with `getrandom` they</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4696" href="#L4696">4696</a><span class="code-text">  will fall back to `/dev/urandom` temporarily to avoid blocking</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4697" href="#L4697">4697</a><span class="code-text">  during early boot](https://github.com/rust-lang/rust/pull/33086).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4698" href="#L4698">4698</a><span class="code-text">* [Implemented negation for wrapping numerals](https://github.com/rust-lang/rust/pull/33067).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4699" href="#L4699">4699</a><span class="code-text">* [Implement `Clone` for `binary_heap::IntoIter`](https://github.com/rust-lang/rust/pull/33050).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4700" href="#L4700">4700</a><span class="code-text">* [Implement `Display` and `Hash` for `std::num::Wrapping`](https://github.com/rust-lang/rust/pull/33023).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4701" href="#L4701">4701</a><span class="code-text">* [Add `Default` implementation for `&amp;CStr`, `CString`](https://github.com/rust-lang/rust/pull/32990).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4702" href="#L4702">4702</a><span class="code-text">* [Implement `From&lt;Vec&lt;T&gt;&gt;` and `Into&lt;Vec&lt;T&gt;&gt;` for `VecDeque&lt;T&gt;`](https://github.com/rust-lang/rust/pull/32866).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4703" href="#L4703">4703</a><span class="code-text">* [Implement `Default` for `UnsafeCell`, `fmt::Error`, `Condvar`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4704" href="#L4704">4704</a><span class="code-text">  `Mutex`, `RwLock`](https://github.com/rust-lang/rust/pull/32785).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4705" href="#L4705">4705</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4706" href="#L4706">4706</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4707" href="#L4707">4707</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4708" href="#L4708">4708</a><span class="code-text">* [Cargo.toml supports the `profile.*.panic` option](https://github.com/rust-lang/cargo/pull/2687).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4709" href="#L4709">4709</a><span class="code-text">  This controls the runtime behavior of the `panic!` macro</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4710" href="#L4710">4710</a><span class="code-text">  and can be either &quot;unwind&quot; (the default), or &quot;abort&quot;.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4711" href="#L4711">4711</a><span class="code-text">  [RFC 1513](https://github.com/rust-lang/rfcs/blob/master/text/1513-less-unwinding.md).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4712" href="#L4712">4712</a><span class="code-text">* [Don't throw away errors with `-p` arguments](https://github.com/rust-lang/cargo/pull/2723).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4713" href="#L4713">4713</a><span class="code-text">* [Report status to stderr instead of stdout](https://github.com/rust-lang/cargo/pull/2693).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4714" href="#L4714">4714</a><span class="code-text">* [Build scripts are passed a `CARGO_MANIFEST_LINKS` environment</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4715" href="#L4715">4715</a><span class="code-text">  variable that corresponds to the `links` field of the manifest](https://github.com/rust-lang/cargo/pull/2710).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4716" href="#L4716">4716</a><span class="code-text">* [Ban keywords from crate names](https://github.com/rust-lang/cargo/pull/2707).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4717" href="#L4717">4717</a><span class="code-text">* [Canonicalize `CARGO_HOME` on Windows](https://github.com/rust-lang/cargo/pull/2604).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4718" href="#L4718">4718</a><span class="code-text">* [Retry network requests](https://github.com/rust-lang/cargo/pull/2396).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4719" href="#L4719">4719</a><span class="code-text">  By default they are retried twice, which can be customized with the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4720" href="#L4720">4720</a><span class="code-text">  `net.retry` value in `.cargo/config`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4721" href="#L4721">4721</a><span class="code-text">* [Don't print extra error info for failing subcommands](https://github.com/rust-lang/cargo/pull/2674).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4722" href="#L4722">4722</a><span class="code-text">* [Add `--force` flag to `cargo install`](https://github.com/rust-lang/cargo/pull/2405).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4723" href="#L4723">4723</a><span class="code-text">* [Don't use `flock` on NFS mounts](https://github.com/rust-lang/cargo/pull/2623).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4724" href="#L4724">4724</a><span class="code-text">* [Prefer building `cargo install` artifacts in temporary directories](https://github.com/rust-lang/cargo/pull/2610).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4725" href="#L4725">4725</a><span class="code-text">  Makes it possible to install multiple crates in parallel.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4726" href="#L4726">4726</a><span class="code-text">* [Add `cargo test --doc`](https://github.com/rust-lang/cargo/pull/2578).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4727" href="#L4727">4727</a><span class="code-text">* [Add `cargo --explain`](https://github.com/rust-lang/cargo/pull/2551).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4728" href="#L4728">4728</a><span class="code-text">* [Don't print warnings when `-q` is passed](https://github.com/rust-lang/cargo/pull/2576).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4729" href="#L4729">4729</a><span class="code-text">* [Add `cargo doc --lib` and `--bin`](https://github.com/rust-lang/cargo/pull/2577).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4730" href="#L4730">4730</a><span class="code-text">* [Don't require build script output to be UTF-8](https://github.com/rust-lang/cargo/pull/2560).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4731" href="#L4731">4731</a><span class="code-text">* [Correctly attempt multiple git usernames](https://github.com/rust-lang/cargo/pull/2584).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4732" href="#L4732">4732</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4733" href="#L4733">4733</a><span class="code-text">Performance</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4734" href="#L4734">4734</a><span class="code-text">-----------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4735" href="#L4735">4735</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4736" href="#L4736">4736</a><span class="code-text">* [rustc memory usage was reduced by refactoring the context used for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4737" href="#L4737">4737</a><span class="code-text">  type checking](https://github.com/rust-lang/rust/pull/33425).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4738" href="#L4738">4738</a><span class="code-text">* [Speed up creation of `HashMap`s by caching the random keys used</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4739" href="#L4739">4739</a><span class="code-text">  to initialize the hash state](https://github.com/rust-lang/rust/pull/33318).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4740" href="#L4740">4740</a><span class="code-text">* [The `find` implementation for `Chain` iterators is 2x faster](https://github.com/rust-lang/rust/pull/33289).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4741" href="#L4741">4741</a><span class="code-text">* [Trait selection optimizations speed up type checking by 15%](https://github.com/rust-lang/rust/pull/33138).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4742" href="#L4742">4742</a><span class="code-text">* [Efficient trie lookup for boolean Unicode properties](https://github.com/rust-lang/rust/pull/33098).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4743" href="#L4743">4743</a><span class="code-text">  10x faster than the previous lookup tables.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4744" href="#L4744">4744</a><span class="code-text">* [Special case `#[derive(Copy, Clone)]` to avoid bloat](https://github.com/rust-lang/rust/pull/31414).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4745" href="#L4745">4745</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4746" href="#L4746">4746</a><span class="code-text">Usability</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4747" href="#L4747">4747</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4748" href="#L4748">4748</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4749" href="#L4749">4749</a><span class="code-text">* Many incremental improvements to documentation and rustdoc.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4750" href="#L4750">4750</a><span class="code-text">* [rustdoc: List blanket trait impls](https://github.com/rust-lang/rust/pull/33514).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4751" href="#L4751">4751</a><span class="code-text">* [rustdoc: Clean up ABI rendering](https://github.com/rust-lang/rust/pull/33151).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4752" href="#L4752">4752</a><span class="code-text">* [Indexing with the wrong type produces a more informative error](https://github.com/rust-lang/rust/pull/33401).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4753" href="#L4753">4753</a><span class="code-text">* [Improve diagnostics for constants being used in irrefutable patterns](https://github.com/rust-lang/rust/pull/33406).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4754" href="#L4754">4754</a><span class="code-text">* [When many method candidates are in scope limit the suggestions to 10](https://github.com/rust-lang/rust/pull/33338).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4755" href="#L4755">4755</a><span class="code-text">* [Remove confusing suggestion when calling a `fn` type](https://github.com/rust-lang/rust/pull/33325).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4756" href="#L4756">4756</a><span class="code-text">* [Do not suggest changing `&amp;mut self` to `&amp;mut mut self`](https://github.com/rust-lang/rust/pull/33319).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4757" href="#L4757">4757</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4758" href="#L4758">4758</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4759" href="#L4759">4759</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4760" href="#L4760">4760</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4761" href="#L4761">4761</a><span class="code-text">* [Update i686-linux-android features to match Android ABI](https://github.com/rust-lang/rust/pull/33651).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4762" href="#L4762">4762</a><span class="code-text">* [Update aarch64-linux-android features to match Android ABI](https://github.com/rust-lang/rust/pull/33500).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4763" href="#L4763">4763</a><span class="code-text">* [`std` no longer prints backtraces on platforms where the running</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4764" href="#L4764">4764</a><span class="code-text">  module must be loaded with `env::current_exe`, which can't be relied</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4765" href="#L4765">4765</a><span class="code-text">  on](https://github.com/rust-lang/rust/pull/33554).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4766" href="#L4766">4766</a><span class="code-text">* This release includes std binaries for the i586-unknown-linux-gnu,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4767" href="#L4767">4767</a><span class="code-text">  i686-unknown-linux-musl, and armv7-linux-androideabi targets. The</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4768" href="#L4768">4768</a><span class="code-text">  i586 target is for old x86 hardware without SSE2, and the armv7</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4769" href="#L4769">4769</a><span class="code-text">  target is for Android running on modern ARM architectures.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4770" href="#L4770">4770</a><span class="code-text">* [The `rust-gdb` and `rust-lldb` scripts are distributed on all</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4771" href="#L4771">4771</a><span class="code-text">  Unix platforms](https://github.com/rust-lang/rust/pull/32835).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4772" href="#L4772">4772</a><span class="code-text">* [On Unix the runtime aborts by calling `libc::abort` instead of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4773" href="#L4773">4773</a><span class="code-text">  generating an illegal instruction](https://github.com/rust-lang/rust/pull/31457).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4774" href="#L4774">4774</a><span class="code-text">* [Rust is now bootstrapped from the previous release of Rust,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4775" href="#L4775">4775</a><span class="code-text">  instead of a snapshot from an arbitrary commit](https://github.com/rust-lang/rust/pull/32942).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4776" href="#L4776">4776</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4777" href="#L4777">4777</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4778" href="#L4778">4778</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4779" href="#L4779">4779</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4780" href="#L4780">4780</a><span class="code-text">* [`AtomicBool` is now bool-sized, not word-sized](https://github.com/rust-lang/rust/pull/33579).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4781" href="#L4781">4781</a><span class="code-text">* [`target_env` for Linux ARM targets is just `gnu`, not</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4782" href="#L4782">4782</a><span class="code-text">  `gnueabihf`, `gnueabi`, etc](https://github.com/rust-lang/rust/pull/33403).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4783" href="#L4783">4783</a><span class="code-text">* [Consistently panic on overflow in `Duration::new`](https://github.com/rust-lang/rust/pull/33072).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4784" href="#L4784">4784</a><span class="code-text">* [Change `String::truncate` to panic less](https://github.com/rust-lang/rust/pull/32977).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4785" href="#L4785">4785</a><span class="code-text">* [Add `:block` to the follow set for `:ty` and `:path`](https://github.com/rust-lang/rust/pull/32945).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4786" href="#L4786">4786</a><span class="code-text">  Affects how macros are parsed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4787" href="#L4787">4787</a><span class="code-text">* [Fix macro hygiene bug](https://github.com/rust-lang/rust/pull/32923).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4788" href="#L4788">4788</a><span class="code-text">* [Feature-gated attributes on macro-generated macro invocations are</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4789" href="#L4789">4789</a><span class="code-text">  now rejected](https://github.com/rust-lang/rust/pull/32791).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4790" href="#L4790">4790</a><span class="code-text">* [Suppress fallback and ambiguity errors during type inference](https://github.com/rust-lang/rust/pull/32258).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4791" href="#L4791">4791</a><span class="code-text">  This caused some minor changes to type inference.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4792" href="#L4792">4792</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4793" href="#L4793">4793</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4794" href="#L4794">4794</a><span class="code-text">Version 1.9.0 (2016-05-26)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4795" href="#L4795">4795</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4796" href="#L4796">4796</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4797" href="#L4797">4797</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4798" href="#L4798">4798</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4799" href="#L4799">4799</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4800" href="#L4800">4800</a><span class="code-text">* The `#[deprecated]` attribute when applied to an API will generate</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4801" href="#L4801">4801</a><span class="code-text">  warnings when used. The warnings may be suppressed with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4802" href="#L4802">4802</a><span class="code-text">  `#[allow(deprecated)]`. [RFC 1270].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4803" href="#L4803">4803</a><span class="code-text">* [`fn` item types are zero sized, and each `fn` names a unique</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4804" href="#L4804">4804</a><span class="code-text">  type][1.9fn]. This will break code that transmutes `fn`s, so calling</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4805" href="#L4805">4805</a><span class="code-text">  `transmute` on a `fn` type will generate a warning for a few cycles,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4806" href="#L4806">4806</a><span class="code-text">  then will be converted to an error.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4807" href="#L4807">4807</a><span class="code-text">* [Field and method resolution understand visibility, so private</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4808" href="#L4808">4808</a><span class="code-text">  fields and methods cannot prevent the proper use of public fields</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4809" href="#L4809">4809</a><span class="code-text">  and methods][1.9fv].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4810" href="#L4810">4810</a><span class="code-text">* [The parser considers unicode codepoints in the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4811" href="#L4811">4811</a><span class="code-text">  `PATTERN_WHITE_SPACE` category to be whitespace][1.9ws].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4812" href="#L4812">4812</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4813" href="#L4813">4813</a><span class="code-text">Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4814" href="#L4814">4814</a><span class="code-text">---------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4815" href="#L4815">4815</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4816" href="#L4816">4816</a><span class="code-text">* [`std::panic`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4817" href="#L4817">4817</a><span class="code-text">* [`std::panic::catch_unwind`][] (renamed from `recover`)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4818" href="#L4818">4818</a><span class="code-text">* [`std::panic::resume_unwind`][] (renamed from `propagate`)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4819" href="#L4819">4819</a><span class="code-text">* [`std::panic::AssertUnwindSafe`][] (renamed from `AssertRecoverSafe`)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4820" href="#L4820">4820</a><span class="code-text">* [`std::panic::UnwindSafe`][] (renamed from `RecoverSafe`)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4821" href="#L4821">4821</a><span class="code-text">* [`str::is_char_boundary`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4822" href="#L4822">4822</a><span class="code-text">* [`&lt;*const T&gt;::as_ref`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4823" href="#L4823">4823</a><span class="code-text">* [`&lt;*mut T&gt;::as_ref`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4824" href="#L4824">4824</a><span class="code-text">* [`&lt;*mut T&gt;::as_mut`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4825" href="#L4825">4825</a><span class="code-text">* [`AsciiExt::make_ascii_uppercase`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4826" href="#L4826">4826</a><span class="code-text">* [`AsciiExt::make_ascii_lowercase`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4827" href="#L4827">4827</a><span class="code-text">* [`char::decode_utf16`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4828" href="#L4828">4828</a><span class="code-text">* [`char::DecodeUtf16`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4829" href="#L4829">4829</a><span class="code-text">* [`char::DecodeUtf16Error`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4830" href="#L4830">4830</a><span class="code-text">* [`char::DecodeUtf16Error::unpaired_surrogate`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4831" href="#L4831">4831</a><span class="code-text">* [`BTreeSet::take`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4832" href="#L4832">4832</a><span class="code-text">* [`BTreeSet::replace`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4833" href="#L4833">4833</a><span class="code-text">* [`BTreeSet::get`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4834" href="#L4834">4834</a><span class="code-text">* [`HashSet::take`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4835" href="#L4835">4835</a><span class="code-text">* [`HashSet::replace`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4836" href="#L4836">4836</a><span class="code-text">* [`HashSet::get`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4837" href="#L4837">4837</a><span class="code-text">* [`OsString::with_capacity`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4838" href="#L4838">4838</a><span class="code-text">* [`OsString::clear`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4839" href="#L4839">4839</a><span class="code-text">* [`OsString::capacity`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4840" href="#L4840">4840</a><span class="code-text">* [`OsString::reserve`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4841" href="#L4841">4841</a><span class="code-text">* [`OsString::reserve_exact`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4842" href="#L4842">4842</a><span class="code-text">* [`OsStr::is_empty`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4843" href="#L4843">4843</a><span class="code-text">* [`OsStr::len`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4844" href="#L4844">4844</a><span class="code-text">* [`std::os::unix::thread`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4845" href="#L4845">4845</a><span class="code-text">* [`RawPthread`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4846" href="#L4846">4846</a><span class="code-text">* [`JoinHandleExt`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4847" href="#L4847">4847</a><span class="code-text">* [`JoinHandleExt::as_pthread_t`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4848" href="#L4848">4848</a><span class="code-text">* [`JoinHandleExt::into_pthread_t`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4849" href="#L4849">4849</a><span class="code-text">* [`HashSet::hasher`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4850" href="#L4850">4850</a><span class="code-text">* [`HashMap::hasher`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4851" href="#L4851">4851</a><span class="code-text">* [`CommandExt::exec`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4852" href="#L4852">4852</a><span class="code-text">* [`File::try_clone`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4853" href="#L4853">4853</a><span class="code-text">* [`SocketAddr::set_ip`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4854" href="#L4854">4854</a><span class="code-text">* [`SocketAddr::set_port`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4855" href="#L4855">4855</a><span class="code-text">* [`SocketAddrV4::set_ip`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4856" href="#L4856">4856</a><span class="code-text">* [`SocketAddrV4::set_port`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4857" href="#L4857">4857</a><span class="code-text">* [`SocketAddrV6::set_ip`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4858" href="#L4858">4858</a><span class="code-text">* [`SocketAddrV6::set_port`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4859" href="#L4859">4859</a><span class="code-text">* [`SocketAddrV6::set_flowinfo`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4860" href="#L4860">4860</a><span class="code-text">* [`SocketAddrV6::set_scope_id`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4861" href="#L4861">4861</a><span class="code-text">* [`slice::copy_from_slice`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4862" href="#L4862">4862</a><span class="code-text">* [`ptr::read_volatile`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4863" href="#L4863">4863</a><span class="code-text">* [`ptr::write_volatile`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4864" href="#L4864">4864</a><span class="code-text">* [`OpenOptions::create_new`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4865" href="#L4865">4865</a><span class="code-text">* [`TcpStream::set_nodelay`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4866" href="#L4866">4866</a><span class="code-text">* [`TcpStream::nodelay`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4867" href="#L4867">4867</a><span class="code-text">* [`TcpStream::set_ttl`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4868" href="#L4868">4868</a><span class="code-text">* [`TcpStream::ttl`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4869" href="#L4869">4869</a><span class="code-text">* [`TcpStream::set_only_v6`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4870" href="#L4870">4870</a><span class="code-text">* [`TcpStream::only_v6`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4871" href="#L4871">4871</a><span class="code-text">* [`TcpStream::take_error`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4872" href="#L4872">4872</a><span class="code-text">* [`TcpStream::set_nonblocking`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4873" href="#L4873">4873</a><span class="code-text">* [`TcpListener::set_ttl`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4874" href="#L4874">4874</a><span class="code-text">* [`TcpListener::ttl`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4875" href="#L4875">4875</a><span class="code-text">* [`TcpListener::set_only_v6`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4876" href="#L4876">4876</a><span class="code-text">* [`TcpListener::only_v6`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4877" href="#L4877">4877</a><span class="code-text">* [`TcpListener::take_error`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4878" href="#L4878">4878</a><span class="code-text">* [`TcpListener::set_nonblocking`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4879" href="#L4879">4879</a><span class="code-text">* [`UdpSocket::set_broadcast`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4880" href="#L4880">4880</a><span class="code-text">* [`UdpSocket::broadcast`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4881" href="#L4881">4881</a><span class="code-text">* [`UdpSocket::set_multicast_loop_v4`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4882" href="#L4882">4882</a><span class="code-text">* [`UdpSocket::multicast_loop_v4`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4883" href="#L4883">4883</a><span class="code-text">* [`UdpSocket::set_multicast_ttl_v4`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4884" href="#L4884">4884</a><span class="code-text">* [`UdpSocket::multicast_ttl_v4`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4885" href="#L4885">4885</a><span class="code-text">* [`UdpSocket::set_multicast_loop_v6`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4886" href="#L4886">4886</a><span class="code-text">* [`UdpSocket::multicast_loop_v6`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4887" href="#L4887">4887</a><span class="code-text">* [`UdpSocket::set_multicast_ttl_v6`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4888" href="#L4888">4888</a><span class="code-text">* [`UdpSocket::multicast_ttl_v6`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4889" href="#L4889">4889</a><span class="code-text">* [`UdpSocket::set_ttl`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4890" href="#L4890">4890</a><span class="code-text">* [`UdpSocket::ttl`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4891" href="#L4891">4891</a><span class="code-text">* [`UdpSocket::set_only_v6`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4892" href="#L4892">4892</a><span class="code-text">* [`UdpSocket::only_v6`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4893" href="#L4893">4893</a><span class="code-text">* [`UdpSocket::join_multicast_v4`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4894" href="#L4894">4894</a><span class="code-text">* [`UdpSocket::join_multicast_v6`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4895" href="#L4895">4895</a><span class="code-text">* [`UdpSocket::leave_multicast_v4`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4896" href="#L4896">4896</a><span class="code-text">* [`UdpSocket::leave_multicast_v6`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4897" href="#L4897">4897</a><span class="code-text">* [`UdpSocket::take_error`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4898" href="#L4898">4898</a><span class="code-text">* [`UdpSocket::connect`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4899" href="#L4899">4899</a><span class="code-text">* [`UdpSocket::send`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4900" href="#L4900">4900</a><span class="code-text">* [`UdpSocket::recv`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4901" href="#L4901">4901</a><span class="code-text">* [`UdpSocket::set_nonblocking`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4902" href="#L4902">4902</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4903" href="#L4903">4903</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4904" href="#L4904">4904</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4905" href="#L4905">4905</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4906" href="#L4906">4906</a><span class="code-text">* [`std::sync::Once` is poisoned if its initialization function</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4907" href="#L4907">4907</a><span class="code-text">  fails][1.9o].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4908" href="#L4908">4908</a><span class="code-text">* [`cell::Ref` and `cell::RefMut` can contain unsized types][1.9cu].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4909" href="#L4909">4909</a><span class="code-text">* [Most types implement `fmt::Debug`][1.9db].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4910" href="#L4910">4910</a><span class="code-text">* [The default buffer size used by `BufReader` and `BufWriter` was</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4911" href="#L4911">4911</a><span class="code-text">  reduced to 8K, from 64K][1.9bf]. This is in line with the buffer size</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4912" href="#L4912">4912</a><span class="code-text">  used by other languages.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4913" href="#L4913">4913</a><span class="code-text">* [`Instant`, `SystemTime` and `Duration` implement `+=` and `-=`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4914" href="#L4914">4914</a><span class="code-text">  `Duration` additionally implements `*=` and `/=`][1.9ta].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4915" href="#L4915">4915</a><span class="code-text">* [`Skip` is a `DoubleEndedIterator`][1.9sk].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4916" href="#L4916">4916</a><span class="code-text">* [`From&lt;[u8; 4]&gt;` is implemented for `Ipv4Addr`][1.9fi].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4917" href="#L4917">4917</a><span class="code-text">* [`Chain` implements `BufRead`][1.9ch].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4918" href="#L4918">4918</a><span class="code-text">* [`HashMap`, `HashSet` and iterators are covariant][1.9hc].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4919" href="#L4919">4919</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4920" href="#L4920">4920</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4921" href="#L4921">4921</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4922" href="#L4922">4922</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4923" href="#L4923">4923</a><span class="code-text">* [Cargo can now run concurrently][1.9cc].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4924" href="#L4924">4924</a><span class="code-text">* [Top-level overrides allow specific revisions of crates to be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4925" href="#L4925">4925</a><span class="code-text">  overridden through the entire crate graph][1.9ct].  This is intended</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4926" href="#L4926">4926</a><span class="code-text">  to make upgrades easier for large projects, by allowing crates to be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4927" href="#L4927">4927</a><span class="code-text">  forked temporarily until they've been upgraded and republished.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4928" href="#L4928">4928</a><span class="code-text">* [Cargo exports a `CARGO_PKG_AUTHORS` environment variable][1.9cp].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4929" href="#L4929">4929</a><span class="code-text">* [Cargo will pass the contents of the `RUSTFLAGS` variable to `rustc`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4930" href="#L4930">4930</a><span class="code-text">  on the commandline][1.9cf]. `rustc` arguments can also be specified</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4931" href="#L4931">4931</a><span class="code-text">  in the `build.rustflags` configuration key.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4932" href="#L4932">4932</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4933" href="#L4933">4933</a><span class="code-text">Performance</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4934" href="#L4934">4934</a><span class="code-text">-----------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4935" href="#L4935">4935</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4936" href="#L4936">4936</a><span class="code-text">* [The time complexity of comparing variables for equivalence during type</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4937" href="#L4937">4937</a><span class="code-text">  unification is reduced from _O_(_n_!) to _O_(_n_)][1.9tu]. This leads</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4938" href="#L4938">4938</a><span class="code-text">  to major compilation time improvement in some scenarios.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4939" href="#L4939">4939</a><span class="code-text">* [`ToString` is specialized for `str`, giving it the same performance</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4940" href="#L4940">4940</a><span class="code-text">  as `to_owned`][1.9ts].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4941" href="#L4941">4941</a><span class="code-text">* [Spawning processes with `Command::output` no longer creates extra</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4942" href="#L4942">4942</a><span class="code-text">  threads][1.9sp].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4943" href="#L4943">4943</a><span class="code-text">* [`#[derive(PartialEq)]` and `#[derive(PartialOrd)]` emit less code</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4944" href="#L4944">4944</a><span class="code-text">  for C-like enums][1.9cl].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4945" href="#L4945">4945</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4946" href="#L4946">4946</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4947" href="#L4947">4947</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4948" href="#L4948">4948</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4949" href="#L4949">4949</a><span class="code-text">* [Passing the `--quiet` flag to a test runner will produce</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4950" href="#L4950">4950</a><span class="code-text">  much-abbreviated output][1.9q].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4951" href="#L4951">4951</a><span class="code-text">* The Rust Project now publishes std binaries for the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4952" href="#L4952">4952</a><span class="code-text">  `mips-unknown-linux-musl`, `mipsel-unknown-linux-musl`, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4953" href="#L4953">4953</a><span class="code-text">  `i586-pc-windows-msvc` targets.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4954" href="#L4954">4954</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4955" href="#L4955">4955</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4956" href="#L4956">4956</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4957" href="#L4957">4957</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4958" href="#L4958">4958</a><span class="code-text">* [`std::sync::Once` is poisoned if its initialization function</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4959" href="#L4959">4959</a><span class="code-text">  fails][1.9o].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4960" href="#L4960">4960</a><span class="code-text">* [It is illegal to define methods with the same name in overlapping</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4961" href="#L4961">4961</a><span class="code-text">  inherent `impl` blocks][1.9sn].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4962" href="#L4962">4962</a><span class="code-text">* [`fn` item types are zero sized, and each `fn` names a unique</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4963" href="#L4963">4963</a><span class="code-text">  type][1.9fn]. This will break code that transmutes `fn`s, so calling</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4964" href="#L4964">4964</a><span class="code-text">  `transmute` on a `fn` type will generate a warning for a few cycles,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4965" href="#L4965">4965</a><span class="code-text">  then will be converted to an error.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4966" href="#L4966">4966</a><span class="code-text">* [Improvements to const evaluation may trigger new errors when integer</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4967" href="#L4967">4967</a><span class="code-text">  literals are out of range][1.9ce].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4968" href="#L4968">4968</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4969" href="#L4969">4969</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4970" href="#L4970">4970</a><span class="code-text">[1.9bf]: https://github.com/rust-lang/rust/pull/32695</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4971" href="#L4971">4971</a><span class="code-text">[1.9cc]: https://github.com/rust-lang/cargo/pull/2486</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4972" href="#L4972">4972</a><span class="code-text">[1.9ce]: https://github.com/rust-lang/rust/pull/30587</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4973" href="#L4973">4973</a><span class="code-text">[1.9cf]: https://github.com/rust-lang/cargo/pull/2241</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4974" href="#L4974">4974</a><span class="code-text">[1.9ch]: https://github.com/rust-lang/rust/pull/32541</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4975" href="#L4975">4975</a><span class="code-text">[1.9cl]: https://github.com/rust-lang/rust/pull/31977</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4976" href="#L4976">4976</a><span class="code-text">[1.9cp]: https://github.com/rust-lang/cargo/pull/2465</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4977" href="#L4977">4977</a><span class="code-text">[1.9ct]: https://github.com/rust-lang/cargo/pull/2385</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4978" href="#L4978">4978</a><span class="code-text">[1.9cu]: https://github.com/rust-lang/rust/pull/32652</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4979" href="#L4979">4979</a><span class="code-text">[1.9db]: https://github.com/rust-lang/rust/pull/32054</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4980" href="#L4980">4980</a><span class="code-text">[1.9fi]: https://github.com/rust-lang/rust/pull/32050</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4981" href="#L4981">4981</a><span class="code-text">[1.9fn]: https://github.com/rust-lang/rust/pull/31710</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4982" href="#L4982">4982</a><span class="code-text">[1.9fv]: https://github.com/rust-lang/rust/pull/31938</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4983" href="#L4983">4983</a><span class="code-text">[1.9hc]: https://github.com/rust-lang/rust/pull/32635</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4984" href="#L4984">4984</a><span class="code-text">[1.9o]: https://github.com/rust-lang/rust/pull/32325</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4985" href="#L4985">4985</a><span class="code-text">[1.9q]: https://github.com/rust-lang/rust/pull/31887</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4986" href="#L4986">4986</a><span class="code-text">[1.9sk]: https://github.com/rust-lang/rust/pull/31700</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4987" href="#L4987">4987</a><span class="code-text">[1.9sn]: https://github.com/rust-lang/rust/pull/31925</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4988" href="#L4988">4988</a><span class="code-text">[1.9sp]: https://github.com/rust-lang/rust/pull/31618</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4989" href="#L4989">4989</a><span class="code-text">[1.9ta]: https://github.com/rust-lang/rust/pull/32448</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4990" href="#L4990">4990</a><span class="code-text">[1.9ts]: https://github.com/rust-lang/rust/pull/32586</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4991" href="#L4991">4991</a><span class="code-text">[1.9tu]: https://github.com/rust-lang/rust/pull/32062</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4992" href="#L4992">4992</a><span class="code-text">[1.9ws]: https://github.com/rust-lang/rust/pull/29734</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4993" href="#L4993">4993</a><span class="code-text">[RFC 1270]: https://github.com/rust-lang/rfcs/blob/master/text/1270-deprecation.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4994" href="#L4994">4994</a><span class="code-text">[`&lt;*const T&gt;::as_ref`]: http://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.as_ref</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4995" href="#L4995">4995</a><span class="code-text">[`&lt;*mut T&gt;::as_mut`]: http://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.as_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4996" href="#L4996">4996</a><span class="code-text">[`&lt;*mut T&gt;::as_ref`]: http://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.as_ref</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4997" href="#L4997">4997</a><span class="code-text">[`slice::copy_from_slice`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.copy_from_slice</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4998" href="#L4998">4998</a><span class="code-text">[`AsciiExt::make_ascii_lowercase`]: http://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#tymethod.make_ascii_lowercase</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L4999" href="#L4999">4999</a><span class="code-text">[`AsciiExt::make_ascii_uppercase`]: http://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#tymethod.make_ascii_uppercase</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5000" href="#L5000">5000</a><span class="code-text">[`BTreeSet::get`]: http://doc.rust-lang.org/nightly/collections/btree/set/struct.BTreeSet.html#method.get</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5001" href="#L5001">5001</a><span class="code-text">[`BTreeSet::replace`]: http://doc.rust-lang.org/nightly/collections/btree/set/struct.BTreeSet.html#method.replace</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5002" href="#L5002">5002</a><span class="code-text">[`BTreeSet::take`]: http://doc.rust-lang.org/nightly/collections/btree/set/struct.BTreeSet.html#method.take</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5003" href="#L5003">5003</a><span class="code-text">[`CommandExt::exec`]: http://doc.rust-lang.org/nightly/std/os/unix/process/trait.CommandExt.html#tymethod.exec</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5004" href="#L5004">5004</a><span class="code-text">[`File::try_clone`]: http://doc.rust-lang.org/nightly/std/fs/struct.File.html#method.try_clone</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5005" href="#L5005">5005</a><span class="code-text">[`HashMap::hasher`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashMap.html#method.hasher</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5006" href="#L5006">5006</a><span class="code-text">[`HashSet::get`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.get</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5007" href="#L5007">5007</a><span class="code-text">[`HashSet::hasher`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.hasher</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5008" href="#L5008">5008</a><span class="code-text">[`HashSet::replace`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.replace</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5009" href="#L5009">5009</a><span class="code-text">[`HashSet::take`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.take</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5010" href="#L5010">5010</a><span class="code-text">[`JoinHandleExt::as_pthread_t`]: http://doc.rust-lang.org/nightly/std/os/unix/thread/trait.JoinHandleExt.html#tymethod.as_pthread_t</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5011" href="#L5011">5011</a><span class="code-text">[`JoinHandleExt::into_pthread_t`]: http://doc.rust-lang.org/nightly/std/os/unix/thread/trait.JoinHandleExt.html#tymethod.into_pthread_t</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5012" href="#L5012">5012</a><span class="code-text">[`JoinHandleExt`]: http://doc.rust-lang.org/nightly/std/os/unix/thread/trait.JoinHandleExt.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5013" href="#L5013">5013</a><span class="code-text">[`OpenOptions::create_new`]: http://doc.rust-lang.org/nightly/std/fs/struct.OpenOptions.html#method.create_new</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5014" href="#L5014">5014</a><span class="code-text">[`OsStr::is_empty`]: http://doc.rust-lang.org/nightly/std/ffi/struct.OsStr.html#method.is_empty</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5015" href="#L5015">5015</a><span class="code-text">[`OsStr::len`]: http://doc.rust-lang.org/nightly/std/ffi/struct.OsStr.html#method.len</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5016" href="#L5016">5016</a><span class="code-text">[`OsString::capacity`]: http://doc.rust-lang.org/nightly/std/ffi/struct.OsString.html#method.capacity</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5017" href="#L5017">5017</a><span class="code-text">[`OsString::clear`]: http://doc.rust-lang.org/nightly/std/ffi/struct.OsString.html#method.clear</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5018" href="#L5018">5018</a><span class="code-text">[`OsString::reserve_exact`]: http://doc.rust-lang.org/nightly/std/ffi/struct.OsString.html#method.reserve_exact</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5019" href="#L5019">5019</a><span class="code-text">[`OsString::reserve`]: http://doc.rust-lang.org/nightly/std/ffi/struct.OsString.html#method.reserve</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5020" href="#L5020">5020</a><span class="code-text">[`OsString::with_capacity`]: http://doc.rust-lang.org/nightly/std/ffi/struct.OsString.html#method.with_capacity</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5021" href="#L5021">5021</a><span class="code-text">[`RawPthread`]: http://doc.rust-lang.org/nightly/std/os/unix/thread/type.RawPthread.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5022" href="#L5022">5022</a><span class="code-text">[`SocketAddr::set_ip`]: http://doc.rust-lang.org/nightly/std/net/enum.SocketAddr.html#method.set_ip</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5023" href="#L5023">5023</a><span class="code-text">[`SocketAddr::set_port`]: http://doc.rust-lang.org/nightly/std/net/enum.SocketAddr.html#method.set_port</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5024" href="#L5024">5024</a><span class="code-text">[`SocketAddrV4::set_ip`]: http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV4.html#method.set_ip</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5025" href="#L5025">5025</a><span class="code-text">[`SocketAddrV4::set_port`]: http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV4.html#method.set_port</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5026" href="#L5026">5026</a><span class="code-text">[`SocketAddrV6::set_flowinfo`]: http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV6.html#method.set_flowinfo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5027" href="#L5027">5027</a><span class="code-text">[`SocketAddrV6::set_ip`]: http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV6.html#method.set_ip</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5028" href="#L5028">5028</a><span class="code-text">[`SocketAddrV6::set_port`]: http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV6.html#method.set_port</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5029" href="#L5029">5029</a><span class="code-text">[`SocketAddrV6::set_scope_id`]: http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV6.html#method.set_scope_id</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5030" href="#L5030">5030</a><span class="code-text">[`TcpListener::only_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.only_v6</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5031" href="#L5031">5031</a><span class="code-text">[`TcpListener::set_nonblocking`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_nonblocking</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5032" href="#L5032">5032</a><span class="code-text">[`TcpListener::set_only_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_only_v6</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5033" href="#L5033">5033</a><span class="code-text">[`TcpListener::set_ttl`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_ttl</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5034" href="#L5034">5034</a><span class="code-text">[`TcpListener::take_error`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.take_error</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5035" href="#L5035">5035</a><span class="code-text">[`TcpListener::ttl`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.ttl</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5036" href="#L5036">5036</a><span class="code-text">[`TcpStream::nodelay`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.nodelay</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5037" href="#L5037">5037</a><span class="code-text">[`TcpStream::only_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.only_v6</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5038" href="#L5038">5038</a><span class="code-text">[`TcpStream::set_nodelay`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_nodelay</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5039" href="#L5039">5039</a><span class="code-text">[`TcpStream::set_nonblocking`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_nonblocking</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5040" href="#L5040">5040</a><span class="code-text">[`TcpStream::set_only_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_only_v6</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5041" href="#L5041">5041</a><span class="code-text">[`TcpStream::set_ttl`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_ttl</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5042" href="#L5042">5042</a><span class="code-text">[`TcpStream::take_error`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.take_error</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5043" href="#L5043">5043</a><span class="code-text">[`TcpStream::ttl`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.ttl</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5044" href="#L5044">5044</a><span class="code-text">[`UdpSocket::broadcast`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.broadcast</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5045" href="#L5045">5045</a><span class="code-text">[`UdpSocket::connect`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.connect</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5046" href="#L5046">5046</a><span class="code-text">[`UdpSocket::join_multicast_v4`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.join_multicast_v4</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5047" href="#L5047">5047</a><span class="code-text">[`UdpSocket::join_multicast_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.join_multicast_v6</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5048" href="#L5048">5048</a><span class="code-text">[`UdpSocket::leave_multicast_v4`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.leave_multicast_v4</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5049" href="#L5049">5049</a><span class="code-text">[`UdpSocket::leave_multicast_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.leave_multicast_v6</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5050" href="#L5050">5050</a><span class="code-text">[`UdpSocket::multicast_loop_v4`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.multicast_loop_v4</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5051" href="#L5051">5051</a><span class="code-text">[`UdpSocket::multicast_loop_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.multicast_loop_v6</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5052" href="#L5052">5052</a><span class="code-text">[`UdpSocket::multicast_ttl_v4`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.multicast_ttl_v4</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5053" href="#L5053">5053</a><span class="code-text">[`UdpSocket::multicast_ttl_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.multicast_ttl_v6</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5054" href="#L5054">5054</a><span class="code-text">[`UdpSocket::only_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.only_v6</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5055" href="#L5055">5055</a><span class="code-text">[`UdpSocket::recv`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.recv</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5056" href="#L5056">5056</a><span class="code-text">[`UdpSocket::send`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.send</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5057" href="#L5057">5057</a><span class="code-text">[`UdpSocket::set_broadcast`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_broadcast</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5058" href="#L5058">5058</a><span class="code-text">[`UdpSocket::set_multicast_loop_v4`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_multicast_loop_v4</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5059" href="#L5059">5059</a><span class="code-text">[`UdpSocket::set_multicast_loop_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_multicast_loop_v6</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5060" href="#L5060">5060</a><span class="code-text">[`UdpSocket::set_multicast_ttl_v4`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_multicast_ttl_v4</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5061" href="#L5061">5061</a><span class="code-text">[`UdpSocket::set_multicast_ttl_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_multicast_ttl_v6</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5062" href="#L5062">5062</a><span class="code-text">[`UdpSocket::set_nonblocking`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_nonblocking</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5063" href="#L5063">5063</a><span class="code-text">[`UdpSocket::set_only_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_only_v6</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5064" href="#L5064">5064</a><span class="code-text">[`UdpSocket::set_ttl`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_ttl</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5065" href="#L5065">5065</a><span class="code-text">[`UdpSocket::take_error`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.take_error</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5066" href="#L5066">5066</a><span class="code-text">[`UdpSocket::ttl`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.ttl</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5067" href="#L5067">5067</a><span class="code-text">[`char::DecodeUtf16Error::unpaired_surrogate`]: http://doc.rust-lang.org/nightly/std/char/struct.DecodeUtf16Error.html#method.unpaired_surrogate</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5068" href="#L5068">5068</a><span class="code-text">[`char::DecodeUtf16Error`]: http://doc.rust-lang.org/nightly/std/char/struct.DecodeUtf16Error.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5069" href="#L5069">5069</a><span class="code-text">[`char::DecodeUtf16`]: http://doc.rust-lang.org/nightly/std/char/struct.DecodeUtf16.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5070" href="#L5070">5070</a><span class="code-text">[`char::decode_utf16`]: http://doc.rust-lang.org/nightly/std/char/fn.decode_utf16.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5071" href="#L5071">5071</a><span class="code-text">[`ptr::read_volatile`]: http://doc.rust-lang.org/nightly/std/ptr/fn.read_volatile.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5072" href="#L5072">5072</a><span class="code-text">[`ptr::write_volatile`]: http://doc.rust-lang.org/nightly/std/ptr/fn.write_volatile.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5073" href="#L5073">5073</a><span class="code-text">[`std::os::unix::thread`]: http://doc.rust-lang.org/nightly/std/os/unix/thread/index.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5074" href="#L5074">5074</a><span class="code-text">[`std::panic::AssertUnwindSafe`]: http://doc.rust-lang.org/nightly/std/panic/struct.AssertUnwindSafe.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5075" href="#L5075">5075</a><span class="code-text">[`std::panic::UnwindSafe`]: http://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5076" href="#L5076">5076</a><span class="code-text">[`std::panic::catch_unwind`]: http://doc.rust-lang.org/nightly/std/panic/fn.catch_unwind.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5077" href="#L5077">5077</a><span class="code-text">[`std::panic::resume_unwind`]: http://doc.rust-lang.org/nightly/std/panic/fn.resume_unwind.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5078" href="#L5078">5078</a><span class="code-text">[`std::panic`]: http://doc.rust-lang.org/nightly/std/panic/index.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5079" href="#L5079">5079</a><span class="code-text">[`str::is_char_boundary`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.is_char_boundary</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5080" href="#L5080">5080</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5081" href="#L5081">5081</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5082" href="#L5082">5082</a><span class="code-text">Version 1.8.0 (2016-04-14)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5083" href="#L5083">5083</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5084" href="#L5084">5084</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5085" href="#L5085">5085</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5086" href="#L5086">5086</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5087" href="#L5087">5087</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5088" href="#L5088">5088</a><span class="code-text">* Rust supports overloading of compound assignment statements like</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5089" href="#L5089">5089</a><span class="code-text">  `+=` by implementing the [`AddAssign`], [`SubAssign`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5090" href="#L5090">5090</a><span class="code-text">  [`MulAssign`], [`DivAssign`], [`RemAssign`], [`BitAndAssign`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5091" href="#L5091">5091</a><span class="code-text">  [`BitOrAssign`], [`BitXorAssign`], [`ShlAssign`], or [`ShrAssign`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5092" href="#L5092">5092</a><span class="code-text">  traits. [RFC 953].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5093" href="#L5093">5093</a><span class="code-text">* Empty structs can be defined with braces, as in `struct Foo { }`, in</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5094" href="#L5094">5094</a><span class="code-text">  addition to the non-braced form, `struct Foo;`. [RFC 218].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5095" href="#L5095">5095</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5096" href="#L5096">5096</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5097" href="#L5097">5097</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5098" href="#L5098">5098</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5099" href="#L5099">5099</a><span class="code-text">* Stabilized APIs:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5100" href="#L5100">5100</a><span class="code-text">  * [`str::encode_utf16`][] (renamed from `utf16_units`)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5101" href="#L5101">5101</a><span class="code-text">  * [`str::EncodeUtf16`][] (renamed from `Utf16Units`)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5102" href="#L5102">5102</a><span class="code-text">  * [`Ref::map`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5103" href="#L5103">5103</a><span class="code-text">  * [`RefMut::map`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5104" href="#L5104">5104</a><span class="code-text">  * [`ptr::drop_in_place`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5105" href="#L5105">5105</a><span class="code-text">  * [`time::Instant`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5106" href="#L5106">5106</a><span class="code-text">  * [`time::SystemTime`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5107" href="#L5107">5107</a><span class="code-text">  * [`Instant::now`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5108" href="#L5108">5108</a><span class="code-text">  * [`Instant::duration_since`][] (renamed from `duration_from_earlier`)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5109" href="#L5109">5109</a><span class="code-text">  * [`Instant::elapsed`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5110" href="#L5110">5110</a><span class="code-text">  * [`SystemTime::now`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5111" href="#L5111">5111</a><span class="code-text">  * [`SystemTime::duration_since`][] (renamed from `duration_from_earlier`)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5112" href="#L5112">5112</a><span class="code-text">  * [`SystemTime::elapsed`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5113" href="#L5113">5113</a><span class="code-text">  * Various `Add`/`Sub` impls for `Time` and `SystemTime`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5114" href="#L5114">5114</a><span class="code-text">  * [`SystemTimeError`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5115" href="#L5115">5115</a><span class="code-text">  * [`SystemTimeError::duration`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5116" href="#L5116">5116</a><span class="code-text">  * Various impls for `SystemTimeError`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5117" href="#L5117">5117</a><span class="code-text">  * [`UNIX_EPOCH`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5118" href="#L5118">5118</a><span class="code-text">  * [`AddAssign`], [`SubAssign`], [`MulAssign`], [`DivAssign`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5119" href="#L5119">5119</a><span class="code-text">    [`RemAssign`], [`BitAndAssign`], [`BitOrAssign`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5120" href="#L5120">5120</a><span class="code-text">    [`BitXorAssign`], [`ShlAssign`], [`ShrAssign`].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5121" href="#L5121">5121</a><span class="code-text">* [The `write!` and `writeln!` macros correctly emit errors if any of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5122" href="#L5122">5122</a><span class="code-text">  their arguments can't be formatted][1.8w].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5123" href="#L5123">5123</a><span class="code-text">* [Various I/O functions support large files on 32-bit Linux][1.8l].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5124" href="#L5124">5124</a><span class="code-text">* [The Unix-specific `raw` modules, which contain a number of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5125" href="#L5125">5125</a><span class="code-text">  redefined C types are deprecated][1.8r], including `os::raw::unix`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5126" href="#L5126">5126</a><span class="code-text">  `os::raw::macos`, and `os::raw::linux`. These modules defined types</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5127" href="#L5127">5127</a><span class="code-text">  such as `ino_t` and `dev_t`. The inconsistency of these definitions</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5128" href="#L5128">5128</a><span class="code-text">  across platforms was making it difficult to implement `std`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5129" href="#L5129">5129</a><span class="code-text">  correctly. Those that need these definitions should use the `libc`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5130" href="#L5130">5130</a><span class="code-text">  crate. [RFC 1415].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5131" href="#L5131">5131</a><span class="code-text">* The Unix-specific `MetadataExt` traits, including</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5132" href="#L5132">5132</a><span class="code-text">  `os::unix::fs::MetadataExt`, which expose values such as inode</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5133" href="#L5133">5133</a><span class="code-text">  numbers [no longer return platform-specific types][1.8r], but</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5134" href="#L5134">5134</a><span class="code-text">  instead return widened integers. [RFC 1415].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5135" href="#L5135">5135</a><span class="code-text">* [`btree_set::{IntoIter, Iter, Range}` are covariant][1.8cv].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5136" href="#L5136">5136</a><span class="code-text">* [Atomic loads and stores are not volatile][1.8a].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5137" href="#L5137">5137</a><span class="code-text">* [All types in `sync::mpsc` implement `fmt::Debug`][1.8mp].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5138" href="#L5138">5138</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5139" href="#L5139">5139</a><span class="code-text">Performance</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5140" href="#L5140">5140</a><span class="code-text">-----------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5141" href="#L5141">5141</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5142" href="#L5142">5142</a><span class="code-text">* [Inlining hash functions lead to a 3% compile-time improvement in</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5143" href="#L5143">5143</a><span class="code-text">  some workloads][1.8h].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5144" href="#L5144">5144</a><span class="code-text">* When using jemalloc, its symbols are [unprefixed so that it</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5145" href="#L5145">5145</a><span class="code-text">  overrides the libc malloc implementation][1.8h]. This means that for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5146" href="#L5146">5146</a><span class="code-text">  rustc, LLVM is now using jemalloc, which results in a 6%</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5147" href="#L5147">5147</a><span class="code-text">  compile-time improvement on a specific workload.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5148" href="#L5148">5148</a><span class="code-text">* [Avoid quadratic growth in function size due to cleanups][1.8cu].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5149" href="#L5149">5149</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5150" href="#L5150">5150</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5151" href="#L5151">5151</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5152" href="#L5152">5152</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5153" href="#L5153">5153</a><span class="code-text">* [32-bit MSVC builds finally implement unwinding][1.8ms].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5154" href="#L5154">5154</a><span class="code-text">  i686-pc-windows-msvc is now considered a tier-1 platform.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5155" href="#L5155">5155</a><span class="code-text">* [The `--print targets` flag prints a list of supported targets][1.8t].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5156" href="#L5156">5156</a><span class="code-text">* [The `--print cfg` flag prints the `cfg`s defined for the current</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5157" href="#L5157">5157</a><span class="code-text">  target][1.8cf].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5158" href="#L5158">5158</a><span class="code-text">* [`rustc` can be built with an new Cargo-based build system, written</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5159" href="#L5159">5159</a><span class="code-text">  in Rust][1.8b].  It will eventually replace Rust's Makefile-based</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5160" href="#L5160">5160</a><span class="code-text">  build system. To enable it configure with `configure --rustbuild`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5161" href="#L5161">5161</a><span class="code-text">* [Errors for non-exhaustive `match` patterns now list up to 3 missing</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5162" href="#L5162">5162</a><span class="code-text">  variants while also indicating the total number of missing variants</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5163" href="#L5163">5163</a><span class="code-text">  if more than 3][1.8m].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5164" href="#L5164">5164</a><span class="code-text">* [Executable stacks are disabled on Linux and BSD][1.8nx].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5165" href="#L5165">5165</a><span class="code-text">* The Rust Project now publishes binary releases of the standard</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5166" href="#L5166">5166</a><span class="code-text">  library for a number of tier-2 targets:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5167" href="#L5167">5167</a><span class="code-text">  `armv7-unknown-linux-gnueabihf`, `powerpc-unknown-linux-gnu`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5168" href="#L5168">5168</a><span class="code-text">  `powerpc64-unknown-linux-gnu`, `powerpc64le-unknown-linux-gnu`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5169" href="#L5169">5169</a><span class="code-text">  `x86_64-rumprun-netbsd`. These can be installed with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5170" href="#L5170">5170</a><span class="code-text">  tools such as [multirust][1.8mr].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5171" href="#L5171">5171</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5172" href="#L5172">5172</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5173" href="#L5173">5173</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5174" href="#L5174">5174</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5175" href="#L5175">5175</a><span class="code-text">* [`cargo init` creates a new Cargo project in the current</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5176" href="#L5176">5176</a><span class="code-text">  directory][1.8ci].  It is otherwise like `cargo new`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5177" href="#L5177">5177</a><span class="code-text">* [Cargo has configuration keys for `-v` and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5178" href="#L5178">5178</a><span class="code-text">  `--color`][1.8cc]. `verbose` and `color`, respectively, go in the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5179" href="#L5179">5179</a><span class="code-text">  `[term]` section of `.cargo/config`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5180" href="#L5180">5180</a><span class="code-text">* [Configuration keys that evaluate to strings or integers can be set</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5181" href="#L5181">5181</a><span class="code-text">  via environment variables][1.8ce]. For example the `build.jobs` key</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5182" href="#L5182">5182</a><span class="code-text">  can be set via `CARGO_BUILD_JOBS`. Environment variables take</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5183" href="#L5183">5183</a><span class="code-text">  precedence over config files.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5184" href="#L5184">5184</a><span class="code-text">* [Target-specific dependencies support Rust `cfg` syntax for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5185" href="#L5185">5185</a><span class="code-text">  describing targets][1.8cfg] so that dependencies for multiple</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5186" href="#L5186">5186</a><span class="code-text">  targets can be specified together. [RFC 1361].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5187" href="#L5187">5187</a><span class="code-text">* [The environment variables `CARGO_TARGET_ROOT`, `RUSTC`, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5188" href="#L5188">5188</a><span class="code-text">  `RUSTDOC` take precedence over the `build.target-dir`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5189" href="#L5189">5189</a><span class="code-text">  `build.rustc`, and `build.rustdoc` configuration values][1.8cv].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5190" href="#L5190">5190</a><span class="code-text">* [The child process tree is killed on Windows when Cargo is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5191" href="#L5191">5191</a><span class="code-text">  killed][1.8ck].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5192" href="#L5192">5192</a><span class="code-text">* [The `build.target` configuration value sets the target platform,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5193" href="#L5193">5193</a><span class="code-text">  like `--target`][1.8ct].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5194" href="#L5194">5194</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5195" href="#L5195">5195</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5196" href="#L5196">5196</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5197" href="#L5197">5197</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5198" href="#L5198">5198</a><span class="code-text">* [Unstable compiler flags have been further restricted][1.8u]. Since</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5199" href="#L5199">5199</a><span class="code-text">  1.0 `-Z` flags have been considered unstable, and other flags that</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5200" href="#L5200">5200</a><span class="code-text">  were considered unstable additionally required passing `-Z</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5201" href="#L5201">5201</a><span class="code-text">  unstable-options` to access. Unlike unstable language and library</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5202" href="#L5202">5202</a><span class="code-text">  features though, these options have been accessible on the stable</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5203" href="#L5203">5203</a><span class="code-text">  release channel. Going forward, *new unstable flags will not be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5204" href="#L5204">5204</a><span class="code-text">  available on the stable release channel*, and old unstable flags</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5205" href="#L5205">5205</a><span class="code-text">  will warn about their usage. In the future, all unstable flags will</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5206" href="#L5206">5206</a><span class="code-text">  be unavailable on the stable release channel.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5207" href="#L5207">5207</a><span class="code-text">* [It is no longer possible to `match` on empty enum variants using</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5208" href="#L5208">5208</a><span class="code-text">  the `Variant(..)` syntax][1.8v]. This has been a warning since 1.6.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5209" href="#L5209">5209</a><span class="code-text">* The Unix-specific `MetadataExt` traits, including</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5210" href="#L5210">5210</a><span class="code-text">  `os::unix::fs::MetadataExt`, which expose values such as inode</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5211" href="#L5211">5211</a><span class="code-text">  numbers [no longer return platform-specific types][1.8r], but</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5212" href="#L5212">5212</a><span class="code-text">  instead return widened integers. [RFC 1415].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5213" href="#L5213">5213</a><span class="code-text">* [Modules sourced from the filesystem cannot appear within arbitrary</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5214" href="#L5214">5214</a><span class="code-text">  blocks, but only within other modules][1.8mf].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5215" href="#L5215">5215</a><span class="code-text">* [`--cfg` compiler flags are parsed strictly as identifiers][1.8c].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5216" href="#L5216">5216</a><span class="code-text">* On Unix, [stack overflow triggers a runtime abort instead of a</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5217" href="#L5217">5217</a><span class="code-text">  SIGSEGV][1.8so].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5218" href="#L5218">5218</a><span class="code-text">* [`Command::spawn` and its equivalents return an error if any of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5219" href="#L5219">5219</a><span class="code-text">  its command-line arguments contain interior `NUL`s][1.8n].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5220" href="#L5220">5220</a><span class="code-text">* [Tuple and unit enum variants from other crates are in the type</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5221" href="#L5221">5221</a><span class="code-text">  namespace][1.8tn].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5222" href="#L5222">5222</a><span class="code-text">* [On Windows `rustc` emits `.lib` files for the `staticlib` library</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5223" href="#L5223">5223</a><span class="code-text">  type instead of `.a` files][1.8st]. Additionally, for the MSVC</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5224" href="#L5224">5224</a><span class="code-text">  toolchain, `rustc` emits import libraries named `foo.dll.lib`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5225" href="#L5225">5225</a><span class="code-text">  instead of `foo.lib`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5226" href="#L5226">5226</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5227" href="#L5227">5227</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5228" href="#L5228">5228</a><span class="code-text">[1.8a]: https://github.com/rust-lang/rust/pull/30962</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5229" href="#L5229">5229</a><span class="code-text">[1.8b]: https://github.com/rust-lang/rust/pull/31123</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5230" href="#L5230">5230</a><span class="code-text">[1.8c]: https://github.com/rust-lang/rust/pull/31530</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5231" href="#L5231">5231</a><span class="code-text">[1.8cc]: https://github.com/rust-lang/cargo/pull/2397</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5232" href="#L5232">5232</a><span class="code-text">[1.8ce]: https://github.com/rust-lang/cargo/pull/2398</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5233" href="#L5233">5233</a><span class="code-text">[1.8cf]: https://github.com/rust-lang/rust/pull/31278</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5234" href="#L5234">5234</a><span class="code-text">[1.8cfg]: https://github.com/rust-lang/cargo/pull/2328</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5235" href="#L5235">5235</a><span class="code-text">[1.8ci]: https://github.com/rust-lang/cargo/pull/2081</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5236" href="#L5236">5236</a><span class="code-text">[1.8ck]: https://github.com/rust-lang/cargo/pull/2370</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5237" href="#L5237">5237</a><span class="code-text">[1.8ct]: https://github.com/rust-lang/cargo/pull/2335</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5238" href="#L5238">5238</a><span class="code-text">[1.8cu]: https://github.com/rust-lang/rust/pull/31390</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5239" href="#L5239">5239</a><span class="code-text">[1.8cv]: https://github.com/rust-lang/cargo/issues/2365</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5240" href="#L5240">5240</a><span class="code-text">[1.8cv]: https://github.com/rust-lang/rust/pull/30998</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5241" href="#L5241">5241</a><span class="code-text">[1.8h]: https://github.com/rust-lang/rust/pull/31460</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5242" href="#L5242">5242</a><span class="code-text">[1.8l]: https://github.com/rust-lang/rust/pull/31668</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5243" href="#L5243">5243</a><span class="code-text">[1.8m]: https://github.com/rust-lang/rust/pull/31020</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5244" href="#L5244">5244</a><span class="code-text">[1.8mf]: https://github.com/rust-lang/rust/pull/31534</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5245" href="#L5245">5245</a><span class="code-text">[1.8mp]: https://github.com/rust-lang/rust/pull/30894</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5246" href="#L5246">5246</a><span class="code-text">[1.8mr]: https://users.rust-lang.org/t/multirust-0-8-with-cross-std-installation/4901</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5247" href="#L5247">5247</a><span class="code-text">[1.8ms]: https://github.com/rust-lang/rust/pull/30448</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5248" href="#L5248">5248</a><span class="code-text">[1.8n]: https://github.com/rust-lang/rust/pull/31056</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5249" href="#L5249">5249</a><span class="code-text">[1.8nx]: https://github.com/rust-lang/rust/pull/30859</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5250" href="#L5250">5250</a><span class="code-text">[1.8r]: https://github.com/rust-lang/rust/pull/31551</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5251" href="#L5251">5251</a><span class="code-text">[1.8so]: https://github.com/rust-lang/rust/pull/31333</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5252" href="#L5252">5252</a><span class="code-text">[1.8st]: https://github.com/rust-lang/rust/pull/29520</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5253" href="#L5253">5253</a><span class="code-text">[1.8t]: https://github.com/rust-lang/rust/pull/31358</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5254" href="#L5254">5254</a><span class="code-text">[1.8tn]: https://github.com/rust-lang/rust/pull/30882</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5255" href="#L5255">5255</a><span class="code-text">[1.8u]: https://github.com/rust-lang/rust/pull/31793</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5256" href="#L5256">5256</a><span class="code-text">[1.8v]: https://github.com/rust-lang/rust/pull/31757</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5257" href="#L5257">5257</a><span class="code-text">[1.8w]: https://github.com/rust-lang/rust/pull/31904</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5258" href="#L5258">5258</a><span class="code-text">[RFC 1361]: https://github.com/rust-lang/rfcs/blob/master/text/1361-cargo-cfg-dependencies.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5259" href="#L5259">5259</a><span class="code-text">[RFC 1415]: https://github.com/rust-lang/rfcs/blob/master/text/1415-trim-std-os.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5260" href="#L5260">5260</a><span class="code-text">[RFC 218]: https://github.com/rust-lang/rfcs/blob/master/text/0218-empty-struct-with-braces.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5261" href="#L5261">5261</a><span class="code-text">[RFC 953]: https://github.com/rust-lang/rfcs/blob/master/text/0953-op-assign.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5262" href="#L5262">5262</a><span class="code-text">[`AddAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.AddAssign.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5263" href="#L5263">5263</a><span class="code-text">[`BitAndAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.BitAndAssign.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5264" href="#L5264">5264</a><span class="code-text">[`BitOrAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.BitOrAssign.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5265" href="#L5265">5265</a><span class="code-text">[`BitXorAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.BitXorAssign.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5266" href="#L5266">5266</a><span class="code-text">[`DivAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.DivAssign.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5267" href="#L5267">5267</a><span class="code-text">[`Instant::duration_since`]: http://doc.rust-lang.org/nightly/std/time/struct.Instant.html#method.duration_since</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5268" href="#L5268">5268</a><span class="code-text">[`Instant::elapsed`]: http://doc.rust-lang.org/nightly/std/time/struct.Instant.html#method.elapsed</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5269" href="#L5269">5269</a><span class="code-text">[`Instant::now`]: http://doc.rust-lang.org/nightly/std/time/struct.Instant.html#method.now</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5270" href="#L5270">5270</a><span class="code-text">[`MulAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.MulAssign.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5271" href="#L5271">5271</a><span class="code-text">[`Ref::map`]: http://doc.rust-lang.org/nightly/std/cell/struct.Ref.html#method.map</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5272" href="#L5272">5272</a><span class="code-text">[`RefMut::map`]: http://doc.rust-lang.org/nightly/std/cell/struct.RefMut.html#method.map</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5273" href="#L5273">5273</a><span class="code-text">[`RemAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.RemAssign.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5274" href="#L5274">5274</a><span class="code-text">[`ShlAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.ShlAssign.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5275" href="#L5275">5275</a><span class="code-text">[`ShrAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.ShrAssign.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5276" href="#L5276">5276</a><span class="code-text">[`SubAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.SubAssign.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5277" href="#L5277">5277</a><span class="code-text">[`SystemTime::duration_since`]: http://doc.rust-lang.org/nightly/std/time/struct.SystemTime.html#method.duration_since</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5278" href="#L5278">5278</a><span class="code-text">[`SystemTime::elapsed`]: http://doc.rust-lang.org/nightly/std/time/struct.SystemTime.html#method.elapsed</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5279" href="#L5279">5279</a><span class="code-text">[`SystemTime::now`]: http://doc.rust-lang.org/nightly/std/time/struct.SystemTime.html#method.now</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5280" href="#L5280">5280</a><span class="code-text">[`SystemTimeError::duration`]: http://doc.rust-lang.org/nightly/std/time/struct.SystemTimeError.html#method.duration</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5281" href="#L5281">5281</a><span class="code-text">[`SystemTimeError`]: http://doc.rust-lang.org/nightly/std/time/struct.SystemTimeError.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5282" href="#L5282">5282</a><span class="code-text">[`UNIX_EPOCH`]: http://doc.rust-lang.org/nightly/std/time/constant.UNIX_EPOCH.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5283" href="#L5283">5283</a><span class="code-text">[`ptr::drop_in_place`]: http://doc.rust-lang.org/nightly/std/ptr/fn.drop_in_place.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5284" href="#L5284">5284</a><span class="code-text">[`str::EncodeUtf16`]: http://doc.rust-lang.org/nightly/std/str/struct.EncodeUtf16.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5285" href="#L5285">5285</a><span class="code-text">[`str::encode_utf16`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.encode_utf16</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5286" href="#L5286">5286</a><span class="code-text">[`time::Instant`]: http://doc.rust-lang.org/nightly/std/time/struct.Instant.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5287" href="#L5287">5287</a><span class="code-text">[`time::SystemTime`]: http://doc.rust-lang.org/nightly/std/time/struct.SystemTime.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5288" href="#L5288">5288</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5289" href="#L5289">5289</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5290" href="#L5290">5290</a><span class="code-text">Version 1.7.0 (2016-03-03)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5291" href="#L5291">5291</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5292" href="#L5292">5292</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5293" href="#L5293">5293</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5294" href="#L5294">5294</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5295" href="#L5295">5295</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5296" href="#L5296">5296</a><span class="code-text">* Stabilized APIs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5297" href="#L5297">5297</a><span class="code-text">  * `Path`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5298" href="#L5298">5298</a><span class="code-text">    * [`Path::strip_prefix`][] (renamed from relative_from)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5299" href="#L5299">5299</a><span class="code-text">    * [`path::StripPrefixError`][] (new error type returned from strip_prefix)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5300" href="#L5300">5300</a><span class="code-text">  * `Ipv4Addr`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5301" href="#L5301">5301</a><span class="code-text">    * [`Ipv4Addr::is_loopback`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5302" href="#L5302">5302</a><span class="code-text">    * [`Ipv4Addr::is_private`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5303" href="#L5303">5303</a><span class="code-text">    * [`Ipv4Addr::is_link_local`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5304" href="#L5304">5304</a><span class="code-text">    * [`Ipv4Addr::is_multicast`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5305" href="#L5305">5305</a><span class="code-text">    * [`Ipv4Addr::is_broadcast`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5306" href="#L5306">5306</a><span class="code-text">    * [`Ipv4Addr::is_documentation`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5307" href="#L5307">5307</a><span class="code-text">  * `Ipv6Addr`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5308" href="#L5308">5308</a><span class="code-text">    * [`Ipv6Addr::is_unspecified`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5309" href="#L5309">5309</a><span class="code-text">    * [`Ipv6Addr::is_loopback`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5310" href="#L5310">5310</a><span class="code-text">    * [`Ipv6Addr::is_multicast`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5311" href="#L5311">5311</a><span class="code-text">  * `Vec`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5312" href="#L5312">5312</a><span class="code-text">    * [`Vec::as_slice`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5313" href="#L5313">5313</a><span class="code-text">    * [`Vec::as_mut_slice`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5314" href="#L5314">5314</a><span class="code-text">  * `String`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5315" href="#L5315">5315</a><span class="code-text">    * [`String::as_str`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5316" href="#L5316">5316</a><span class="code-text">    * [`String::as_mut_str`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5317" href="#L5317">5317</a><span class="code-text">  * Slices</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5318" href="#L5318">5318</a><span class="code-text">    * `&lt;[T]&gt;::`[`clone_from_slice`], which now requires the two slices to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5319" href="#L5319">5319</a><span class="code-text">    be the same length</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5320" href="#L5320">5320</a><span class="code-text">    * `&lt;[T]&gt;::`[`sort_by_key`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5321" href="#L5321">5321</a><span class="code-text">  * checked, saturated, and overflowing operations</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5322" href="#L5322">5322</a><span class="code-text">    * [`i32::checked_rem`], [`i32::checked_neg`], [`i32::checked_shl`], [`i32::checked_shr`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5323" href="#L5323">5323</a><span class="code-text">    * [`i32::saturating_mul`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5324" href="#L5324">5324</a><span class="code-text">    * [`i32::overflowing_add`], [`i32::overflowing_sub`], [`i32::overflowing_mul`], [`i32::overflowing_div`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5325" href="#L5325">5325</a><span class="code-text">    * [`i32::overflowing_rem`], [`i32::overflowing_neg`], [`i32::overflowing_shl`], [`i32::overflowing_shr`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5326" href="#L5326">5326</a><span class="code-text">    * [`u32::checked_rem`], [`u32::checked_neg`], [`u32::checked_shl`], [`u32::checked_shl`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5327" href="#L5327">5327</a><span class="code-text">    * [`u32::saturating_mul`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5328" href="#L5328">5328</a><span class="code-text">    * [`u32::overflowing_add`], [`u32::overflowing_sub`], [`u32::overflowing_mul`], [`u32::overflowing_div`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5329" href="#L5329">5329</a><span class="code-text">    * [`u32::overflowing_rem`], [`u32::overflowing_neg`], [`u32::overflowing_shl`], [`u32::overflowing_shr`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5330" href="#L5330">5330</a><span class="code-text">    * and checked, saturated, and overflowing operations for other primitive types</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5331" href="#L5331">5331</a><span class="code-text">  * FFI</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5332" href="#L5332">5332</a><span class="code-text">    * [`ffi::IntoStringError`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5333" href="#L5333">5333</a><span class="code-text">    * [`CString::into_string`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5334" href="#L5334">5334</a><span class="code-text">    * [`CString::into_bytes`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5335" href="#L5335">5335</a><span class="code-text">    * [`CString::into_bytes_with_nul`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5336" href="#L5336">5336</a><span class="code-text">    * `From&lt;CString&gt; for Vec&lt;u8&gt;`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5337" href="#L5337">5337</a><span class="code-text">  * `IntoStringError`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5338" href="#L5338">5338</a><span class="code-text">    * [`IntoStringError::into_cstring`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5339" href="#L5339">5339</a><span class="code-text">    * [`IntoStringError::utf8_error`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5340" href="#L5340">5340</a><span class="code-text">    * `Error for IntoStringError`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5341" href="#L5341">5341</a><span class="code-text">  * Hashing</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5342" href="#L5342">5342</a><span class="code-text">    * [`std::hash::BuildHasher`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5343" href="#L5343">5343</a><span class="code-text">    * [`BuildHasher::Hasher`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5344" href="#L5344">5344</a><span class="code-text">    * [`BuildHasher::build_hasher`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5345" href="#L5345">5345</a><span class="code-text">    * [`std::hash::BuildHasherDefault`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5346" href="#L5346">5346</a><span class="code-text">    * [`HashMap::with_hasher`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5347" href="#L5347">5347</a><span class="code-text">    * [`HashMap::with_capacity_and_hasher`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5348" href="#L5348">5348</a><span class="code-text">    * [`HashSet::with_hasher`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5349" href="#L5349">5349</a><span class="code-text">    * [`HashSet::with_capacity_and_hasher`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5350" href="#L5350">5350</a><span class="code-text">    * [`std::collections::hash_map::RandomState`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5351" href="#L5351">5351</a><span class="code-text">    * [`RandomState::new`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5352" href="#L5352">5352</a><span class="code-text">* [Validating UTF-8 is faster by a factor of between 7 and 14x for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5353" href="#L5353">5353</a><span class="code-text">  ASCII input][1.7utf8]. This means that creating `String`s and `str`s</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5354" href="#L5354">5354</a><span class="code-text">  from bytes is faster.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5355" href="#L5355">5355</a><span class="code-text">* [The performance of `LineWriter` (and thus `io::stdout`) was</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5356" href="#L5356">5356</a><span class="code-text">  improved by using `memchr` to search for newlines][1.7m].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5357" href="#L5357">5357</a><span class="code-text">* [`f32::to_degrees` and `f32::to_radians` are stable][1.7f]. The</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5358" href="#L5358">5358</a><span class="code-text">  `f64` variants were stabilized previously.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5359" href="#L5359">5359</a><span class="code-text">* [`BTreeMap` was rewritten to use less memory and improve the performance</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5360" href="#L5360">5360</a><span class="code-text">  of insertion and iteration, the latter by as much as 5x][1.7bm].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5361" href="#L5361">5361</a><span class="code-text">* [`BTreeSet` and its iterators, `Iter`, `IntoIter`, and `Range` are</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5362" href="#L5362">5362</a><span class="code-text">  covariant over their contained type][1.7bt].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5363" href="#L5363">5363</a><span class="code-text">* [`LinkedList` and its iterators, `Iter` and `IntoIter` are covariant</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5364" href="#L5364">5364</a><span class="code-text">  over their contained type][1.7ll].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5365" href="#L5365">5365</a><span class="code-text">* [`str::replace` now accepts a `Pattern`][1.7rp], like other string</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5366" href="#L5366">5366</a><span class="code-text">  searching methods.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5367" href="#L5367">5367</a><span class="code-text">* [`Any` is implemented for unsized types][1.7a].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5368" href="#L5368">5368</a><span class="code-text">* [`Hash` is implemented for `Duration`][1.7h].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5369" href="#L5369">5369</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5370" href="#L5370">5370</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5371" href="#L5371">5371</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5372" href="#L5372">5372</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5373" href="#L5373">5373</a><span class="code-text">* [When running tests with `--test`, rustdoc will pass `--cfg`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5374" href="#L5374">5374</a><span class="code-text">  arguments to the compiler][1.7dt].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5375" href="#L5375">5375</a><span class="code-text">* [The compiler is built with RPATH information by default][1.7rpa].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5376" href="#L5376">5376</a><span class="code-text">  This means that it will be possible to run `rustc` when installed in</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5377" href="#L5377">5377</a><span class="code-text">  unusual configurations without configuring the dynamic linker search</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5378" href="#L5378">5378</a><span class="code-text">  path explicitly.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5379" href="#L5379">5379</a><span class="code-text">* [`rustc` passes `--enable-new-dtags` to GNU ld][1.7dta]. This makes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5380" href="#L5380">5380</a><span class="code-text">  any RPATH entries (emitted with `-C rpath`) *not* take precedence</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5381" href="#L5381">5381</a><span class="code-text">  over `LD_LIBRARY_PATH`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5382" href="#L5382">5382</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5383" href="#L5383">5383</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5384" href="#L5384">5384</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5385" href="#L5385">5385</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5386" href="#L5386">5386</a><span class="code-text">* [`cargo rustc` accepts a `--profile` flag that runs `rustc` under</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5387" href="#L5387">5387</a><span class="code-text">  any of the compilation profiles, 'dev', 'bench', or 'test'][1.7cp].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5388" href="#L5388">5388</a><span class="code-text">* [The `rerun-if-changed` build script directive no longer causes the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5389" href="#L5389">5389</a><span class="code-text">  build script to incorrectly run twice in certain scenarios][1.7rr].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5390" href="#L5390">5390</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5391" href="#L5391">5391</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5392" href="#L5392">5392</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5393" href="#L5393">5393</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5394" href="#L5394">5394</a><span class="code-text">* Soundness fixes to the interactions between associated types and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5395" href="#L5395">5395</a><span class="code-text">  lifetimes, specified in [RFC 1214], [now generate errors][1.7sf] for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5396" href="#L5396">5396</a><span class="code-text">  code that violates the new rules. This is a significant change that</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5397" href="#L5397">5397</a><span class="code-text">  is known to break existing code, so it has emitted warnings for the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5398" href="#L5398">5398</a><span class="code-text">  new error cases since 1.4 to give crate authors time to adapt. The</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5399" href="#L5399">5399</a><span class="code-text">  details of what is changing are subtle; read the RFC for more.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5400" href="#L5400">5400</a><span class="code-text">* [Several bugs in the compiler's visibility calculations were</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5401" href="#L5401">5401</a><span class="code-text">  fixed][1.7v]. Since this was found to break significant amounts of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5402" href="#L5402">5402</a><span class="code-text">  code, the new errors will be emitted as warnings for several release</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5403" href="#L5403">5403</a><span class="code-text">  cycles, under the `private_in_public` lint.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5404" href="#L5404">5404</a><span class="code-text">* Defaulted type parameters were accidentally accepted in positions</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5405" href="#L5405">5405</a><span class="code-text">  that were not intended. In this release, [defaulted type parameters</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5406" href="#L5406">5406</a><span class="code-text">  appearing outside of type definitions will generate a</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5407" href="#L5407">5407</a><span class="code-text">  warning][1.7d], which will become an error in future releases.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5408" href="#L5408">5408</a><span class="code-text">* [Parsing &quot;.&quot; as a float results in an error instead of 0][1.7p].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5409" href="#L5409">5409</a><span class="code-text">  That is, `&quot;.&quot;.parse::&lt;f32&gt;()` returns `Err`, not `Ok(0.0)`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5410" href="#L5410">5410</a><span class="code-text">* [Borrows of closure parameters may not outlive the closure][1.7bc].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5411" href="#L5411">5411</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5412" href="#L5412">5412</a><span class="code-text">[1.7a]: https://github.com/rust-lang/rust/pull/30928</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5413" href="#L5413">5413</a><span class="code-text">[1.7bc]: https://github.com/rust-lang/rust/pull/30341</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5414" href="#L5414">5414</a><span class="code-text">[1.7bm]: https://github.com/rust-lang/rust/pull/30426</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5415" href="#L5415">5415</a><span class="code-text">[1.7bt]: https://github.com/rust-lang/rust/pull/30998</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5416" href="#L5416">5416</a><span class="code-text">[1.7cp]: https://github.com/rust-lang/cargo/pull/2224</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5417" href="#L5417">5417</a><span class="code-text">[1.7d]: https://github.com/rust-lang/rust/pull/30724</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5418" href="#L5418">5418</a><span class="code-text">[1.7dt]: https://github.com/rust-lang/rust/pull/30372</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5419" href="#L5419">5419</a><span class="code-text">[1.7dta]: https://github.com/rust-lang/rust/pull/30394</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5420" href="#L5420">5420</a><span class="code-text">[1.7f]: https://github.com/rust-lang/rust/pull/30672</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5421" href="#L5421">5421</a><span class="code-text">[1.7h]: https://github.com/rust-lang/rust/pull/30818</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5422" href="#L5422">5422</a><span class="code-text">[1.7ll]: https://github.com/rust-lang/rust/pull/30663</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5423" href="#L5423">5423</a><span class="code-text">[1.7m]: https://github.com/rust-lang/rust/pull/30381</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5424" href="#L5424">5424</a><span class="code-text">[1.7p]: https://github.com/rust-lang/rust/pull/30681</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5425" href="#L5425">5425</a><span class="code-text">[1.7rp]: https://github.com/rust-lang/rust/pull/29498</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5426" href="#L5426">5426</a><span class="code-text">[1.7rpa]: https://github.com/rust-lang/rust/pull/30353</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5427" href="#L5427">5427</a><span class="code-text">[1.7rr]: https://github.com/rust-lang/cargo/pull/2279</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5428" href="#L5428">5428</a><span class="code-text">[1.7sf]: https://github.com/rust-lang/rust/pull/30389</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5429" href="#L5429">5429</a><span class="code-text">[1.7utf8]: https://github.com/rust-lang/rust/pull/30740</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5430" href="#L5430">5430</a><span class="code-text">[1.7v]: https://github.com/rust-lang/rust/pull/29973</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5431" href="#L5431">5431</a><span class="code-text">[RFC 1214]: https://github.com/rust-lang/rfcs/blob/master/text/1214-projections-lifetimes-and-wf.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5432" href="#L5432">5432</a><span class="code-text">[`BuildHasher::Hasher`]: http://doc.rust-lang.org/nightly/std/hash/trait.Hasher.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5433" href="#L5433">5433</a><span class="code-text">[`BuildHasher::build_hasher`]: http://doc.rust-lang.org/nightly/std/hash/trait.BuildHasher.html#tymethod.build_hasher</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5434" href="#L5434">5434</a><span class="code-text">[`CString::into_bytes_with_nul`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.into_bytes_with_nul</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5435" href="#L5435">5435</a><span class="code-text">[`CString::into_bytes`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.into_bytes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5436" href="#L5436">5436</a><span class="code-text">[`CString::into_string`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.into_string</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5437" href="#L5437">5437</a><span class="code-text">[`HashMap::with_capacity_and_hasher`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashMap.html#method.with_capacity_and_hasher</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5438" href="#L5438">5438</a><span class="code-text">[`HashMap::with_hasher`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashMap.html#method.with_hasher</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5439" href="#L5439">5439</a><span class="code-text">[`HashSet::with_capacity_and_hasher`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.with_capacity_and_hasher</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5440" href="#L5440">5440</a><span class="code-text">[`HashSet::with_hasher`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.with_hasher</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5441" href="#L5441">5441</a><span class="code-text">[`IntoStringError::into_cstring`]: http://doc.rust-lang.org/nightly/std/ffi/struct.IntoStringError.html#method.into_cstring</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5442" href="#L5442">5442</a><span class="code-text">[`IntoStringError::utf8_error`]: http://doc.rust-lang.org/nightly/std/ffi/struct.IntoStringError.html#method.utf8_error</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5443" href="#L5443">5443</a><span class="code-text">[`Ipv4Addr::is_broadcast`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_broadcast</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5444" href="#L5444">5444</a><span class="code-text">[`Ipv4Addr::is_documentation`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_documentation</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5445" href="#L5445">5445</a><span class="code-text">[`Ipv4Addr::is_link_local`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_link_local</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5446" href="#L5446">5446</a><span class="code-text">[`Ipv4Addr::is_loopback`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_loopback</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5447" href="#L5447">5447</a><span class="code-text">[`Ipv4Addr::is_multicast`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_multicast</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5448" href="#L5448">5448</a><span class="code-text">[`Ipv4Addr::is_private`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_private</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5449" href="#L5449">5449</a><span class="code-text">[`Ipv6Addr::is_loopback`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv6Addr.html#method.is_loopback</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5450" href="#L5450">5450</a><span class="code-text">[`Ipv6Addr::is_multicast`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv6Addr.html#method.is_multicast</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5451" href="#L5451">5451</a><span class="code-text">[`Ipv6Addr::is_unspecified`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv6Addr.html#method.is_unspecified</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5452" href="#L5452">5452</a><span class="code-text">[`Path::strip_prefix`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.strip_prefix</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5453" href="#L5453">5453</a><span class="code-text">[`RandomState::new`]: http://doc.rust-lang.org/nightly/std/collections/hash_map/struct.RandomState.html#method.new</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5454" href="#L5454">5454</a><span class="code-text">[`String::as_mut_str`]: http://doc.rust-lang.org/nightly/std/string/struct.String.html#method.as_mut_str</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5455" href="#L5455">5455</a><span class="code-text">[`String::as_str`]: http://doc.rust-lang.org/nightly/std/string/struct.String.html#method.as_str</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5456" href="#L5456">5456</a><span class="code-text">[`Vec::as_mut_slice`]: http://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#method.as_mut_slice</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5457" href="#L5457">5457</a><span class="code-text">[`Vec::as_slice`]: http://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#method.as_slice</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5458" href="#L5458">5458</a><span class="code-text">[`clone_from_slice`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.clone_from_slice</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5459" href="#L5459">5459</a><span class="code-text">[`ffi::IntoStringError`]: http://doc.rust-lang.org/nightly/std/ffi/struct.IntoStringError.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5460" href="#L5460">5460</a><span class="code-text">[`i32::checked_neg`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.checked_neg</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5461" href="#L5461">5461</a><span class="code-text">[`i32::checked_rem`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.checked_rem</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5462" href="#L5462">5462</a><span class="code-text">[`i32::checked_shl`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.checked_shl</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5463" href="#L5463">5463</a><span class="code-text">[`i32::checked_shr`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.checked_shr</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5464" href="#L5464">5464</a><span class="code-text">[`i32::overflowing_add`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_add</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5465" href="#L5465">5465</a><span class="code-text">[`i32::overflowing_div`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_div</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5466" href="#L5466">5466</a><span class="code-text">[`i32::overflowing_mul`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_mul</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5467" href="#L5467">5467</a><span class="code-text">[`i32::overflowing_neg`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_neg</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5468" href="#L5468">5468</a><span class="code-text">[`i32::overflowing_rem`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_rem</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5469" href="#L5469">5469</a><span class="code-text">[`i32::overflowing_shl`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_shl</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5470" href="#L5470">5470</a><span class="code-text">[`i32::overflowing_shr`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_shr</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5471" href="#L5471">5471</a><span class="code-text">[`i32::overflowing_sub`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_sub</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5472" href="#L5472">5472</a><span class="code-text">[`i32::saturating_mul`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.saturating_mul</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5473" href="#L5473">5473</a><span class="code-text">[`path::StripPrefixError`]: http://doc.rust-lang.org/nightly/std/path/struct.StripPrefixError.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5474" href="#L5474">5474</a><span class="code-text">[`sort_by_key`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.sort_by_key</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5475" href="#L5475">5475</a><span class="code-text">[`std::collections::hash_map::RandomState`]: http://doc.rust-lang.org/nightly/std/collections/hash_map/struct.RandomState.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5476" href="#L5476">5476</a><span class="code-text">[`std::hash::BuildHasherDefault`]: http://doc.rust-lang.org/nightly/std/hash/struct.BuildHasherDefault.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5477" href="#L5477">5477</a><span class="code-text">[`std::hash::BuildHasher`]: http://doc.rust-lang.org/nightly/std/hash/trait.BuildHasher.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5478" href="#L5478">5478</a><span class="code-text">[`u32::checked_neg`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.checked_neg</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5479" href="#L5479">5479</a><span class="code-text">[`u32::checked_rem`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.checked_rem</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5480" href="#L5480">5480</a><span class="code-text">[`u32::checked_neg`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.checked_neg</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5481" href="#L5481">5481</a><span class="code-text">[`u32::checked_shl`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.checked_shl</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5482" href="#L5482">5482</a><span class="code-text">[`u32::overflowing_add`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_add</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5483" href="#L5483">5483</a><span class="code-text">[`u32::overflowing_div`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_div</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5484" href="#L5484">5484</a><span class="code-text">[`u32::overflowing_mul`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_mul</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5485" href="#L5485">5485</a><span class="code-text">[`u32::overflowing_neg`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_neg</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5486" href="#L5486">5486</a><span class="code-text">[`u32::overflowing_rem`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_rem</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5487" href="#L5487">5487</a><span class="code-text">[`u32::overflowing_shl`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_shl</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5488" href="#L5488">5488</a><span class="code-text">[`u32::overflowing_shr`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_shr</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5489" href="#L5489">5489</a><span class="code-text">[`u32::overflowing_sub`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_sub</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5490" href="#L5490">5490</a><span class="code-text">[`u32::saturating_mul`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.saturating_mul</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5491" href="#L5491">5491</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5492" href="#L5492">5492</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5493" href="#L5493">5493</a><span class="code-text">Version 1.6.0 (2016-01-21)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5494" href="#L5494">5494</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5495" href="#L5495">5495</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5496" href="#L5496">5496</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5497" href="#L5497">5497</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5498" href="#L5498">5498</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5499" href="#L5499">5499</a><span class="code-text">* The `#![no_std]` attribute causes a crate to not be linked to the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5500" href="#L5500">5500</a><span class="code-text">  standard library, but only the [core library][1.6co], as described</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5501" href="#L5501">5501</a><span class="code-text">  in [RFC 1184]. The core library defines common types and traits but</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5502" href="#L5502">5502</a><span class="code-text">  has no platform dependencies whatsoever, and is the basis for Rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5503" href="#L5503">5503</a><span class="code-text">  software in environments that cannot support a full port of the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5504" href="#L5504">5504</a><span class="code-text">  standard library, such as operating systems. Most of the core</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5505" href="#L5505">5505</a><span class="code-text">  library is now stable.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5506" href="#L5506">5506</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5507" href="#L5507">5507</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5508" href="#L5508">5508</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5509" href="#L5509">5509</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5510" href="#L5510">5510</a><span class="code-text">* Stabilized APIs:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5511" href="#L5511">5511</a><span class="code-text">  [`Read::read_exact`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5512" href="#L5512">5512</a><span class="code-text">  [`ErrorKind::UnexpectedEof`][] (renamed from `UnexpectedEOF`),</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5513" href="#L5513">5513</a><span class="code-text">  [`fs::DirBuilder`], [`fs::DirBuilder::new`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5514" href="#L5514">5514</a><span class="code-text">  [`fs::DirBuilder::recursive`], [`fs::DirBuilder::create`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5515" href="#L5515">5515</a><span class="code-text">  [`os::unix::fs::DirBuilderExt`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5516" href="#L5516">5516</a><span class="code-text">  [`os::unix::fs::DirBuilderExt::mode`], [`vec::Drain`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5517" href="#L5517">5517</a><span class="code-text">  [`vec::Vec::drain`], [`string::Drain`], [`string::String::drain`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5518" href="#L5518">5518</a><span class="code-text">  [`vec_deque::Drain`], [`vec_deque::VecDeque::drain`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5519" href="#L5519">5519</a><span class="code-text">  [`collections::hash_map::Drain`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5520" href="#L5520">5520</a><span class="code-text">  [`collections::hash_map::HashMap::drain`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5521" href="#L5521">5521</a><span class="code-text">  [`collections::hash_set::Drain`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5522" href="#L5522">5522</a><span class="code-text">  [`collections::hash_set::HashSet::drain`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5523" href="#L5523">5523</a><span class="code-text">  [`collections::binary_heap::Drain`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5524" href="#L5524">5524</a><span class="code-text">  [`collections::binary_heap::BinaryHeap::drain`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5525" href="#L5525">5525</a><span class="code-text">  [`Vec::extend_from_slice`][] (renamed from `push_all`),</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5526" href="#L5526">5526</a><span class="code-text">  [`Mutex::get_mut`], [`Mutex::into_inner`], [`RwLock::get_mut`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5527" href="#L5527">5527</a><span class="code-text">  [`RwLock::into_inner`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5528" href="#L5528">5528</a><span class="code-text">  [`Iterator::min_by_key`][] (renamed from `min_by`),</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5529" href="#L5529">5529</a><span class="code-text">  [`Iterator::max_by_key`][] (renamed from `max_by`).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5530" href="#L5530">5530</a><span class="code-text">* The [core library][1.6co] is stable, as are most of its APIs.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5531" href="#L5531">5531</a><span class="code-text">* [The `assert_eq!` macro supports arguments that don't implement</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5532" href="#L5532">5532</a><span class="code-text">  `Sized`][1.6ae], such as arrays. In this way it behaves more like</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5533" href="#L5533">5533</a><span class="code-text">  `assert!`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5534" href="#L5534">5534</a><span class="code-text">* Several timer functions that take duration in milliseconds [are</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5535" href="#L5535">5535</a><span class="code-text">  deprecated in favor of those that take `Duration`][1.6ms]. These</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5536" href="#L5536">5536</a><span class="code-text">  include `Condvar::wait_timeout_ms`, `thread::sleep_ms`, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5537" href="#L5537">5537</a><span class="code-text">  `thread::park_timeout_ms`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5538" href="#L5538">5538</a><span class="code-text">* The algorithm by which `Vec` reserves additional elements was</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5539" href="#L5539">5539</a><span class="code-text">  [tweaked to not allocate excessive space][1.6a] while still growing</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5540" href="#L5540">5540</a><span class="code-text">  exponentially.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5541" href="#L5541">5541</a><span class="code-text">* `From` conversions are [implemented from integers to floats][1.6f]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5542" href="#L5542">5542</a><span class="code-text">  in cases where the conversion is lossless. Thus they are not</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5543" href="#L5543">5543</a><span class="code-text">  implemented for 32-bit ints to `f32`, nor for 64-bit ints to `f32`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5544" href="#L5544">5544</a><span class="code-text">  or `f64`. They are also not implemented for `isize` and `usize`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5545" href="#L5545">5545</a><span class="code-text">  because the implementations would be platform-specific. `From` is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5546" href="#L5546">5546</a><span class="code-text">  also implemented from `f32` to `f64`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5547" href="#L5547">5547</a><span class="code-text">* `From&lt;&amp;Path&gt;` and `From&lt;PathBuf&gt;` are implemented for `Cow&lt;Path&gt;`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5548" href="#L5548">5548</a><span class="code-text">* `From&lt;T&gt;` is implemented for `Box&lt;T&gt;`, `Rc&lt;T&gt;` and `Arc&lt;T&gt;`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5549" href="#L5549">5549</a><span class="code-text">* `IntoIterator` is implemented for `&amp;PathBuf` and `&amp;Path`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5550" href="#L5550">5550</a><span class="code-text">* [`BinaryHeap` was refactored][1.6bh] for modest performance</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5551" href="#L5551">5551</a><span class="code-text">  improvements.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5552" href="#L5552">5552</a><span class="code-text">* Sorting slices that are already sorted [is 50% faster in some</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5553" href="#L5553">5553</a><span class="code-text">  cases][1.6s].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5554" href="#L5554">5554</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5555" href="#L5555">5555</a><span class="code-text">Cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5556" href="#L5556">5556</a><span class="code-text">-----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5557" href="#L5557">5557</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5558" href="#L5558">5558</a><span class="code-text">* Cargo will look in `$CARGO_HOME/bin` for subcommands [by default][1.6c].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5559" href="#L5559">5559</a><span class="code-text">* Cargo build scripts can specify their dependencies by emitting the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5560" href="#L5560">5560</a><span class="code-text">  [`rerun-if-changed`][1.6rr] key.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5561" href="#L5561">5561</a><span class="code-text">* crates.io will reject publication of crates with dependencies that</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5562" href="#L5562">5562</a><span class="code-text">  have a wildcard version constraint. Crates with wildcard</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5563" href="#L5563">5563</a><span class="code-text">  dependencies were seen to cause a variety of problems, as described</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5564" href="#L5564">5564</a><span class="code-text">  in [RFC 1241]. Since 1.5 publication of such crates has emitted a</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5565" href="#L5565">5565</a><span class="code-text">  warning.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5566" href="#L5566">5566</a><span class="code-text">* `cargo clean` [accepts a `--release` flag][1.6cc] to clean the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5567" href="#L5567">5567</a><span class="code-text">  release folder.  A variety of artifacts that Cargo failed to clean</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5568" href="#L5568">5568</a><span class="code-text">  are now correctly deleted.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5569" href="#L5569">5569</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5570" href="#L5570">5570</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5571" href="#L5571">5571</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5572" href="#L5572">5572</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5573" href="#L5573">5573</a><span class="code-text">* The `unreachable_code` lint [warns when a function call's argument</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5574" href="#L5574">5574</a><span class="code-text">  diverges][1.6dv].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5575" href="#L5575">5575</a><span class="code-text">* The parser indicates [failures that may be caused by</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5576" href="#L5576">5576</a><span class="code-text">  confusingly-similar Unicode characters][1.6uc]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5577" href="#L5577">5577</a><span class="code-text">* Certain macro errors [are reported at definition time][1.6m], not</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5578" href="#L5578">5578</a><span class="code-text">  expansion.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5579" href="#L5579">5579</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5580" href="#L5580">5580</a><span class="code-text">Compatibility Notes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5581" href="#L5581">5581</a><span class="code-text">-------------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5582" href="#L5582">5582</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5583" href="#L5583">5583</a><span class="code-text">* The compiler no longer makes use of the [`RUST_PATH`][1.6rp]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5584" href="#L5584">5584</a><span class="code-text">  environment variable when locating crates. This was a pre-cargo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5585" href="#L5585">5585</a><span class="code-text">  feature for integrating with the package manager that was</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5586" href="#L5586">5586</a><span class="code-text">  accidentally never removed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5587" href="#L5587">5587</a><span class="code-text">* [A number of bugs were fixed in the privacy checker][1.6p] that</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5588" href="#L5588">5588</a><span class="code-text">  could cause previously-accepted code to break.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5589" href="#L5589">5589</a><span class="code-text">* [Modules and unit/tuple structs may not share the same name][1.6ts].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5590" href="#L5590">5590</a><span class="code-text">* [Bugs in pattern matching unit structs were fixed][1.6us]. The tuple</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5591" href="#L5591">5591</a><span class="code-text">  struct pattern syntax (`Foo(..)`) can no longer be used to match</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5592" href="#L5592">5592</a><span class="code-text">  unit structs. This is a warning now, but will become an error in</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5593" href="#L5593">5593</a><span class="code-text">  future releases. Patterns that share the same name as a const are</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5594" href="#L5594">5594</a><span class="code-text">  now an error.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5595" href="#L5595">5595</a><span class="code-text">* A bug was fixed that causes [rustc not to apply default type</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5596" href="#L5596">5596</a><span class="code-text">  parameters][1.6xc] when resolving certain method implementations of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5597" href="#L5597">5597</a><span class="code-text">  traits defined in other crates.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5598" href="#L5598">5598</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5599" href="#L5599">5599</a><span class="code-text">[1.6a]: https://github.com/rust-lang/rust/pull/29454</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5600" href="#L5600">5600</a><span class="code-text">[1.6ae]: https://github.com/rust-lang/rust/pull/29770</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5601" href="#L5601">5601</a><span class="code-text">[1.6bh]: https://github.com/rust-lang/rust/pull/29811</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5602" href="#L5602">5602</a><span class="code-text">[1.6c]: https://github.com/rust-lang/cargo/pull/2192</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5603" href="#L5603">5603</a><span class="code-text">[1.6cc]: https://github.com/rust-lang/cargo/pull/2131</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5604" href="#L5604">5604</a><span class="code-text">[1.6co]: http://doc.rust-lang.org/core/index.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5605" href="#L5605">5605</a><span class="code-text">[1.6dv]: https://github.com/rust-lang/rust/pull/30000</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5606" href="#L5606">5606</a><span class="code-text">[1.6f]: https://github.com/rust-lang/rust/pull/29129</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5607" href="#L5607">5607</a><span class="code-text">[1.6m]: https://github.com/rust-lang/rust/pull/29828</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5608" href="#L5608">5608</a><span class="code-text">[1.6ms]: https://github.com/rust-lang/rust/pull/29604</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5609" href="#L5609">5609</a><span class="code-text">[1.6p]: https://github.com/rust-lang/rust/pull/29726</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5610" href="#L5610">5610</a><span class="code-text">[1.6rp]: https://github.com/rust-lang/rust/pull/30034</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5611" href="#L5611">5611</a><span class="code-text">[1.6rr]: https://github.com/rust-lang/cargo/pull/2134</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5612" href="#L5612">5612</a><span class="code-text">[1.6s]: https://github.com/rust-lang/rust/pull/29675</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5613" href="#L5613">5613</a><span class="code-text">[1.6ts]: https://github.com/rust-lang/rust/issues/21546</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5614" href="#L5614">5614</a><span class="code-text">[1.6uc]: https://github.com/rust-lang/rust/pull/29837</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5615" href="#L5615">5615</a><span class="code-text">[1.6us]: https://github.com/rust-lang/rust/pull/29383</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5616" href="#L5616">5616</a><span class="code-text">[1.6xc]: https://github.com/rust-lang/rust/issues/30123</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5617" href="#L5617">5617</a><span class="code-text">[RFC 1184]: https://github.com/rust-lang/rfcs/blob/master/text/1184-stabilize-no_std.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5618" href="#L5618">5618</a><span class="code-text">[RFC 1241]: https://github.com/rust-lang/rfcs/blob/master/text/1241-no-wildcard-deps.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5619" href="#L5619">5619</a><span class="code-text">[`ErrorKind::UnexpectedEof`]: http://doc.rust-lang.org/nightly/std/io/enum.ErrorKind.html#variant.UnexpectedEof</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5620" href="#L5620">5620</a><span class="code-text">[`Iterator::max_by_key`]: http://doc.rust-lang.org/nightly/std/iter/trait.Iterator.html#method.max_by_key</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5621" href="#L5621">5621</a><span class="code-text">[`Iterator::min_by_key`]: http://doc.rust-lang.org/nightly/std/iter/trait.Iterator.html#method.min_by_key</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5622" href="#L5622">5622</a><span class="code-text">[`Mutex::get_mut`]: http://doc.rust-lang.org/nightly/std/sync/struct.Mutex.html#method.get_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5623" href="#L5623">5623</a><span class="code-text">[`Mutex::into_inner`]: http://doc.rust-lang.org/nightly/std/sync/struct.Mutex.html#method.into_inner</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5624" href="#L5624">5624</a><span class="code-text">[`Read::read_exact`]: http://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.read_exact</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5625" href="#L5625">5625</a><span class="code-text">[`RwLock::get_mut`]: http://doc.rust-lang.org/nightly/std/sync/struct.RwLock.html#method.get_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5626" href="#L5626">5626</a><span class="code-text">[`RwLock::into_inner`]: http://doc.rust-lang.org/nightly/std/sync/struct.RwLock.html#method.into_inner</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5627" href="#L5627">5627</a><span class="code-text">[`Vec::extend_from_slice`]: http://doc.rust-lang.org/nightly/collections/vec/struct.Vec.html#method.extend_from_slice</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5628" href="#L5628">5628</a><span class="code-text">[`collections::binary_heap::BinaryHeap::drain`]: http://doc.rust-lang.org/nightly/std/collections/binary_heap/struct.BinaryHeap.html#method.drain</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5629" href="#L5629">5629</a><span class="code-text">[`collections::binary_heap::Drain`]: http://doc.rust-lang.org/nightly/std/collections/binary_heap/struct.Drain.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5630" href="#L5630">5630</a><span class="code-text">[`collections::hash_map::Drain`]: http://doc.rust-lang.org/nightly/std/collections/hash_map/struct.Drain.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5631" href="#L5631">5631</a><span class="code-text">[`collections::hash_map::HashMap::drain`]: http://doc.rust-lang.org/nightly/std/collections/hash_map/struct.HashMap.html#method.drain</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5632" href="#L5632">5632</a><span class="code-text">[`collections::hash_set::Drain`]: http://doc.rust-lang.org/nightly/std/collections/hash_set/struct.Drain.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5633" href="#L5633">5633</a><span class="code-text">[`collections::hash_set::HashSet::drain`]: http://doc.rust-lang.org/nightly/std/collections/hash_set/struct.HashSet.html#method.drain</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5634" href="#L5634">5634</a><span class="code-text">[`fs::DirBuilder::create`]: http://doc.rust-lang.org/nightly/std/fs/struct.DirBuilder.html#method.create</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5635" href="#L5635">5635</a><span class="code-text">[`fs::DirBuilder::new`]: http://doc.rust-lang.org/nightly/std/fs/struct.DirBuilder.html#method.new</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5636" href="#L5636">5636</a><span class="code-text">[`fs::DirBuilder::recursive`]: http://doc.rust-lang.org/nightly/std/fs/struct.DirBuilder.html#method.recursive</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5637" href="#L5637">5637</a><span class="code-text">[`fs::DirBuilder`]: http://doc.rust-lang.org/nightly/std/fs/struct.DirBuilder.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5638" href="#L5638">5638</a><span class="code-text">[`os::unix::fs::DirBuilderExt::mode`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.DirBuilderExt.html#tymethod.mode</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5639" href="#L5639">5639</a><span class="code-text">[`os::unix::fs::DirBuilderExt`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.DirBuilderExt.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5640" href="#L5640">5640</a><span class="code-text">[`string::Drain`]: http://doc.rust-lang.org/nightly/std/string/struct.Drain.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5641" href="#L5641">5641</a><span class="code-text">[`string::String::drain`]: http://doc.rust-lang.org/nightly/std/string/struct.String.html#method.drain</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5642" href="#L5642">5642</a><span class="code-text">[`vec::Drain`]: http://doc.rust-lang.org/nightly/std/vec/struct.Drain.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5643" href="#L5643">5643</a><span class="code-text">[`vec::Vec::drain`]: http://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#method.drain</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5644" href="#L5644">5644</a><span class="code-text">[`vec_deque::Drain`]: http://doc.rust-lang.org/nightly/std/collections/vec_deque/struct.Drain.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5645" href="#L5645">5645</a><span class="code-text">[`vec_deque::VecDeque::drain`]: http://doc.rust-lang.org/nightly/std/collections/vec_deque/struct.VecDeque.html#method.drain</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5646" href="#L5646">5646</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5647" href="#L5647">5647</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5648" href="#L5648">5648</a><span class="code-text">Version 1.5.0 (2015-12-10)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5649" href="#L5649">5649</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5650" href="#L5650">5650</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5651" href="#L5651">5651</a><span class="code-text">* ~700 changes, numerous bugfixes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5652" href="#L5652">5652</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5653" href="#L5653">5653</a><span class="code-text">Highlights</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5654" href="#L5654">5654</a><span class="code-text">----------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5655" href="#L5655">5655</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5656" href="#L5656">5656</a><span class="code-text">* Stabilized APIs:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5657" href="#L5657">5657</a><span class="code-text">  [`BinaryHeap::from`], [`BinaryHeap::into_sorted_vec`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5658" href="#L5658">5658</a><span class="code-text">  [`BinaryHeap::into_vec`], [`Condvar::wait_timeout`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5659" href="#L5659">5659</a><span class="code-text">  [`FileTypeExt::is_block_device`], [`FileTypeExt::is_char_device`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5660" href="#L5660">5660</a><span class="code-text">  [`FileTypeExt::is_fifo`], [`FileTypeExt::is_socket`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5661" href="#L5661">5661</a><span class="code-text">  [`FileTypeExt`], [`Formatter::alternate`], [`Formatter::fill`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5662" href="#L5662">5662</a><span class="code-text">  [`Formatter::precision`], [`Formatter::sign_aware_zero_pad`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5663" href="#L5663">5663</a><span class="code-text">  [`Formatter::sign_minus`], [`Formatter::sign_plus`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5664" href="#L5664">5664</a><span class="code-text">  [`Formatter::width`], [`Iterator::cmp`], [`Iterator::eq`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5665" href="#L5665">5665</a><span class="code-text">  [`Iterator::ge`], [`Iterator::gt`], [`Iterator::le`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5666" href="#L5666">5666</a><span class="code-text">  [`Iterator::lt`], [`Iterator::ne`], [`Iterator::partial_cmp`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5667" href="#L5667">5667</a><span class="code-text">  [`Path::canonicalize`], [`Path::exists`], [`Path::is_dir`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5668" href="#L5668">5668</a><span class="code-text">  [`Path::is_file`], [`Path::metadata`], [`Path::read_dir`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5669" href="#L5669">5669</a><span class="code-text">  [`Path::read_link`], [`Path::symlink_metadata`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5670" href="#L5670">5670</a><span class="code-text">  [`Utf8Error::valid_up_to`], [`Vec::resize`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5671" href="#L5671">5671</a><span class="code-text">  [`VecDeque::as_mut_slices`], [`VecDeque::as_slices`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5672" href="#L5672">5672</a><span class="code-text">  [`VecDeque::insert`], [`VecDeque::shrink_to_fit`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5673" href="#L5673">5673</a><span class="code-text">  [`VecDeque::swap_remove_back`], [`VecDeque::swap_remove_front`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5674" href="#L5674">5674</a><span class="code-text">  [`slice::split_first_mut`], [`slice::split_first`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5675" href="#L5675">5675</a><span class="code-text">  [`slice::split_last_mut`], [`slice::split_last`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5676" href="#L5676">5676</a><span class="code-text">  [`char::from_u32_unchecked`], [`fs::canonicalize`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5677" href="#L5677">5677</a><span class="code-text">  [`str::MatchIndices`], [`str::RMatchIndices`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5678" href="#L5678">5678</a><span class="code-text">  [`str::match_indices`], [`str::rmatch_indices`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5679" href="#L5679">5679</a><span class="code-text">  [`str::slice_mut_unchecked`], [`string::ParseError`].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5680" href="#L5680">5680</a><span class="code-text">* Rust applications hosted on crates.io can be installed locally to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5681" href="#L5681">5681</a><span class="code-text">  `~/.cargo/bin` with the [`cargo install`] command. Among other</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5682" href="#L5682">5682</a><span class="code-text">  things this makes it easier to augment Cargo with new subcommands:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5683" href="#L5683">5683</a><span class="code-text">  when a binary named e.g. `cargo-foo` is found in `$PATH` it can be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5684" href="#L5684">5684</a><span class="code-text">  invoked as `cargo foo`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5685" href="#L5685">5685</a><span class="code-text">* Crates with wildcard (`*`) dependencies will [emit warnings when</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5686" href="#L5686">5686</a><span class="code-text">  published][1.5w]. In 1.6 it will no longer be possible to publish</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5687" href="#L5687">5687</a><span class="code-text">  crates with wildcard dependencies.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5688" href="#L5688">5688</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5689" href="#L5689">5689</a><span class="code-text">Breaking Changes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5690" href="#L5690">5690</a><span class="code-text">----------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5691" href="#L5691">5691</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5692" href="#L5692">5692</a><span class="code-text">* The rules determining when a particular lifetime must outlive</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5693" href="#L5693">5693</a><span class="code-text">  a particular value (known as '[dropck]') have been [modified</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5694" href="#L5694">5694</a><span class="code-text">  to not rely on parametricity][1.5p].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5695" href="#L5695">5695</a><span class="code-text">* [Implementations of `AsRef` and `AsMut` were added to `Box`, `Rc`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5696" href="#L5696">5696</a><span class="code-text">  and `Arc`][1.5a]. Because these smart pointer types implement</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5697" href="#L5697">5697</a><span class="code-text">  `Deref`, this causes breakage in cases where the interior type</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5698" href="#L5698">5698</a><span class="code-text">  contains methods of the same name.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5699" href="#L5699">5699</a><span class="code-text">* [Correct a bug in Rc/Arc][1.5c] that caused [dropck] to be unaware</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5700" href="#L5700">5700</a><span class="code-text">  that they could drop their content. Soundness fix.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5701" href="#L5701">5701</a><span class="code-text">* All method invocations are [properly checked][1.5wf1] for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5702" href="#L5702">5702</a><span class="code-text">  [well-formedness][1.5wf2]. Soundness fix.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5703" href="#L5703">5703</a><span class="code-text">* Traits whose supertraits contain `Self` are [not object</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5704" href="#L5704">5704</a><span class="code-text">  safe][1.5o]. Soundness fix.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5705" href="#L5705">5705</a><span class="code-text">* Target specifications support a [`no_default_libraries`][1.5nd]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5706" href="#L5706">5706</a><span class="code-text">  setting that controls whether `-nodefaultlibs` is passed to the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5707" href="#L5707">5707</a><span class="code-text">  linker, and in turn the `is_like_windows` setting no longer affects</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5708" href="#L5708">5708</a><span class="code-text">  the `-nodefaultlibs` flag.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5709" href="#L5709">5709</a><span class="code-text">* `#[derive(Show)]`, long-deprecated, [has been removed][1.5ds].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5710" href="#L5710">5710</a><span class="code-text">* The `#[inline]` and `#[repr]` attributes [can only appear</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5711" href="#L5711">5711</a><span class="code-text">  in valid locations][1.5at].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5712" href="#L5712">5712</a><span class="code-text">* Native libraries linked from the local crate are [passed to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5713" href="#L5713">5713</a><span class="code-text">  the linker before native libraries from upstream crates][1.5nl].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5714" href="#L5714">5714</a><span class="code-text">* Two rarely-used attributes, `#[no_debug]` and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5715" href="#L5715">5715</a><span class="code-text">  `#[omit_gdb_pretty_printer_section]` [are feature gated][1.5fg].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5716" href="#L5716">5716</a><span class="code-text">* Negation of unsigned integers, which has been a warning for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5717" href="#L5717">5717</a><span class="code-text">  several releases, [is now behind a feature gate and will</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5718" href="#L5718">5718</a><span class="code-text">  generate errors][1.5nu].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5719" href="#L5719">5719</a><span class="code-text">* The parser accidentally accepted visibility modifiers on</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5720" href="#L5720">5720</a><span class="code-text">  enum variants, a bug [which has been fixed][1.5ev].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5721" href="#L5721">5721</a><span class="code-text">* [A bug was fixed that allowed `use` statements to import unstable</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5722" href="#L5722">5722</a><span class="code-text">  features][1.5use].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5723" href="#L5723">5723</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5724" href="#L5724">5724</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5725" href="#L5725">5725</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5726" href="#L5726">5726</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5727" href="#L5727">5727</a><span class="code-text">* When evaluating expressions at compile-time that are not</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5728" href="#L5728">5728</a><span class="code-text">  compile-time constants (const-evaluating expressions in non-const</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5729" href="#L5729">5729</a><span class="code-text">  contexts), incorrect code such as overlong bitshifts and arithmetic</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5730" href="#L5730">5730</a><span class="code-text">  overflow will [generate a warning instead of an error][1.5ce],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5731" href="#L5731">5731</a><span class="code-text">  delaying the error until runtime. This will allow the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5732" href="#L5732">5732</a><span class="code-text">  const-evaluator to be expanded in the future backwards-compatibly.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5733" href="#L5733">5733</a><span class="code-text">* The `improper_ctypes` lint [no longer warns about using `isize` and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5734" href="#L5734">5734</a><span class="code-text">  `usize` in FFI][1.5ict].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5735" href="#L5735">5735</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5736" href="#L5736">5736</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5737" href="#L5737">5737</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5738" href="#L5738">5738</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5739" href="#L5739">5739</a><span class="code-text">* `Arc&lt;T&gt;` and `Rc&lt;T&gt;` are [covariant with respect to `T` instead of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5740" href="#L5740">5740</a><span class="code-text">  invariant][1.5c].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5741" href="#L5741">5741</a><span class="code-text">* `Default` is [implemented for mutable slices][1.5d].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5742" href="#L5742">5742</a><span class="code-text">* `FromStr` is [implemented for `SockAddrV4` and `SockAddrV6`][1.5s].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5743" href="#L5743">5743</a><span class="code-text">* There are now `From` conversions [between floating point</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5744" href="#L5744">5744</a><span class="code-text">  types][1.5f] where the conversions are lossless.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5745" href="#L5745">5745</a><span class="code-text">* There are now `From` conversions [between integer types][1.5i] where</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5746" href="#L5746">5746</a><span class="code-text">  the conversions are lossless.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5747" href="#L5747">5747</a><span class="code-text">* [`fs::Metadata` implements `Clone`][1.5fs].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5748" href="#L5748">5748</a><span class="code-text">* The `parse` method [accepts a leading &quot;+&quot; when parsing</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5749" href="#L5749">5749</a><span class="code-text">  integers][1.5pi].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5750" href="#L5750">5750</a><span class="code-text">* [`AsMut` is implemented for `Vec`][1.5am].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5751" href="#L5751">5751</a><span class="code-text">* The `clone_from` implementations for `String` and `BinaryHeap` [have</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5752" href="#L5752">5752</a><span class="code-text">  been optimized][1.5cf] and no longer rely on the default impl.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5753" href="#L5753">5753</a><span class="code-text">* The `extern &quot;Rust&quot;`, `extern &quot;C&quot;`, `unsafe extern &quot;Rust&quot;` and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5754" href="#L5754">5754</a><span class="code-text">  `unsafe extern &quot;C&quot;` function types now [implement `Clone`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5755" href="#L5755">5755</a><span class="code-text">  `PartialEq`, `Eq`, `PartialOrd`, `Ord`, `Hash`, `fmt::Pointer`, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5756" href="#L5756">5756</a><span class="code-text">  `fmt::Debug` for up to 12 arguments][1.5fp].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5757" href="#L5757">5757</a><span class="code-text">* [Dropping `Vec`s is much faster in unoptimized builds when the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5758" href="#L5758">5758</a><span class="code-text">  element types don't implement `Drop`][1.5dv].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5759" href="#L5759">5759</a><span class="code-text">* A bug that caused in incorrect behavior when [combining `VecDeque`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5760" href="#L5760">5760</a><span class="code-text">  with zero-sized types][1.5vdz] was resolved.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5761" href="#L5761">5761</a><span class="code-text">* [`PartialOrd` for slices is faster][1.5po].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5762" href="#L5762">5762</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5763" href="#L5763">5763</a><span class="code-text">Miscellaneous</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5764" href="#L5764">5764</a><span class="code-text">-------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5765" href="#L5765">5765</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5766" href="#L5766">5766</a><span class="code-text">* [Crate metadata size was reduced by 20%][1.5md].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5767" href="#L5767">5767</a><span class="code-text">* [Improvements to code generation reduced the size of libcore by 3.3</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5768" href="#L5768">5768</a><span class="code-text">  MB and rustc's memory usage by 18MB][1.5m].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5769" href="#L5769">5769</a><span class="code-text">* [Improvements to deref translation increased performance in</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5770" href="#L5770">5770</a><span class="code-text">  unoptimized builds][1.5dr].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5771" href="#L5771">5771</a><span class="code-text">* Various errors in trait resolution [are deduplicated to only be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5772" href="#L5772">5772</a><span class="code-text">  reported once][1.5te].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5773" href="#L5773">5773</a><span class="code-text">* Rust has preliminary [support for rumprun kernels][1.5rr].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5774" href="#L5774">5774</a><span class="code-text">* Rust has preliminary [support for NetBSD on amd64][1.5na].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5775" href="#L5775">5775</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5776" href="#L5776">5776</a><span class="code-text">[1.5use]: https://github.com/rust-lang/rust/pull/28364</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5777" href="#L5777">5777</a><span class="code-text">[1.5po]: https://github.com/rust-lang/rust/pull/28436</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5778" href="#L5778">5778</a><span class="code-text">[1.5ev]: https://github.com/rust-lang/rust/pull/28442</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5779" href="#L5779">5779</a><span class="code-text">[1.5nu]: https://github.com/rust-lang/rust/pull/28468</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5780" href="#L5780">5780</a><span class="code-text">[1.5dr]: https://github.com/rust-lang/rust/pull/28491</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5781" href="#L5781">5781</a><span class="code-text">[1.5vdz]: https://github.com/rust-lang/rust/pull/28494</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5782" href="#L5782">5782</a><span class="code-text">[1.5md]: https://github.com/rust-lang/rust/pull/28521</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5783" href="#L5783">5783</a><span class="code-text">[1.5fg]: https://github.com/rust-lang/rust/pull/28522</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5784" href="#L5784">5784</a><span class="code-text">[1.5dv]: https://github.com/rust-lang/rust/pull/28531</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5785" href="#L5785">5785</a><span class="code-text">[1.5na]: https://github.com/rust-lang/rust/pull/28543</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5786" href="#L5786">5786</a><span class="code-text">[1.5fp]: https://github.com/rust-lang/rust/pull/28560</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5787" href="#L5787">5787</a><span class="code-text">[1.5rr]: https://github.com/rust-lang/rust/pull/28593</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5788" href="#L5788">5788</a><span class="code-text">[1.5cf]: https://github.com/rust-lang/rust/pull/28602</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5789" href="#L5789">5789</a><span class="code-text">[1.5nl]: https://github.com/rust-lang/rust/pull/28605</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5790" href="#L5790">5790</a><span class="code-text">[1.5te]: https://github.com/rust-lang/rust/pull/28645</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5791" href="#L5791">5791</a><span class="code-text">[1.5at]: https://github.com/rust-lang/rust/pull/28650</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5792" href="#L5792">5792</a><span class="code-text">[1.5am]: https://github.com/rust-lang/rust/pull/28663</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5793" href="#L5793">5793</a><span class="code-text">[1.5m]: https://github.com/rust-lang/rust/pull/28778</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5794" href="#L5794">5794</a><span class="code-text">[1.5ict]: https://github.com/rust-lang/rust/pull/28779</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5795" href="#L5795">5795</a><span class="code-text">[1.5a]: https://github.com/rust-lang/rust/pull/28811</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5796" href="#L5796">5796</a><span class="code-text">[1.5pi]: https://github.com/rust-lang/rust/pull/28826</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5797" href="#L5797">5797</a><span class="code-text">[1.5ce]: https://github.com/rust-lang/rfcs/blob/master/text/1229-compile-time-asserts.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5798" href="#L5798">5798</a><span class="code-text">[1.5p]: https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5799" href="#L5799">5799</a><span class="code-text">[1.5i]: https://github.com/rust-lang/rust/pull/28921</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5800" href="#L5800">5800</a><span class="code-text">[1.5fs]: https://github.com/rust-lang/rust/pull/29021</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5801" href="#L5801">5801</a><span class="code-text">[1.5f]: https://github.com/rust-lang/rust/pull/29129</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5802" href="#L5802">5802</a><span class="code-text">[1.5ds]: https://github.com/rust-lang/rust/pull/29148</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5803" href="#L5803">5803</a><span class="code-text">[1.5s]: https://github.com/rust-lang/rust/pull/29190</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5804" href="#L5804">5804</a><span class="code-text">[1.5d]: https://github.com/rust-lang/rust/pull/29245</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5805" href="#L5805">5805</a><span class="code-text">[1.5o]: https://github.com/rust-lang/rust/pull/29259</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5806" href="#L5806">5806</a><span class="code-text">[1.5nd]: https://github.com/rust-lang/rust/pull/28578</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5807" href="#L5807">5807</a><span class="code-text">[1.5wf2]: https://github.com/rust-lang/rfcs/blob/master/text/1214-projections-lifetimes-and-wf.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5808" href="#L5808">5808</a><span class="code-text">[1.5wf1]: https://github.com/rust-lang/rust/pull/28669</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5809" href="#L5809">5809</a><span class="code-text">[dropck]: https://doc.rust-lang.org/nightly/nomicon/dropck.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5810" href="#L5810">5810</a><span class="code-text">[1.5c]: https://github.com/rust-lang/rust/pull/29110</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5811" href="#L5811">5811</a><span class="code-text">[1.5w]: https://github.com/rust-lang/rfcs/blob/master/text/1241-no-wildcard-deps.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5812" href="#L5812">5812</a><span class="code-text">[`cargo install`]: https://github.com/rust-lang/rfcs/blob/master/text/1200-cargo-install.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5813" href="#L5813">5813</a><span class="code-text">[`BinaryHeap::from`]: http://doc.rust-lang.org/nightly/std/convert/trait.From.html#method.from</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5814" href="#L5814">5814</a><span class="code-text">[`BinaryHeap::into_sorted_vec`]: http://doc.rust-lang.org/nightly/std/collections/struct.BinaryHeap.html#method.into_sorted_vec</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5815" href="#L5815">5815</a><span class="code-text">[`BinaryHeap::into_vec`]: http://doc.rust-lang.org/nightly/std/collections/struct.BinaryHeap.html#method.into_vec</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5816" href="#L5816">5816</a><span class="code-text">[`Condvar::wait_timeout`]: http://doc.rust-lang.org/nightly/std/sync/struct.Condvar.html#method.wait_timeout</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5817" href="#L5817">5817</a><span class="code-text">[`FileTypeExt::is_block_device`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.FileTypeExt.html#tymethod.is_block_device</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5818" href="#L5818">5818</a><span class="code-text">[`FileTypeExt::is_char_device`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.FileTypeExt.html#tymethod.is_char_device</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5819" href="#L5819">5819</a><span class="code-text">[`FileTypeExt::is_fifo`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.FileTypeExt.html#tymethod.is_fifo</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5820" href="#L5820">5820</a><span class="code-text">[`FileTypeExt::is_socket`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.FileTypeExt.html#tymethod.is_socket</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5821" href="#L5821">5821</a><span class="code-text">[`FileTypeExt`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.FileTypeExt.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5822" href="#L5822">5822</a><span class="code-text">[`Formatter::alternate`]: http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.alternate</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5823" href="#L5823">5823</a><span class="code-text">[`Formatter::fill`]: http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.fill</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5824" href="#L5824">5824</a><span class="code-text">[`Formatter::precision`]: http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.precision</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5825" href="#L5825">5825</a><span class="code-text">[`Formatter::sign_aware_zero_pad`]: http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.sign_aware_zero_pad</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5826" href="#L5826">5826</a><span class="code-text">[`Formatter::sign_minus`]: http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.sign_minus</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5827" href="#L5827">5827</a><span class="code-text">[`Formatter::sign_plus`]: http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.sign_plus</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5828" href="#L5828">5828</a><span class="code-text">[`Formatter::width`]: http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.width</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5829" href="#L5829">5829</a><span class="code-text">[`Iterator::cmp`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.cmp</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5830" href="#L5830">5830</a><span class="code-text">[`Iterator::eq`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.eq</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5831" href="#L5831">5831</a><span class="code-text">[`Iterator::ge`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.ge</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5832" href="#L5832">5832</a><span class="code-text">[`Iterator::gt`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.gt</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5833" href="#L5833">5833</a><span class="code-text">[`Iterator::le`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.le</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5834" href="#L5834">5834</a><span class="code-text">[`Iterator::lt`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.lt</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5835" href="#L5835">5835</a><span class="code-text">[`Iterator::ne`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.ne</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5836" href="#L5836">5836</a><span class="code-text">[`Iterator::partial_cmp`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.partial_cmp</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5837" href="#L5837">5837</a><span class="code-text">[`Path::canonicalize`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.canonicalize</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5838" href="#L5838">5838</a><span class="code-text">[`Path::exists`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.exists</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5839" href="#L5839">5839</a><span class="code-text">[`Path::is_dir`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.is_dir</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5840" href="#L5840">5840</a><span class="code-text">[`Path::is_file`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.is_file</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5841" href="#L5841">5841</a><span class="code-text">[`Path::metadata`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.metadata</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5842" href="#L5842">5842</a><span class="code-text">[`Path::read_dir`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.read_dir</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5843" href="#L5843">5843</a><span class="code-text">[`Path::read_link`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.read_link</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5844" href="#L5844">5844</a><span class="code-text">[`Path::symlink_metadata`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.symlink_metadata</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5845" href="#L5845">5845</a><span class="code-text">[`Utf8Error::valid_up_to`]: http://doc.rust-lang.org/nightly/core/str/struct.Utf8Error.html#method.valid_up_to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5846" href="#L5846">5846</a><span class="code-text">[`Vec::resize`]: http://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#method.resize</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5847" href="#L5847">5847</a><span class="code-text">[`VecDeque::as_mut_slices`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.as_mut_slices</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5848" href="#L5848">5848</a><span class="code-text">[`VecDeque::as_slices`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.as_slices</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5849" href="#L5849">5849</a><span class="code-text">[`VecDeque::insert`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.insert</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5850" href="#L5850">5850</a><span class="code-text">[`VecDeque::shrink_to_fit`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.shrink_to_fit</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5851" href="#L5851">5851</a><span class="code-text">[`VecDeque::swap_remove_back`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.swap_remove_back</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5852" href="#L5852">5852</a><span class="code-text">[`VecDeque::swap_remove_front`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.swap_remove_front</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5853" href="#L5853">5853</a><span class="code-text">[`slice::split_first_mut`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.split_first_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5854" href="#L5854">5854</a><span class="code-text">[`slice::split_first`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.split_first</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5855" href="#L5855">5855</a><span class="code-text">[`slice::split_last_mut`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.split_last_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5856" href="#L5856">5856</a><span class="code-text">[`slice::split_last`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.split_last</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5857" href="#L5857">5857</a><span class="code-text">[`char::from_u32_unchecked`]: http://doc.rust-lang.org/nightly/std/char/fn.from_u32_unchecked.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5858" href="#L5858">5858</a><span class="code-text">[`fs::canonicalize`]: http://doc.rust-lang.org/nightly/std/fs/fn.canonicalize.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5859" href="#L5859">5859</a><span class="code-text">[`str::MatchIndices`]: http://doc.rust-lang.org/nightly/std/str/struct.MatchIndices.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5860" href="#L5860">5860</a><span class="code-text">[`str::RMatchIndices`]: http://doc.rust-lang.org/nightly/std/str/struct.RMatchIndices.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5861" href="#L5861">5861</a><span class="code-text">[`str::match_indices`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.match_indices</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5862" href="#L5862">5862</a><span class="code-text">[`str::rmatch_indices`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.rmatch_indices</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5863" href="#L5863">5863</a><span class="code-text">[`str::slice_mut_unchecked`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.slice_mut_unchecked</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5864" href="#L5864">5864</a><span class="code-text">[`string::ParseError`]: http://doc.rust-lang.org/nightly/std/string/enum.ParseError.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5865" href="#L5865">5865</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5866" href="#L5866">5866</a><span class="code-text">Version 1.4.0 (2015-10-29)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5867" href="#L5867">5867</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5868" href="#L5868">5868</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5869" href="#L5869">5869</a><span class="code-text">* ~1200 changes, numerous bugfixes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5870" href="#L5870">5870</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5871" href="#L5871">5871</a><span class="code-text">Highlights</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5872" href="#L5872">5872</a><span class="code-text">----------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5873" href="#L5873">5873</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5874" href="#L5874">5874</a><span class="code-text">* Windows builds targeting the 64-bit MSVC ABI and linker (instead of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5875" href="#L5875">5875</a><span class="code-text">  GNU) are now supported and recommended for use.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5876" href="#L5876">5876</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5877" href="#L5877">5877</a><span class="code-text">Breaking Changes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5878" href="#L5878">5878</a><span class="code-text">----------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5879" href="#L5879">5879</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5880" href="#L5880">5880</a><span class="code-text">* [Several changes have been made to fix type soundness and improve</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5881" href="#L5881">5881</a><span class="code-text">  the behavior of associated types][sound]. See [RFC 1214]. Although</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5882" href="#L5882">5882</a><span class="code-text">  we have mostly introduced these changes as warnings this release, to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5883" href="#L5883">5883</a><span class="code-text">  become errors next release, there are still some scenarios that will</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5884" href="#L5884">5884</a><span class="code-text">  see immediate breakage.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5885" href="#L5885">5885</a><span class="code-text">* [The `str::lines` and `BufRead::lines` iterators treat `\r\n` as</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5886" href="#L5886">5886</a><span class="code-text">  line breaks in addition to `\n`][crlf].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5887" href="#L5887">5887</a><span class="code-text">* [Loans of `'static` lifetime extend to the end of a function][stat].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5888" href="#L5888">5888</a><span class="code-text">* [`str::parse` no longer introduces avoidable rounding error when</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5889" href="#L5889">5889</a><span class="code-text">  parsing floating point numbers. Together with earlier changes to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5890" href="#L5890">5890</a><span class="code-text">  float formatting/output, &quot;round trips&quot; like f.to_string().parse()</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5891" href="#L5891">5891</a><span class="code-text">  now preserve the value of f exactly. Additionally, leading plus</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5892" href="#L5892">5892</a><span class="code-text">  signs are now accepted][fp3].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5893" href="#L5893">5893</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5894" href="#L5894">5894</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5895" href="#L5895">5895</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5896" href="#L5896">5896</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5897" href="#L5897">5897</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5898" href="#L5898">5898</a><span class="code-text">* `use` statements that import multiple items [can now rename</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5899" href="#L5899">5899</a><span class="code-text">  them][i], as in `use foo::{bar as kitten, baz as puppy}`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5900" href="#L5900">5900</a><span class="code-text">* [Binops work correctly on fat pointers][binfat].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5901" href="#L5901">5901</a><span class="code-text">* `pub extern crate`, which does not behave as expected, [issues a</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5902" href="#L5902">5902</a><span class="code-text">  warning][pec] until a better solution is found.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5903" href="#L5903">5903</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5904" href="#L5904">5904</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5905" href="#L5905">5905</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5906" href="#L5906">5906</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5907" href="#L5907">5907</a><span class="code-text">* [Many APIs were stabilized][stab]: `&lt;Box&lt;str&gt;&gt;::into_string`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5908" href="#L5908">5908</a><span class="code-text">  [`Arc::downgrade`], [`Arc::get_mut`], [`Arc::make_mut`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5909" href="#L5909">5909</a><span class="code-text">  [`Arc::try_unwrap`], [`Box::from_raw`], [`Box::into_raw`], [`CStr::to_str`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5910" href="#L5910">5910</a><span class="code-text">  [`CStr::to_string_lossy`], [`CString::from_raw`], [`CString::into_raw`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5911" href="#L5911">5911</a><span class="code-text">  [`IntoRawFd::into_raw_fd`], [`IntoRawFd`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5912" href="#L5912">5912</a><span class="code-text">  `IntoRawHandle::into_raw_handle`, `IntoRawHandle`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5913" href="#L5913">5913</a><span class="code-text">  `IntoRawSocket::into_raw_socket`, `IntoRawSocket`, [`Rc::downgrade`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5914" href="#L5914">5914</a><span class="code-text">  [`Rc::get_mut`], [`Rc::make_mut`], [`Rc::try_unwrap`], [`Result::expect`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5915" href="#L5915">5915</a><span class="code-text">  [`String::into_boxed_str`], [`TcpStream::read_timeout`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5916" href="#L5916">5916</a><span class="code-text">  [`TcpStream::set_read_timeout`], [`TcpStream::set_write_timeout`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5917" href="#L5917">5917</a><span class="code-text">  [`TcpStream::write_timeout`], [`UdpSocket::read_timeout`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5918" href="#L5918">5918</a><span class="code-text">  [`UdpSocket::set_read_timeout`], [`UdpSocket::set_write_timeout`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5919" href="#L5919">5919</a><span class="code-text">  [`UdpSocket::write_timeout`], `Vec::append`, `Vec::split_off`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5920" href="#L5920">5920</a><span class="code-text">  [`VecDeque::append`], [`VecDeque::retain`], [`VecDeque::split_off`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5921" href="#L5921">5921</a><span class="code-text">  [`rc::Weak::upgrade`], [`rc::Weak`], [`slice::Iter::as_slice`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5922" href="#L5922">5922</a><span class="code-text">  [`slice::IterMut::into_slice`], [`str::CharIndices::as_str`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5923" href="#L5923">5923</a><span class="code-text">  [`str::Chars::as_str`], [`str::split_at_mut`], [`str::split_at`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5924" href="#L5924">5924</a><span class="code-text">  [`sync::Weak::upgrade`], [`sync::Weak`], [`thread::park_timeout`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5925" href="#L5925">5925</a><span class="code-text">  [`thread::sleep`].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5926" href="#L5926">5926</a><span class="code-text">* [Some APIs were deprecated][dep]: `BTreeMap::with_b`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5927" href="#L5927">5927</a><span class="code-text">  `BTreeSet::with_b`, `Option::as_mut_slice`, `Option::as_slice`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5928" href="#L5928">5928</a><span class="code-text">  `Result::as_mut_slice`, `Result::as_slice`, `f32::from_str_radix`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5929" href="#L5929">5929</a><span class="code-text">  `f64::from_str_radix`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5930" href="#L5930">5930</a><span class="code-text">* [Reverse-searching strings is faster with the 'two-way'</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5931" href="#L5931">5931</a><span class="code-text">  algorithm][s].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5932" href="#L5932">5932</a><span class="code-text">* [`std::io::copy` allows `?Sized` arguments][cc].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5933" href="#L5933">5933</a><span class="code-text">* The `Windows`, `Chunks`, and `ChunksMut` iterators over slices all</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5934" href="#L5934">5934</a><span class="code-text">  [override `count`, `nth` and `last` with an O(1)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5935" href="#L5935">5935</a><span class="code-text">  implementation][it].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5936" href="#L5936">5936</a><span class="code-text">* [`Default` is implemented for arrays up to `[T; 32]`][d].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5937" href="#L5937">5937</a><span class="code-text">* [`IntoRawFd` has been added to the Unix-specific prelude,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5938" href="#L5938">5938</a><span class="code-text">  `IntoRawSocket` and `IntoRawHandle` to the Windows-specific</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5939" href="#L5939">5939</a><span class="code-text">  prelude][pr].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5940" href="#L5940">5940</a><span class="code-text">* [`Extend&lt;String&gt;` and `FromIterator&lt;String` are both implemented for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5941" href="#L5941">5941</a><span class="code-text">  `String`][es].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5942" href="#L5942">5942</a><span class="code-text">* [`IntoIterator` is implemented for references to `Option` and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5943" href="#L5943">5943</a><span class="code-text">  `Result`][into2].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5944" href="#L5944">5944</a><span class="code-text">* [`HashMap` and `HashSet` implement `Extend&lt;&amp;T&gt;` where `T:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5945" href="#L5945">5945</a><span class="code-text">  Copy`][ext] as part of [RFC 839]. This will cause type inference</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5946" href="#L5946">5946</a><span class="code-text">  breakage in rare situations.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5947" href="#L5947">5947</a><span class="code-text">* [`BinaryHeap` implements `Debug`][bh2].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5948" href="#L5948">5948</a><span class="code-text">* [`Borrow` and `BorrowMut` are implemented for fixed-size</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5949" href="#L5949">5949</a><span class="code-text">  arrays][bm].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5950" href="#L5950">5950</a><span class="code-text">* [`extern fn`s with the &quot;Rust&quot; and &quot;C&quot; ABIs implement common</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5951" href="#L5951">5951</a><span class="code-text">  traits including `Eq`, `Ord`, `Debug`, `Hash`][fp].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5952" href="#L5952">5952</a><span class="code-text">* [String comparison is faster][faststr].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5953" href="#L5953">5953</a><span class="code-text">* `&amp;mut T` where `T: std::fmt::Write` [also implements</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5954" href="#L5954">5954</a><span class="code-text">  `std::fmt::Write`][mutw].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5955" href="#L5955">5955</a><span class="code-text">* [A stable regression in `VecDeque::push_back` and other</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5956" href="#L5956">5956</a><span class="code-text">  capacity-altering methods that caused panics for zero-sized types</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5957" href="#L5957">5957</a><span class="code-text">  was fixed][vd].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5958" href="#L5958">5958</a><span class="code-text">* [Function pointers implement traits for up to 12 parameters][fp2].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5959" href="#L5959">5959</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5960" href="#L5960">5960</a><span class="code-text">Miscellaneous</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5961" href="#L5961">5961</a><span class="code-text">-------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5962" href="#L5962">5962</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5963" href="#L5963">5963</a><span class="code-text">* The compiler [no longer uses the 'morestack' feature to prevent</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5964" href="#L5964">5964</a><span class="code-text">  stack overflow][mm]. Instead it uses guard pages and stack</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5965" href="#L5965">5965</a><span class="code-text">  probes (though stack probes are not yet implemented on any platform</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5966" href="#L5966">5966</a><span class="code-text">  but Windows).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5967" href="#L5967">5967</a><span class="code-text">* [The compiler matches traits faster when projections are involved][p].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5968" href="#L5968">5968</a><span class="code-text">* The 'improper_ctypes' lint [no longer warns about use of `isize` and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5969" href="#L5969">5969</a><span class="code-text">  `usize`][ffi].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5970" href="#L5970">5970</a><span class="code-text">* [Cargo now displays useful information about what its doing during</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5971" href="#L5971">5971</a><span class="code-text">  `cargo update`][cu].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5972" href="#L5972">5972</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5973" href="#L5973">5973</a><span class="code-text">[`Arc::downgrade`]: http://doc.rust-lang.org/nightly/alloc/arc/struct.Arc.html#method.downgrade</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5974" href="#L5974">5974</a><span class="code-text">[`Arc::make_mut`]: http://doc.rust-lang.org/nightly/alloc/arc/struct.Arc.html#method.make_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5975" href="#L5975">5975</a><span class="code-text">[`Arc::get_mut`]: http://doc.rust-lang.org/nightly/alloc/arc/struct.Arc.html#method.get_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5976" href="#L5976">5976</a><span class="code-text">[`Arc::try_unwrap`]: http://doc.rust-lang.org/nightly/alloc/arc/struct.Arc.html#method.try_unwrap</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5977" href="#L5977">5977</a><span class="code-text">[`Box::from_raw`]: http://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html#method.from_raw</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5978" href="#L5978">5978</a><span class="code-text">[`Box::into_raw`]: http://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html#method.into_raw</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5979" href="#L5979">5979</a><span class="code-text">[`CStr::to_str`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html#method.to_str</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5980" href="#L5980">5980</a><span class="code-text">[`CStr::to_string_lossy`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html#method.to_string_lossy</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5981" href="#L5981">5981</a><span class="code-text">[`CString::from_raw`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.from_raw</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5982" href="#L5982">5982</a><span class="code-text">[`CString::into_raw`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.into_raw</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5983" href="#L5983">5983</a><span class="code-text">[`IntoRawFd::into_raw_fd`]: http://doc.rust-lang.org/nightly/std/os/unix/io/trait.IntoRawFd.html#tymethod.into_raw_fd</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5984" href="#L5984">5984</a><span class="code-text">[`IntoRawFd`]: http://doc.rust-lang.org/nightly/std/os/unix/io/trait.IntoRawFd.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5985" href="#L5985">5985</a><span class="code-text">[`Rc::downgrade`]: http://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html#method.downgrade</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5986" href="#L5986">5986</a><span class="code-text">[`Rc::get_mut`]: http://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html#method.get_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5987" href="#L5987">5987</a><span class="code-text">[`Rc::make_mut`]: http://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html#method.make_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5988" href="#L5988">5988</a><span class="code-text">[`Rc::try_unwrap`]: http://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html#method.try_unwrap</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5989" href="#L5989">5989</a><span class="code-text">[`Result::expect`]: http://doc.rust-lang.org/nightly/core/result/enum.Result.html#method.expect</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5990" href="#L5990">5990</a><span class="code-text">[`String::into_boxed_str`]: http://doc.rust-lang.org/nightly/collections/string/struct.String.html#method.into_boxed_str</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5991" href="#L5991">5991</a><span class="code-text">[`TcpStream::read_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.read_timeout</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5992" href="#L5992">5992</a><span class="code-text">[`TcpStream::set_read_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_read_timeout</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5993" href="#L5993">5993</a><span class="code-text">[`TcpStream::write_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.write_timeout</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5994" href="#L5994">5994</a><span class="code-text">[`TcpStream::set_write_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_write_timeout</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5995" href="#L5995">5995</a><span class="code-text">[`UdpSocket::read_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.read_timeout</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5996" href="#L5996">5996</a><span class="code-text">[`UdpSocket::set_read_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_read_timeout</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5997" href="#L5997">5997</a><span class="code-text">[`UdpSocket::write_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.write_timeout</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5998" href="#L5998">5998</a><span class="code-text">[`UdpSocket::set_write_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_write_timeout</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L5999" href="#L5999">5999</a><span class="code-text">[`VecDeque::append`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.append</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6000" href="#L6000">6000</a><span class="code-text">[`VecDeque::retain`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.retain</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6001" href="#L6001">6001</a><span class="code-text">[`VecDeque::split_off`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.split_off</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6002" href="#L6002">6002</a><span class="code-text">[`rc::Weak::upgrade`]: http://doc.rust-lang.org/nightly/std/rc/struct.Weak.html#method.upgrade</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6003" href="#L6003">6003</a><span class="code-text">[`rc::Weak`]: http://doc.rust-lang.org/nightly/std/rc/struct.Weak.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6004" href="#L6004">6004</a><span class="code-text">[`slice::Iter::as_slice`]: http://doc.rust-lang.org/nightly/std/slice/struct.Iter.html#method.as_slice</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6005" href="#L6005">6005</a><span class="code-text">[`slice::IterMut::into_slice`]: http://doc.rust-lang.org/nightly/std/slice/struct.IterMut.html#method.into_slice</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6006" href="#L6006">6006</a><span class="code-text">[`str::CharIndices::as_str`]: http://doc.rust-lang.org/nightly/std/str/struct.CharIndices.html#method.as_str</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6007" href="#L6007">6007</a><span class="code-text">[`str::Chars::as_str`]: http://doc.rust-lang.org/nightly/std/str/struct.Chars.html#method.as_str</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6008" href="#L6008">6008</a><span class="code-text">[`str::split_at_mut`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.split_at_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6009" href="#L6009">6009</a><span class="code-text">[`str::split_at`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.split_at</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6010" href="#L6010">6010</a><span class="code-text">[`sync::Weak::upgrade`]: http://doc.rust-lang.org/nightly/std/sync/struct.Weak.html#method.upgrade</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6011" href="#L6011">6011</a><span class="code-text">[`sync::Weak`]: http://doc.rust-lang.org/nightly/std/sync/struct.Weak.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6012" href="#L6012">6012</a><span class="code-text">[`thread::park_timeout`]: http://doc.rust-lang.org/nightly/std/thread/fn.park_timeout.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6013" href="#L6013">6013</a><span class="code-text">[`thread::sleep`]: http://doc.rust-lang.org/nightly/std/thread/fn.sleep.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6014" href="#L6014">6014</a><span class="code-text">[bh2]: https://github.com/rust-lang/rust/pull/28156</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6015" href="#L6015">6015</a><span class="code-text">[binfat]: https://github.com/rust-lang/rust/pull/28270</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6016" href="#L6016">6016</a><span class="code-text">[bm]: https://github.com/rust-lang/rust/pull/28197</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6017" href="#L6017">6017</a><span class="code-text">[cc]: https://github.com/rust-lang/rust/pull/27531</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6018" href="#L6018">6018</a><span class="code-text">[crlf]: https://github.com/rust-lang/rust/pull/28034</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6019" href="#L6019">6019</a><span class="code-text">[cu]: https://github.com/rust-lang/cargo/pull/1931</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6020" href="#L6020">6020</a><span class="code-text">[d]: https://github.com/rust-lang/rust/pull/27825</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6021" href="#L6021">6021</a><span class="code-text">[dep]: https://github.com/rust-lang/rust/pull/28339</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6022" href="#L6022">6022</a><span class="code-text">[es]: https://github.com/rust-lang/rust/pull/27956</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6023" href="#L6023">6023</a><span class="code-text">[ext]: https://github.com/rust-lang/rust/pull/28094</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6024" href="#L6024">6024</a><span class="code-text">[faststr]: https://github.com/rust-lang/rust/pull/28338</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6025" href="#L6025">6025</a><span class="code-text">[ffi]: https://github.com/rust-lang/rust/pull/28779</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6026" href="#L6026">6026</a><span class="code-text">[fp]: https://github.com/rust-lang/rust/pull/28268</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6027" href="#L6027">6027</a><span class="code-text">[fp2]: https://github.com/rust-lang/rust/pull/28560</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6028" href="#L6028">6028</a><span class="code-text">[fp3]: https://github.com/rust-lang/rust/pull/27307</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6029" href="#L6029">6029</a><span class="code-text">[i]: https://github.com/rust-lang/rust/pull/27451</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6030" href="#L6030">6030</a><span class="code-text">[into2]: https://github.com/rust-lang/rust/pull/28039</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6031" href="#L6031">6031</a><span class="code-text">[it]: https://github.com/rust-lang/rust/pull/27652</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6032" href="#L6032">6032</a><span class="code-text">[mm]: https://github.com/rust-lang/rust/pull/27338</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6033" href="#L6033">6033</a><span class="code-text">[mutw]: https://github.com/rust-lang/rust/pull/28368</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6034" href="#L6034">6034</a><span class="code-text">[sound]: https://github.com/rust-lang/rust/pull/27641</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6035" href="#L6035">6035</a><span class="code-text">[p]: https://github.com/rust-lang/rust/pull/27866</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6036" href="#L6036">6036</a><span class="code-text">[pec]: https://github.com/rust-lang/rust/pull/28486</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6037" href="#L6037">6037</a><span class="code-text">[pr]: https://github.com/rust-lang/rust/pull/27896</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6038" href="#L6038">6038</a><span class="code-text">[RFC 839]: https://github.com/rust-lang/rfcs/blob/master/text/0839-embrace-extend-extinguish.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6039" href="#L6039">6039</a><span class="code-text">[RFC 1214]: https://github.com/rust-lang/rfcs/blob/master/text/1214-projections-lifetimes-and-wf.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6040" href="#L6040">6040</a><span class="code-text">[s]: https://github.com/rust-lang/rust/pull/27474</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6041" href="#L6041">6041</a><span class="code-text">[stab]: https://github.com/rust-lang/rust/pull/28339</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6042" href="#L6042">6042</a><span class="code-text">[stat]: https://github.com/rust-lang/rust/pull/28321</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6043" href="#L6043">6043</a><span class="code-text">[vd]: https://github.com/rust-lang/rust/pull/28494</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6044" href="#L6044">6044</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6045" href="#L6045">6045</a><span class="code-text">Version 1.3.0 (2015-09-17)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6046" href="#L6046">6046</a><span class="code-text">==============================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6047" href="#L6047">6047</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6048" href="#L6048">6048</a><span class="code-text">* ~900 changes, numerous bugfixes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6049" href="#L6049">6049</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6050" href="#L6050">6050</a><span class="code-text">Highlights</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6051" href="#L6051">6051</a><span class="code-text">----------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6052" href="#L6052">6052</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6053" href="#L6053">6053</a><span class="code-text">* The [new object lifetime defaults][nold] have been [turned</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6054" href="#L6054">6054</a><span class="code-text">  on][nold2] after a cycle of warnings about the change. Now types</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6055" href="#L6055">6055</a><span class="code-text">  like `&amp;'a Box&lt;Trait&gt;` (or `&amp;'a Rc&lt;Trait&gt;`, etc) will change from</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6056" href="#L6056">6056</a><span class="code-text">  being interpreted as `&amp;'a Box&lt;Trait+'a&gt;` to `&amp;'a</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6057" href="#L6057">6057</a><span class="code-text">  Box&lt;Trait+'static&gt;`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6058" href="#L6058">6058</a><span class="code-text">* [The Rustonomicon][nom] is a new book in the official documentation</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6059" href="#L6059">6059</a><span class="code-text">  that dives into writing unsafe Rust.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6060" href="#L6060">6060</a><span class="code-text">* The [`Duration`] API, [has been stabilized][ds]. This basic unit of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6061" href="#L6061">6061</a><span class="code-text">  timekeeping is employed by other std APIs, as well as out-of-tree</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6062" href="#L6062">6062</a><span class="code-text">  time crates.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6063" href="#L6063">6063</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6064" href="#L6064">6064</a><span class="code-text">Breaking Changes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6065" href="#L6065">6065</a><span class="code-text">----------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6066" href="#L6066">6066</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6067" href="#L6067">6067</a><span class="code-text">* The [new object lifetime defaults][nold] have been [turned</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6068" href="#L6068">6068</a><span class="code-text">  on][nold2] after a cycle of warnings about the change.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6069" href="#L6069">6069</a><span class="code-text">* There is a known [regression][lr] in how object lifetime elision is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6070" href="#L6070">6070</a><span class="code-text">  interpreted, the proper solution for which is undetermined.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6071" href="#L6071">6071</a><span class="code-text">* The `#[prelude_import]` attribute, an internal implementation</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6072" href="#L6072">6072</a><span class="code-text">  detail, was accidentally stabilized previously. [It has been put</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6073" href="#L6073">6073</a><span class="code-text">  behind the `prelude_import` feature gate][pi]. This change is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6074" href="#L6074">6074</a><span class="code-text">  believed to break no existing code.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6075" href="#L6075">6075</a><span class="code-text">* The behavior of [`size_of_val`][dst1] and [`align_of_val`][dst2] is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6076" href="#L6076">6076</a><span class="code-text">  [more sane for dynamically sized types][dst3]. Code that relied on</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6077" href="#L6077">6077</a><span class="code-text">  the previous behavior is thought to be broken.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6078" href="#L6078">6078</a><span class="code-text">* The `dropck` rules, which checks that destructors can't access</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6079" href="#L6079">6079</a><span class="code-text">  destroyed values, [have been updated][dropck] to match the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6080" href="#L6080">6080</a><span class="code-text">  [RFC][dropckrfc]. This fixes some soundness holes, and as such will</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6081" href="#L6081">6081</a><span class="code-text">  cause some previously-compiling code to no longer build.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6082" href="#L6082">6082</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6083" href="#L6083">6083</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6084" href="#L6084">6084</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6085" href="#L6085">6085</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6086" href="#L6086">6086</a><span class="code-text">* The [new object lifetime defaults][nold] have been [turned</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6087" href="#L6087">6087</a><span class="code-text">  on][nold2] after a cycle of warnings about the change.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6088" href="#L6088">6088</a><span class="code-text">* Semicolons may [now follow types and paths in</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6089" href="#L6089">6089</a><span class="code-text">  macros](https://github.com/rust-lang/rust/pull/27000).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6090" href="#L6090">6090</a><span class="code-text">* The behavior of [`size_of_val`][dst1] and [`align_of_val`][dst2] is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6091" href="#L6091">6091</a><span class="code-text">  [more sane for dynamically sized types][dst3]. Code that relied on</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6092" href="#L6092">6092</a><span class="code-text">  the previous behavior is not known to exist, and suspected to be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6093" href="#L6093">6093</a><span class="code-text">  broken.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6094" href="#L6094">6094</a><span class="code-text">* `'static` variables [may now be recursive][st].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6095" href="#L6095">6095</a><span class="code-text">* `ref` bindings choose between [`Deref`] and [`DerefMut`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6096" href="#L6096">6096</a><span class="code-text">  implementations correctly.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6097" href="#L6097">6097</a><span class="code-text">* The `dropck` rules, which checks that destructors can't access</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6098" href="#L6098">6098</a><span class="code-text">  destroyed values, [have been updated][dropck] to match the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6099" href="#L6099">6099</a><span class="code-text">  [RFC][dropckrfc].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6100" href="#L6100">6100</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6101" href="#L6101">6101</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6102" href="#L6102">6102</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6103" href="#L6103">6103</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6104" href="#L6104">6104</a><span class="code-text">* The [`Duration`] API, [has been stabilized][ds], as well as the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6105" href="#L6105">6105</a><span class="code-text">  `std::time` module, which presently contains only `Duration`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6106" href="#L6106">6106</a><span class="code-text">* `Box&lt;str&gt;` and `Box&lt;[T]&gt;` both implement `Clone`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6107" href="#L6107">6107</a><span class="code-text">* The owned C string, [`CString`], implements [`Borrow`] and the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6108" href="#L6108">6108</a><span class="code-text">  borrowed C string, [`CStr`], implements [`ToOwned`]. The two of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6109" href="#L6109">6109</a><span class="code-text">  these allow C strings to be borrowed and cloned in generic code.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6110" href="#L6110">6110</a><span class="code-text">* [`CStr`] implements [`Debug`].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6111" href="#L6111">6111</a><span class="code-text">* [`AtomicPtr`] implements [`Debug`].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6112" href="#L6112">6112</a><span class="code-text">* [`Error`] trait objects [can be downcast to their concrete types][e]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6113" href="#L6113">6113</a><span class="code-text">  in many common configurations, using the [`is`], [`downcast`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6114" href="#L6114">6114</a><span class="code-text">  [`downcast_ref`] and [`downcast_mut`] methods, similarly to the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6115" href="#L6115">6115</a><span class="code-text">  [`Any`] trait.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6116" href="#L6116">6116</a><span class="code-text">* Searching for substrings now [employs the two-way algorithm][search]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6117" href="#L6117">6117</a><span class="code-text">  instead of doing a naive search. This gives major speedups to a</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6118" href="#L6118">6118</a><span class="code-text">  number of methods, including [`contains`][sc], [`find`][sf],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6119" href="#L6119">6119</a><span class="code-text">  [`rfind`][srf], [`split`][ss]. [`starts_with`][ssw] and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6120" href="#L6120">6120</a><span class="code-text">  [`ends_with`][sew] are also faster.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6121" href="#L6121">6121</a><span class="code-text">* The performance of `PartialEq` for slices is [much faster][ps].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6122" href="#L6122">6122</a><span class="code-text">* The [`Hash`] trait offers the default method, [`hash_slice`], which</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6123" href="#L6123">6123</a><span class="code-text">  is overridden and optimized by the implementations for scalars.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6124" href="#L6124">6124</a><span class="code-text">* The [`Hasher`] trait now has a number of specialized `write_*`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6125" href="#L6125">6125</a><span class="code-text">  methods for primitive types, for efficiency.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6126" href="#L6126">6126</a><span class="code-text">* The I/O-specific error type, [`std::io::Error`][ie], gained a set of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6127" href="#L6127">6127</a><span class="code-text">  methods for accessing the 'inner error', if any: [`get_ref`][iegr],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6128" href="#L6128">6128</a><span class="code-text">  [`get_mut`][iegm], [`into_inner`][ieii]. As well, the implementation</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6129" href="#L6129">6129</a><span class="code-text">  of [`std::error::Error::cause`][iec] also delegates to the inner</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6130" href="#L6130">6130</a><span class="code-text">  error.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6131" href="#L6131">6131</a><span class="code-text">* [`process::Child`][pc] gained the [`id`] method, which returns a</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6132" href="#L6132">6132</a><span class="code-text">  `u32` representing the platform-specific process identifier.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6133" href="#L6133">6133</a><span class="code-text">* The [`connect`] method on slices is deprecated, replaced by the new</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6134" href="#L6134">6134</a><span class="code-text">  [`join`] method (note that both of these are on the *unstable*</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6135" href="#L6135">6135</a><span class="code-text">  [`SliceConcatExt`] trait, but through the magic of the prelude are</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6136" href="#L6136">6136</a><span class="code-text">  available to stable code anyway).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6137" href="#L6137">6137</a><span class="code-text">* The [`Div`] operator is implemented for [`Wrapping`] types.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6138" href="#L6138">6138</a><span class="code-text">* [`DerefMut` is implemented for `String`][dms].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6139" href="#L6139">6139</a><span class="code-text">* Performance of SipHash (the default hasher for `HashMap`) is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6140" href="#L6140">6140</a><span class="code-text">  [better for long data][sh].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6141" href="#L6141">6141</a><span class="code-text">* [`AtomicPtr`] implements [`Send`].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6142" href="#L6142">6142</a><span class="code-text">* The [`read_to_end`] implementations for [`Stdin`] and [`File`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6143" href="#L6143">6143</a><span class="code-text">  are now [specialized to use uninitialized buffers for increased</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6144" href="#L6144">6144</a><span class="code-text">  performance][rte].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6145" href="#L6145">6145</a><span class="code-text">* Lifetime parameters of foreign functions [are now resolved</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6146" href="#L6146">6146</a><span class="code-text">  properly][f].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6147" href="#L6147">6147</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6148" href="#L6148">6148</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6149" href="#L6149">6149</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6150" href="#L6150">6150</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6151" href="#L6151">6151</a><span class="code-text">* Rust can now, with some coercion, [produce programs that run on</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6152" href="#L6152">6152</a><span class="code-text">  Windows XP][xp], though XP is not considered a supported platform.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6153" href="#L6153">6153</a><span class="code-text">* Porting Rust on Windows from the GNU toolchain to MSVC continues</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6154" href="#L6154">6154</a><span class="code-text">  ([1][win1], [2][win2], [3][win3], [4][win4]). It is still not</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6155" href="#L6155">6155</a><span class="code-text">  recommended for use in 1.3, though should be fully-functional</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6156" href="#L6156">6156</a><span class="code-text">  in the [64-bit 1.4 beta][b14].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6157" href="#L6157">6157</a><span class="code-text">* On Fedora-based systems installation will [properly configure the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6158" href="#L6158">6158</a><span class="code-text">  dynamic linker][fl].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6159" href="#L6159">6159</a><span class="code-text">* The compiler gained many new extended error descriptions, which can</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6160" href="#L6160">6160</a><span class="code-text">  be accessed with the `--explain` flag.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6161" href="#L6161">6161</a><span class="code-text">* The `dropck` pass, which checks that destructors can't access</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6162" href="#L6162">6162</a><span class="code-text">  destroyed values, [has been rewritten][dropck]. This fixes some</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6163" href="#L6163">6163</a><span class="code-text">  soundness holes, and as such will cause some previously-compiling</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6164" href="#L6164">6164</a><span class="code-text">  code to no longer build.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6165" href="#L6165">6165</a><span class="code-text">* `rustc` now uses [LLVM to write archive files where possible][ar].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6166" href="#L6166">6166</a><span class="code-text">  Eventually this will eliminate the compiler's dependency on the ar</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6167" href="#L6167">6167</a><span class="code-text">  utility.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6168" href="#L6168">6168</a><span class="code-text">* Rust has [preliminary support for i686 FreeBSD][fb] (it has long</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6169" href="#L6169">6169</a><span class="code-text">  supported FreeBSD on x86_64).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6170" href="#L6170">6170</a><span class="code-text">* The [`unused_mut`][lum], [`unconditional_recursion`][lur],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6171" href="#L6171">6171</a><span class="code-text">  [`improper_ctypes`][lic], and [`negate_unsigned`][lnu] lints are</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6172" href="#L6172">6172</a><span class="code-text">  more strict.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6173" href="#L6173">6173</a><span class="code-text">* If landing pads are disabled (with `-Z no-landing-pads`), [`panic!`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6174" href="#L6174">6174</a><span class="code-text">  will kill the process instead of leaking][nlp].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6175" href="#L6175">6175</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6176" href="#L6176">6176</a><span class="code-text">[`Any`]: http://doc.rust-lang.org/nightly/std/any/trait.Any.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6177" href="#L6177">6177</a><span class="code-text">[`AtomicPtr`]: http://doc.rust-lang.org/nightly/std/sync/atomic/struct.AtomicPtr.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6178" href="#L6178">6178</a><span class="code-text">[`Borrow`]: http://doc.rust-lang.org/nightly/std/borrow/trait.Borrow.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6179" href="#L6179">6179</a><span class="code-text">[`CStr`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6180" href="#L6180">6180</a><span class="code-text">[`CString`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6181" href="#L6181">6181</a><span class="code-text">[`Debug`]: http://doc.rust-lang.org/nightly/std/fmt/trait.Debug.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6182" href="#L6182">6182</a><span class="code-text">[`DerefMut`]: http://doc.rust-lang.org/nightly/std/ops/trait.DerefMut.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6183" href="#L6183">6183</a><span class="code-text">[`Deref`]: http://doc.rust-lang.org/nightly/std/ops/trait.Deref.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6184" href="#L6184">6184</a><span class="code-text">[`Div`]: http://doc.rust-lang.org/nightly/std/ops/trait.Div.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6185" href="#L6185">6185</a><span class="code-text">[`Duration`]: http://doc.rust-lang.org/nightly/std/time/struct.Duration.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6186" href="#L6186">6186</a><span class="code-text">[`Error`]: http://doc.rust-lang.org/nightly/std/error/trait.Error.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6187" href="#L6187">6187</a><span class="code-text">[`File`]: http://doc.rust-lang.org/nightly/std/fs/struct.File.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6188" href="#L6188">6188</a><span class="code-text">[`Hash`]: http://doc.rust-lang.org/nightly/std/hash/trait.Hash.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6189" href="#L6189">6189</a><span class="code-text">[`Hasher`]: http://doc.rust-lang.org/nightly/std/hash/trait.Hasher.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6190" href="#L6190">6190</a><span class="code-text">[`Send`]: http://doc.rust-lang.org/nightly/std/marker/trait.Send.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6191" href="#L6191">6191</a><span class="code-text">[`SliceConcatExt`]: http://doc.rust-lang.org/nightly/std/slice/trait.SliceConcatExt.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6192" href="#L6192">6192</a><span class="code-text">[`Stdin`]: http://doc.rust-lang.org/nightly/std/io/struct.Stdin.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6193" href="#L6193">6193</a><span class="code-text">[`ToOwned`]: http://doc.rust-lang.org/nightly/std/borrow/trait.ToOwned.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6194" href="#L6194">6194</a><span class="code-text">[`Wrapping`]: http://doc.rust-lang.org/nightly/std/num/struct.Wrapping.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6195" href="#L6195">6195</a><span class="code-text">[`connect`]: http://doc.rust-lang.org/nightly/std/slice/trait.SliceConcatExt.html#method.connect</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6196" href="#L6196">6196</a><span class="code-text">[`downcast_mut`]: http://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.downcast_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6197" href="#L6197">6197</a><span class="code-text">[`downcast_ref`]: http://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.downcast_ref</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6198" href="#L6198">6198</a><span class="code-text">[`downcast`]: http://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.downcast</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6199" href="#L6199">6199</a><span class="code-text">[`hash_slice`]: http://doc.rust-lang.org/nightly/std/hash/trait.Hash.html#method.hash_slice</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6200" href="#L6200">6200</a><span class="code-text">[`id`]: http://doc.rust-lang.org/nightly/std/process/struct.Child.html#method.id</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6201" href="#L6201">6201</a><span class="code-text">[`is`]: http://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6202" href="#L6202">6202</a><span class="code-text">[`join`]: http://doc.rust-lang.org/nightly/std/slice/trait.SliceConcatExt.html#method.join</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6203" href="#L6203">6203</a><span class="code-text">[`read_to_end`]: http://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.read_to_end</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6204" href="#L6204">6204</a><span class="code-text">[ar]: https://github.com/rust-lang/rust/pull/26926</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6205" href="#L6205">6205</a><span class="code-text">[b14]: https://static.rust-lang.org/dist/rust-beta-x86_64-pc-windows-msvc.msi</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6206" href="#L6206">6206</a><span class="code-text">[dms]: https://github.com/rust-lang/rust/pull/26241</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6207" href="#L6207">6207</a><span class="code-text">[dropck]: https://github.com/rust-lang/rust/pull/27261</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6208" href="#L6208">6208</a><span class="code-text">[dropckrfc]: https://github.com/rust-lang/rfcs/blob/master/text/0769-sound-generic-drop.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6209" href="#L6209">6209</a><span class="code-text">[ds]: https://github.com/rust-lang/rust/pull/26818</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6210" href="#L6210">6210</a><span class="code-text">[dst1]: http://doc.rust-lang.org/nightly/std/mem/fn.size_of_val.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6211" href="#L6211">6211</a><span class="code-text">[dst2]: http://doc.rust-lang.org/nightly/std/mem/fn.align_of_val.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6212" href="#L6212">6212</a><span class="code-text">[dst3]: https://github.com/rust-lang/rust/pull/27351</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6213" href="#L6213">6213</a><span class="code-text">[e]: https://github.com/rust-lang/rust/pull/24793</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6214" href="#L6214">6214</a><span class="code-text">[f]: https://github.com/rust-lang/rust/pull/26588</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6215" href="#L6215">6215</a><span class="code-text">[fb]: https://github.com/rust-lang/rust/pull/26959</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6216" href="#L6216">6216</a><span class="code-text">[fl]: https://github.com/rust-lang/rust-installer/pull/41</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6217" href="#L6217">6217</a><span class="code-text">[hs]: http://doc.rust-lang.org/nightly/std/hash/trait.Hash.html#method.hash_slice</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6218" href="#L6218">6218</a><span class="code-text">[ie]: http://doc.rust-lang.org/nightly/std/io/struct.Error.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6219" href="#L6219">6219</a><span class="code-text">[iec]: http://doc.rust-lang.org/nightly/std/io/struct.Error.html#method.cause</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6220" href="#L6220">6220</a><span class="code-text">[iegm]: http://doc.rust-lang.org/nightly/std/io/struct.Error.html#method.get_mut</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6221" href="#L6221">6221</a><span class="code-text">[iegr]: http://doc.rust-lang.org/nightly/std/io/struct.Error.html#method.get_ref</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6222" href="#L6222">6222</a><span class="code-text">[ieii]: http://doc.rust-lang.org/nightly/std/io/struct.Error.html#method.into_inner</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6223" href="#L6223">6223</a><span class="code-text">[lic]: https://github.com/rust-lang/rust/pull/26583</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6224" href="#L6224">6224</a><span class="code-text">[lnu]: https://github.com/rust-lang/rust/pull/27026</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6225" href="#L6225">6225</a><span class="code-text">[lr]: https://github.com/rust-lang/rust/issues/27248</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6226" href="#L6226">6226</a><span class="code-text">[lum]: https://github.com/rust-lang/rust/pull/26378</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6227" href="#L6227">6227</a><span class="code-text">[lur]: https://github.com/rust-lang/rust/pull/26783</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6228" href="#L6228">6228</a><span class="code-text">[nlp]: https://github.com/rust-lang/rust/pull/27176</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6229" href="#L6229">6229</a><span class="code-text">[nold2]: https://github.com/rust-lang/rust/pull/27045</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6230" href="#L6230">6230</a><span class="code-text">[nold]: https://github.com/rust-lang/rfcs/blob/master/text/1156-adjust-default-object-bounds.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6231" href="#L6231">6231</a><span class="code-text">[nom]: http://doc.rust-lang.org/nightly/nomicon/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6232" href="#L6232">6232</a><span class="code-text">[pc]: http://doc.rust-lang.org/nightly/std/process/struct.Child.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6233" href="#L6233">6233</a><span class="code-text">[pi]: https://github.com/rust-lang/rust/pull/26699</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6234" href="#L6234">6234</a><span class="code-text">[ps]: https://github.com/rust-lang/rust/pull/26884</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6235" href="#L6235">6235</a><span class="code-text">[rte]: https://github.com/rust-lang/rust/pull/26950</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6236" href="#L6236">6236</a><span class="code-text">[sc]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.contains</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6237" href="#L6237">6237</a><span class="code-text">[search]: https://github.com/rust-lang/rust/pull/26327</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6238" href="#L6238">6238</a><span class="code-text">[sew]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.ends_with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6239" href="#L6239">6239</a><span class="code-text">[sf]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.find</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6240" href="#L6240">6240</a><span class="code-text">[sh]: https://github.com/rust-lang/rust/pull/27280</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6241" href="#L6241">6241</a><span class="code-text">[srf]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.rfind</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6242" href="#L6242">6242</a><span class="code-text">[ss]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.split</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6243" href="#L6243">6243</a><span class="code-text">[ssw]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.starts_with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6244" href="#L6244">6244</a><span class="code-text">[st]: https://github.com/rust-lang/rust/pull/26630</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6245" href="#L6245">6245</a><span class="code-text">[win1]: https://github.com/rust-lang/rust/pull/26569</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6246" href="#L6246">6246</a><span class="code-text">[win2]: https://github.com/rust-lang/rust/pull/26741</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6247" href="#L6247">6247</a><span class="code-text">[win3]: https://github.com/rust-lang/rust/pull/26741</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6248" href="#L6248">6248</a><span class="code-text">[win4]: https://github.com/rust-lang/rust/pull/27210</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6249" href="#L6249">6249</a><span class="code-text">[xp]: https://github.com/rust-lang/rust/pull/26569</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6250" href="#L6250">6250</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6251" href="#L6251">6251</a><span class="code-text">Version 1.2.0 (2015-08-07)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6252" href="#L6252">6252</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6253" href="#L6253">6253</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6254" href="#L6254">6254</a><span class="code-text">* ~1200 changes, numerous bugfixes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6255" href="#L6255">6255</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6256" href="#L6256">6256</a><span class="code-text">Highlights</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6257" href="#L6257">6257</a><span class="code-text">----------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6258" href="#L6258">6258</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6259" href="#L6259">6259</a><span class="code-text">* [Dynamically-sized-type coercions][dst] allow smart pointer types</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6260" href="#L6260">6260</a><span class="code-text">  like `Rc` to contain types without a fixed size, arrays and trait</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6261" href="#L6261">6261</a><span class="code-text">  objects, finally enabling use of `Rc&lt;[T]&gt;` and completing the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6262" href="#L6262">6262</a><span class="code-text">  implementation of DST.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6263" href="#L6263">6263</a><span class="code-text">* [Parallel codegen][parcodegen] is now working again, which can</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6264" href="#L6264">6264</a><span class="code-text">  substantially speed up large builds in debug mode; It also gets</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6265" href="#L6265">6265</a><span class="code-text">  another ~33% speedup when bootstrapping on a 4 core machine (using 8</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6266" href="#L6266">6266</a><span class="code-text">  jobs). It's not enabled by default, but will be &quot;in the near</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6267" href="#L6267">6267</a><span class="code-text">  future&quot;. It can be activated with the `-C codegen-units=N` flag to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6268" href="#L6268">6268</a><span class="code-text">  `rustc`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6269" href="#L6269">6269</a><span class="code-text">* This is the first release with [experimental support for linking</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6270" href="#L6270">6270</a><span class="code-text">  with the MSVC linker and lib C on Windows (instead of using the GNU</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6271" href="#L6271">6271</a><span class="code-text">  variants via MinGW)][win]. It is yet recommended only for the most</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6272" href="#L6272">6272</a><span class="code-text">  intrepid Rustaceans.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6273" href="#L6273">6273</a><span class="code-text">* Benchmark compilations are showing a 30% improvement in</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6274" href="#L6274">6274</a><span class="code-text">  bootstrapping over 1.1.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6275" href="#L6275">6275</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6276" href="#L6276">6276</a><span class="code-text">Breaking Changes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6277" href="#L6277">6277</a><span class="code-text">----------------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6278" href="#L6278">6278</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6279" href="#L6279">6279</a><span class="code-text">* The [`to_uppercase`] and [`to_lowercase`] methods on `char` now do</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6280" href="#L6280">6280</a><span class="code-text">  unicode case mapping, which is a previously-planned change in</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6281" href="#L6281">6281</a><span class="code-text">  behavior and considered a bugfix.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6282" href="#L6282">6282</a><span class="code-text">* [`mem::align_of`] now specifies [the *minimum alignment* for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6283" href="#L6283">6283</a><span class="code-text">  T][align], which is usually the alignment programs are interested</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6284" href="#L6284">6284</a><span class="code-text">  in, and the same value reported by clang's</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6285" href="#L6285">6285</a><span class="code-text">  `alignof`. [`mem::min_align_of`] is deprecated. This is not known to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6286" href="#L6286">6286</a><span class="code-text">  break real code.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6287" href="#L6287">6287</a><span class="code-text">* [The `#[packed]` attribute is no longer silently accepted by the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6288" href="#L6288">6288</a><span class="code-text">  compiler][packed]. This attribute did nothing and code that</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6289" href="#L6289">6289</a><span class="code-text">  mentioned it likely did not work as intended.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6290" href="#L6290">6290</a><span class="code-text">* Associated type defaults are [now behind the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6291" href="#L6291">6291</a><span class="code-text">  `associated_type_defaults` feature gate][ad]. In 1.1 associated type</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6292" href="#L6292">6292</a><span class="code-text">  defaults *did not work*, but could be mentioned syntactically. As</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6293" href="#L6293">6293</a><span class="code-text">  such this breakage has minimal impact.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6294" href="#L6294">6294</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6295" href="#L6295">6295</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6296" href="#L6296">6296</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6297" href="#L6297">6297</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6298" href="#L6298">6298</a><span class="code-text">* Patterns with `ref mut` now correctly invoke [`DerefMut`] when</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6299" href="#L6299">6299</a><span class="code-text">  matching against dereferenceable values.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6300" href="#L6300">6300</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6301" href="#L6301">6301</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6302" href="#L6302">6302</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6303" href="#L6303">6303</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6304" href="#L6304">6304</a><span class="code-text">* The [`Extend`] trait, which grows a collection from an iterator, is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6305" href="#L6305">6305</a><span class="code-text">  implemented over iterators of references, for `String`, `Vec`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6306" href="#L6306">6306</a><span class="code-text">  `LinkedList`, `VecDeque`, `EnumSet`, `BinaryHeap`, `VecMap`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6307" href="#L6307">6307</a><span class="code-text">  `BTreeSet` and `BTreeMap`. [RFC][extend-rfc].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6308" href="#L6308">6308</a><span class="code-text">* The [`iter::once`] function returns an iterator that yields a single</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6309" href="#L6309">6309</a><span class="code-text">  element, and [`iter::empty`] returns an iterator that yields no</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6310" href="#L6310">6310</a><span class="code-text">  elements.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6311" href="#L6311">6311</a><span class="code-text">* The [`matches`] and [`rmatches`] methods on `str` return iterators</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6312" href="#L6312">6312</a><span class="code-text">  over substring matches.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6313" href="#L6313">6313</a><span class="code-text">* [`Cell`] and [`RefCell`] both implement `Eq`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6314" href="#L6314">6314</a><span class="code-text">* A number of methods for wrapping arithmetic are added to the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6315" href="#L6315">6315</a><span class="code-text">  integral types, [`wrapping_div`], [`wrapping_rem`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6316" href="#L6316">6316</a><span class="code-text">  [`wrapping_neg`], [`wrapping_shl`], [`wrapping_shr`]. These are in</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6317" href="#L6317">6317</a><span class="code-text">  addition to the existing [`wrapping_add`], [`wrapping_sub`], and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6318" href="#L6318">6318</a><span class="code-text">  [`wrapping_mul`] methods, and alternatives to the [`Wrapping`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6319" href="#L6319">6319</a><span class="code-text">  type.. It is illegal for the default arithmetic operations in Rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6320" href="#L6320">6320</a><span class="code-text">  to overflow; the desire to wrap must be explicit.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6321" href="#L6321">6321</a><span class="code-text">* The `{:#?}` formatting specifier [displays the alternate,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6322" href="#L6322">6322</a><span class="code-text">  pretty-printed][debugfmt] form of the `Debug` formatter. This</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6323" href="#L6323">6323</a><span class="code-text">  feature was actually introduced prior to 1.0 with little</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6324" href="#L6324">6324</a><span class="code-text">  fanfare.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6325" href="#L6325">6325</a><span class="code-text">* [`fmt::Formatter`] implements [`fmt::Write`], a `fmt`-specific trait</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6326" href="#L6326">6326</a><span class="code-text">  for writing data to formatted strings, similar to [`io::Write`].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6327" href="#L6327">6327</a><span class="code-text">* [`fmt::Formatter`] adds 'debug builder' methods, [`debug_struct`],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6328" href="#L6328">6328</a><span class="code-text">  [`debug_tuple`], [`debug_list`], [`debug_set`], [`debug_map`]. These</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6329" href="#L6329">6329</a><span class="code-text">  are used by code generators to emit implementations of [`Debug`].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6330" href="#L6330">6330</a><span class="code-text">* `str` has new [`to_uppercase`][strup] and [`to_lowercase`][strlow]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6331" href="#L6331">6331</a><span class="code-text">  methods that convert case, following Unicode case mapping.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6332" href="#L6332">6332</a><span class="code-text">* It is now easier to handle poisoned locks. The [`PoisonError`]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6333" href="#L6333">6333</a><span class="code-text">  type, returned by failing lock operations, exposes `into_inner`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6334" href="#L6334">6334</a><span class="code-text">  `get_ref`, and `get_mut`, which all give access to the inner lock</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6335" href="#L6335">6335</a><span class="code-text">  guard, and allow the poisoned lock to continue to operate. The</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6336" href="#L6336">6336</a><span class="code-text">  `is_poisoned` method of [`RwLock`] and [`Mutex`] can poll for a</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6337" href="#L6337">6337</a><span class="code-text">  poisoned lock without attempting to take the lock.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6338" href="#L6338">6338</a><span class="code-text">* On Unix the [`FromRawFd`] trait is implemented for [`Stdio`], and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6339" href="#L6339">6339</a><span class="code-text">  [`AsRawFd`] for [`ChildStdin`], [`ChildStdout`], [`ChildStderr`].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6340" href="#L6340">6340</a><span class="code-text">  On Windows the `FromRawHandle` trait is implemented for `Stdio`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6341" href="#L6341">6341</a><span class="code-text">  and `AsRawHandle` for `ChildStdin`, `ChildStdout`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6342" href="#L6342">6342</a><span class="code-text">  `ChildStderr`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6343" href="#L6343">6343</a><span class="code-text">* [`io::ErrorKind`] has a new variant, `InvalidData`, which indicates</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6344" href="#L6344">6344</a><span class="code-text">  malformed input.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6345" href="#L6345">6345</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6346" href="#L6346">6346</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6347" href="#L6347">6347</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6348" href="#L6348">6348</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6349" href="#L6349">6349</a><span class="code-text">* `rustc` employs smarter heuristics for guessing at [typos].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6350" href="#L6350">6350</a><span class="code-text">* `rustc` emits more efficient code for [no-op conversions between</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6351" href="#L6351">6351</a><span class="code-text">  unsafe pointers][nop].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6352" href="#L6352">6352</a><span class="code-text">* Fat pointers are now [passed in pairs of immediate arguments][fat],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6353" href="#L6353">6353</a><span class="code-text">  resulting in faster compile times and smaller code.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6354" href="#L6354">6354</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6355" href="#L6355">6355</a><span class="code-text">[`Extend`]: https://doc.rust-lang.org/nightly/std/iter/trait.Extend.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6356" href="#L6356">6356</a><span class="code-text">[extend-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0839-embrace-extend-extinguish.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6357" href="#L6357">6357</a><span class="code-text">[`iter::once`]: https://doc.rust-lang.org/nightly/std/iter/fn.once.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6358" href="#L6358">6358</a><span class="code-text">[`iter::empty`]: https://doc.rust-lang.org/nightly/std/iter/fn.empty.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6359" href="#L6359">6359</a><span class="code-text">[`matches`]: https://doc.rust-lang.org/nightly/std/primitive.str.html#method.matches</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6360" href="#L6360">6360</a><span class="code-text">[`rmatches`]: https://doc.rust-lang.org/nightly/std/primitive.str.html#method.rmatches</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6361" href="#L6361">6361</a><span class="code-text">[`Cell`]: https://doc.rust-lang.org/nightly/std/cell/struct.Cell.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6362" href="#L6362">6362</a><span class="code-text">[`RefCell`]: https://doc.rust-lang.org/nightly/std/cell/struct.RefCell.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6363" href="#L6363">6363</a><span class="code-text">[`wrapping_add`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_add</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6364" href="#L6364">6364</a><span class="code-text">[`wrapping_sub`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_sub</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6365" href="#L6365">6365</a><span class="code-text">[`wrapping_mul`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_mul</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6366" href="#L6366">6366</a><span class="code-text">[`wrapping_div`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_div</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6367" href="#L6367">6367</a><span class="code-text">[`wrapping_rem`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_rem</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6368" href="#L6368">6368</a><span class="code-text">[`wrapping_neg`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_neg</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6369" href="#L6369">6369</a><span class="code-text">[`wrapping_shl`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_shl</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6370" href="#L6370">6370</a><span class="code-text">[`wrapping_shr`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_shr</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6371" href="#L6371">6371</a><span class="code-text">[`Wrapping`]: https://doc.rust-lang.org/nightly/std/num/struct.Wrapping.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6372" href="#L6372">6372</a><span class="code-text">[`fmt::Formatter`]: https://doc.rust-lang.org/nightly/std/fmt/struct.Formatter.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6373" href="#L6373">6373</a><span class="code-text">[`fmt::Write`]: https://doc.rust-lang.org/nightly/std/fmt/trait.Write.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6374" href="#L6374">6374</a><span class="code-text">[`io::Write`]: https://doc.rust-lang.org/nightly/std/io/trait.Write.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6375" href="#L6375">6375</a><span class="code-text">[`debug_struct`]: https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.debug_struct</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6376" href="#L6376">6376</a><span class="code-text">[`debug_tuple`]: https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.debug_tuple</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6377" href="#L6377">6377</a><span class="code-text">[`debug_list`]: https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.debug_list</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6378" href="#L6378">6378</a><span class="code-text">[`debug_set`]: https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.debug_set</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6379" href="#L6379">6379</a><span class="code-text">[`debug_map`]: https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.debug_map</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6380" href="#L6380">6380</a><span class="code-text">[`Debug`]: https://doc.rust-lang.org/nightly/std/fmt/trait.Debug.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6381" href="#L6381">6381</a><span class="code-text">[strup]: https://doc.rust-lang.org/nightly/std/primitive.str.html#method.to_uppercase</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6382" href="#L6382">6382</a><span class="code-text">[strlow]: https://doc.rust-lang.org/nightly/std/primitive.str.html#method.to_lowercase</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6383" href="#L6383">6383</a><span class="code-text">[`to_uppercase`]: https://doc.rust-lang.org/nightly/std/primitive.char.html#method.to_uppercase</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6384" href="#L6384">6384</a><span class="code-text">[`to_lowercase`]: https://doc.rust-lang.org/nightly/std/primitive.char.html#method.to_lowercase</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6385" href="#L6385">6385</a><span class="code-text">[`PoisonError`]: https://doc.rust-lang.org/nightly/std/sync/struct.PoisonError.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6386" href="#L6386">6386</a><span class="code-text">[`RwLock`]: https://doc.rust-lang.org/nightly/std/sync/struct.RwLock.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6387" href="#L6387">6387</a><span class="code-text">[`Mutex`]: https://doc.rust-lang.org/nightly/std/sync/struct.Mutex.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6388" href="#L6388">6388</a><span class="code-text">[`FromRawFd`]: https://doc.rust-lang.org/nightly/std/os/unix/io/trait.FromRawFd.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6389" href="#L6389">6389</a><span class="code-text">[`AsRawFd`]: https://doc.rust-lang.org/nightly/std/os/unix/io/trait.AsRawFd.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6390" href="#L6390">6390</a><span class="code-text">[`Stdio`]: https://doc.rust-lang.org/nightly/std/process/struct.Stdio.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6391" href="#L6391">6391</a><span class="code-text">[`ChildStdin`]: https://doc.rust-lang.org/nightly/std/process/struct.ChildStdin.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6392" href="#L6392">6392</a><span class="code-text">[`ChildStdout`]: https://doc.rust-lang.org/nightly/std/process/struct.ChildStdout.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6393" href="#L6393">6393</a><span class="code-text">[`ChildStderr`]: https://doc.rust-lang.org/nightly/std/process/struct.ChildStderr.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6394" href="#L6394">6394</a><span class="code-text">[`io::ErrorKind`]: https://doc.rust-lang.org/nightly/std/io/enum.ErrorKind.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6395" href="#L6395">6395</a><span class="code-text">[debugfmt]: https://www.reddit.com/r/rust/comments/3ceaui/psa_produces_prettyprinted_debug_output/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6396" href="#L6396">6396</a><span class="code-text">[`DerefMut`]: https://doc.rust-lang.org/nightly/std/ops/trait.DerefMut.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6397" href="#L6397">6397</a><span class="code-text">[`mem::align_of`]: https://doc.rust-lang.org/nightly/std/mem/fn.align_of.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6398" href="#L6398">6398</a><span class="code-text">[align]: https://github.com/rust-lang/rust/pull/25646</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6399" href="#L6399">6399</a><span class="code-text">[`mem::min_align_of`]: https://doc.rust-lang.org/nightly/std/mem/fn.min_align_of.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6400" href="#L6400">6400</a><span class="code-text">[typos]: https://github.com/rust-lang/rust/pull/26087</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6401" href="#L6401">6401</a><span class="code-text">[nop]: https://github.com/rust-lang/rust/pull/26336</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6402" href="#L6402">6402</a><span class="code-text">[fat]: https://github.com/rust-lang/rust/pull/26411</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6403" href="#L6403">6403</a><span class="code-text">[dst]: https://github.com/rust-lang/rfcs/blob/master/text/0982-dst-coercion.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6404" href="#L6404">6404</a><span class="code-text">[parcodegen]: https://github.com/rust-lang/rust/pull/26018</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6405" href="#L6405">6405</a><span class="code-text">[packed]: https://github.com/rust-lang/rust/pull/25541</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6406" href="#L6406">6406</a><span class="code-text">[ad]: https://github.com/rust-lang/rust/pull/27382</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6407" href="#L6407">6407</a><span class="code-text">[win]: https://github.com/rust-lang/rust/pull/25350</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6408" href="#L6408">6408</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6409" href="#L6409">6409</a><span class="code-text">Version 1.1.0 (2015-06-25)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6410" href="#L6410">6410</a><span class="code-text">=========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6411" href="#L6411">6411</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6412" href="#L6412">6412</a><span class="code-text">* ~850 changes, numerous bugfixes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6413" href="#L6413">6413</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6414" href="#L6414">6414</a><span class="code-text">Highlights</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6415" href="#L6415">6415</a><span class="code-text">----------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6416" href="#L6416">6416</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6417" href="#L6417">6417</a><span class="code-text">* The [`std::fs` module has been expanded][fs] to expand the set of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6418" href="#L6418">6418</a><span class="code-text">  functionality exposed:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6419" href="#L6419">6419</a><span class="code-text">  * `DirEntry` now supports optimizations like `file_type` and `metadata` which</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6420" href="#L6420">6420</a><span class="code-text">    don't incur a syscall on some platforms.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6421" href="#L6421">6421</a><span class="code-text">  * A `symlink_metadata` function has been added.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6422" href="#L6422">6422</a><span class="code-text">  * The `fs::Metadata` structure now lowers to its OS counterpart, providing</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6423" href="#L6423">6423</a><span class="code-text">    access to all underlying information.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6424" href="#L6424">6424</a><span class="code-text">* The compiler now contains extended explanations of many errors. When an error</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6425" href="#L6425">6425</a><span class="code-text">  with an explanation occurs the compiler suggests using the `--explain` flag</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6426" href="#L6426">6426</a><span class="code-text">  to read the explanation. Error explanations are also [available online][err-index].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6427" href="#L6427">6427</a><span class="code-text">* Thanks to multiple [improvements][sk] to [type checking][pre], as</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6428" href="#L6428">6428</a><span class="code-text">  well as other work, the time to bootstrap the compiler decreased by</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6429" href="#L6429">6429</a><span class="code-text">  32%.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6430" href="#L6430">6430</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6431" href="#L6431">6431</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6432" href="#L6432">6432</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6433" href="#L6433">6433</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6434" href="#L6434">6434</a><span class="code-text">* The [`str::split_whitespace`] method splits a string on unicode</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6435" href="#L6435">6435</a><span class="code-text">  whitespace boundaries.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6436" href="#L6436">6436</a><span class="code-text">* On both Windows and Unix, new extension traits provide conversion of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6437" href="#L6437">6437</a><span class="code-text">  I/O types to and from the underlying system handles. On Unix, these</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6438" href="#L6438">6438</a><span class="code-text">  traits are [`FromRawFd`] and [`AsRawFd`], on Windows `FromRawHandle`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6439" href="#L6439">6439</a><span class="code-text">  and `AsRawHandle`. These are implemented for `File`, `TcpStream`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6440" href="#L6440">6440</a><span class="code-text">  `TcpListener`, and `UpdSocket`. Further implementations for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6441" href="#L6441">6441</a><span class="code-text">  `std::process` will be stabilized later.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6442" href="#L6442">6442</a><span class="code-text">* On Unix, [`std::os::unix::symlink`] creates symlinks. On</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6443" href="#L6443">6443</a><span class="code-text">  Windows, symlinks can be created with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6444" href="#L6444">6444</a><span class="code-text">  `std::os::windows::symlink_dir` and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6445" href="#L6445">6445</a><span class="code-text">  `std::os::windows::symlink_file`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6446" href="#L6446">6446</a><span class="code-text">* The `mpsc::Receiver` type can now be converted into an iterator with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6447" href="#L6447">6447</a><span class="code-text">  `into_iter` on the [`IntoIterator`] trait.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6448" href="#L6448">6448</a><span class="code-text">* `Ipv4Addr` can be created from `u32` with the `From&lt;u32&gt;`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6449" href="#L6449">6449</a><span class="code-text">  implementation of the [`From`] trait.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6450" href="#L6450">6450</a><span class="code-text">* The `Debug` implementation for `RangeFull` [creates output that is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6451" href="#L6451">6451</a><span class="code-text">  more consistent with other implementations][rf].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6452" href="#L6452">6452</a><span class="code-text">* [`Debug` is implemented for `File`][file].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6453" href="#L6453">6453</a><span class="code-text">* The `Default` implementation for `Arc` [no longer requires `Sync +</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6454" href="#L6454">6454</a><span class="code-text">  Send`][arc].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6455" href="#L6455">6455</a><span class="code-text">* [The `Iterator` methods `count`, `nth`, and `last` have been</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6456" href="#L6456">6456</a><span class="code-text">  overridden for slices to have O(1) performance instead of O(n)][si].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6457" href="#L6457">6457</a><span class="code-text">* Incorrect handling of paths on Windows has been improved in both the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6458" href="#L6458">6458</a><span class="code-text">  compiler and the standard library.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6459" href="#L6459">6459</a><span class="code-text">* [`AtomicPtr` gained a `Default` implementation][ap].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6460" href="#L6460">6460</a><span class="code-text">* In accordance with Rust's policy on arithmetic overflow `abs` now</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6461" href="#L6461">6461</a><span class="code-text">  [panics on overflow when debug assertions are enabled][abs].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6462" href="#L6462">6462</a><span class="code-text">* The [`Cloned`] iterator, which was accidentally left unstable for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6463" href="#L6463">6463</a><span class="code-text">  1.0 [has been stabilized][c].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6464" href="#L6464">6464</a><span class="code-text">* The [`Incoming`] iterator, which iterates over incoming TCP</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6465" href="#L6465">6465</a><span class="code-text">  connections, and which was accidentally unnamable in 1.0, [is now</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6466" href="#L6466">6466</a><span class="code-text">  properly exported][inc].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6467" href="#L6467">6467</a><span class="code-text">* [`BinaryHeap`] no longer corrupts itself [when functions called by</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6468" href="#L6468">6468</a><span class="code-text">  `sift_up` or `sift_down` panic][bh].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6469" href="#L6469">6469</a><span class="code-text">* The [`split_off`] method of `LinkedList` [no longer corrupts</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6470" href="#L6470">6470</a><span class="code-text">  the list in certain scenarios][ll].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6471" href="#L6471">6471</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6472" href="#L6472">6472</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6473" href="#L6473">6473</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6474" href="#L6474">6474</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6475" href="#L6475">6475</a><span class="code-text">* Type checking performance [has improved notably][sk] with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6476" href="#L6476">6476</a><span class="code-text">  [multiple improvements][pre].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6477" href="#L6477">6477</a><span class="code-text">* The compiler [suggests code changes][ch] for more errors.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6478" href="#L6478">6478</a><span class="code-text">* rustc and it's build system have experimental support for [building</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6479" href="#L6479">6479</a><span class="code-text">  toolchains against MUSL][m] instead of glibc on Linux.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6480" href="#L6480">6480</a><span class="code-text">* The compiler defines the `target_env` cfg value, which is used for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6481" href="#L6481">6481</a><span class="code-text">  distinguishing toolchains that are otherwise for the same</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6482" href="#L6482">6482</a><span class="code-text">  platform. Presently this is set to `gnu` for common GNU Linux</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6483" href="#L6483">6483</a><span class="code-text">  targets and for MinGW targets, and `musl` for MUSL Linux targets.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6484" href="#L6484">6484</a><span class="code-text">* The [`cargo rustc`][crc] command invokes a build with custom flags</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6485" href="#L6485">6485</a><span class="code-text">  to rustc.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6486" href="#L6486">6486</a><span class="code-text">* [Android executables are always position independent][pie].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6487" href="#L6487">6487</a><span class="code-text">* [The `drop_with_repr_extern` lint warns about mixing `repr(C)`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6488" href="#L6488">6488</a><span class="code-text">  with `Drop`][drop].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6489" href="#L6489">6489</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6490" href="#L6490">6490</a><span class="code-text">[`str::split_whitespace`]: https://doc.rust-lang.org/nightly/std/primitive.str.html#method.split_whitespace</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6491" href="#L6491">6491</a><span class="code-text">[`FromRawFd`]: https://doc.rust-lang.org/nightly/std/os/unix/io/trait.FromRawFd.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6492" href="#L6492">6492</a><span class="code-text">[`AsRawFd`]: https://doc.rust-lang.org/nightly/std/os/unix/io/trait.AsRawFd.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6493" href="#L6493">6493</a><span class="code-text">[`std::os::unix::symlink`]: https://doc.rust-lang.org/nightly/std/os/unix/fs/fn.symlink.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6494" href="#L6494">6494</a><span class="code-text">[`IntoIterator`]: https://doc.rust-lang.org/nightly/std/iter/trait.IntoIterator.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6495" href="#L6495">6495</a><span class="code-text">[`From`]: https://doc.rust-lang.org/nightly/std/convert/trait.From.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6496" href="#L6496">6496</a><span class="code-text">[rf]: https://github.com/rust-lang/rust/pull/24491</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6497" href="#L6497">6497</a><span class="code-text">[err-index]: https://doc.rust-lang.org/error-index.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6498" href="#L6498">6498</a><span class="code-text">[sk]: https://github.com/rust-lang/rust/pull/24615</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6499" href="#L6499">6499</a><span class="code-text">[pre]: https://github.com/rust-lang/rust/pull/25323</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6500" href="#L6500">6500</a><span class="code-text">[file]: https://github.com/rust-lang/rust/pull/24598</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6501" href="#L6501">6501</a><span class="code-text">[ch]: https://github.com/rust-lang/rust/pull/24683</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6502" href="#L6502">6502</a><span class="code-text">[arc]: https://github.com/rust-lang/rust/pull/24695</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6503" href="#L6503">6503</a><span class="code-text">[si]: https://github.com/rust-lang/rust/pull/24701</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6504" href="#L6504">6504</a><span class="code-text">[ap]: https://github.com/rust-lang/rust/pull/24834</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6505" href="#L6505">6505</a><span class="code-text">[m]: https://github.com/rust-lang/rust/pull/24777</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6506" href="#L6506">6506</a><span class="code-text">[fs]: https://github.com/rust-lang/rfcs/blob/master/text/1044-io-fs-2.1.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6507" href="#L6507">6507</a><span class="code-text">[crc]: https://github.com/rust-lang/cargo/pull/1568</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6508" href="#L6508">6508</a><span class="code-text">[pie]: https://github.com/rust-lang/rust/pull/24953</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6509" href="#L6509">6509</a><span class="code-text">[abs]: https://github.com/rust-lang/rust/pull/25441</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6510" href="#L6510">6510</a><span class="code-text">[c]: https://github.com/rust-lang/rust/pull/25496</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6511" href="#L6511">6511</a><span class="code-text">[`Cloned`]: https://doc.rust-lang.org/nightly/std/iter/struct.Cloned.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6512" href="#L6512">6512</a><span class="code-text">[`Incoming`]: https://doc.rust-lang.org/nightly/std/net/struct.Incoming.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6513" href="#L6513">6513</a><span class="code-text">[inc]: https://github.com/rust-lang/rust/pull/25522</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6514" href="#L6514">6514</a><span class="code-text">[bh]: https://github.com/rust-lang/rust/pull/25856</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6515" href="#L6515">6515</a><span class="code-text">[`BinaryHeap`]: https://doc.rust-lang.org/nightly/std/collections/struct.BinaryHeap.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6516" href="#L6516">6516</a><span class="code-text">[ll]: https://github.com/rust-lang/rust/pull/26022</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6517" href="#L6517">6517</a><span class="code-text">[`split_off`]: https://doc.rust-lang.org/nightly/collections/linked_list/struct.LinkedList.html#method.split_off</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6518" href="#L6518">6518</a><span class="code-text">[drop]: https://github.com/rust-lang/rust/pull/24935</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6519" href="#L6519">6519</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6520" href="#L6520">6520</a><span class="code-text">Version 1.0.0 (2015-05-15)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6521" href="#L6521">6521</a><span class="code-text">========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6522" href="#L6522">6522</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6523" href="#L6523">6523</a><span class="code-text">* ~1500 changes, numerous bugfixes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6524" href="#L6524">6524</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6525" href="#L6525">6525</a><span class="code-text">Highlights</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6526" href="#L6526">6526</a><span class="code-text">----------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6527" href="#L6527">6527</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6528" href="#L6528">6528</a><span class="code-text">* The vast majority of the standard library is now `#[stable]`. It is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6529" href="#L6529">6529</a><span class="code-text">  no longer possible to use unstable features with a stable build of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6530" href="#L6530">6530</a><span class="code-text">  the compiler.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6531" href="#L6531">6531</a><span class="code-text">* Many popular crates on [crates.io] now work on the stable release</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6532" href="#L6532">6532</a><span class="code-text">  channel.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6533" href="#L6533">6533</a><span class="code-text">* Arithmetic on basic integer types now [checks for overflow in debug</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6534" href="#L6534">6534</a><span class="code-text">  builds][overflow].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6535" href="#L6535">6535</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6536" href="#L6536">6536</a><span class="code-text">Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6537" href="#L6537">6537</a><span class="code-text">--------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6538" href="#L6538">6538</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6539" href="#L6539">6539</a><span class="code-text">* Several [restrictions have been added to trait coherence][coh] in</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6540" href="#L6540">6540</a><span class="code-text">  order to make it easier for upstream authors to change traits</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6541" href="#L6541">6541</a><span class="code-text">  without breaking downstream code.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6542" href="#L6542">6542</a><span class="code-text">* Digits of binary and octal literals are [lexed more eagerly][lex] to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6543" href="#L6543">6543</a><span class="code-text">  improve error messages and macro behavior. For example, `0b1234` is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6544" href="#L6544">6544</a><span class="code-text">  now lexed as `0b1234` instead of two tokens, `0b1` and `234`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6545" href="#L6545">6545</a><span class="code-text">* Trait bounds [are always invariant][inv], eliminating the need for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6546" href="#L6546">6546</a><span class="code-text">  the `PhantomFn` and `MarkerTrait` lang items, which have been</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6547" href="#L6547">6547</a><span class="code-text">  removed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6548" href="#L6548">6548</a><span class="code-text">* [&quot;-&quot; is no longer a valid character in crate names][cr], the `extern crate</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6549" href="#L6549">6549</a><span class="code-text">  &quot;foo&quot; as bar` syntax has been replaced with `extern crate foo as</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6550" href="#L6550">6550</a><span class="code-text">  bar`, and Cargo now automatically translates &quot;-&quot; in *package* names</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6551" href="#L6551">6551</a><span class="code-text">  to underscore for the crate name.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6552" href="#L6552">6552</a><span class="code-text">* [Lifetime shadowing is an error][lt].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6553" href="#L6553">6553</a><span class="code-text">* [`Send` no longer implies `'static`][send-rfc].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6554" href="#L6554">6554</a><span class="code-text">* [UFCS now supports trait-less associated paths][moar-ufcs] like</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6555" href="#L6555">6555</a><span class="code-text">  `MyType::default()`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6556" href="#L6556">6556</a><span class="code-text">* Primitive types [now have inherent methods][prim-inherent],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6557" href="#L6557">6557</a><span class="code-text">  obviating the need for extension traits like `SliceExt`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6558" href="#L6558">6558</a><span class="code-text">* Methods with `Self: Sized` in their `where` clause are [considered</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6559" href="#L6559">6559</a><span class="code-text">  object-safe][self-sized], allowing many extension traits like</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6560" href="#L6560">6560</a><span class="code-text">  `IteratorExt` to be merged into the traits they extended.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6561" href="#L6561">6561</a><span class="code-text">* You can now [refer to associated types][assoc-where] whose</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6562" href="#L6562">6562</a><span class="code-text">  corresponding trait bounds appear only in a `where` clause.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6563" href="#L6563">6563</a><span class="code-text">* The final bits of [OIBIT landed][oibit-final], meaning that traits</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6564" href="#L6564">6564</a><span class="code-text">  like `Send` and `Sync` are now library-defined.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6565" href="#L6565">6565</a><span class="code-text">* A [Reflect trait][reflect] was introduced, which means that</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6566" href="#L6566">6566</a><span class="code-text">  downcasting via the `Any` trait is effectively limited to concrete</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6567" href="#L6567">6567</a><span class="code-text">  types. This helps retain the potentially-important &quot;parametricity&quot;</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6568" href="#L6568">6568</a><span class="code-text">  property: generic code cannot behave differently for different type</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6569" href="#L6569">6569</a><span class="code-text">  arguments except in minor ways.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6570" href="#L6570">6570</a><span class="code-text">* The `unsafe_destructor` feature is now deprecated in favor of the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6571" href="#L6571">6571</a><span class="code-text">  [new `dropck`][dropck]. This change is a major reduction in unsafe</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6572" href="#L6572">6572</a><span class="code-text">  code.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6573" href="#L6573">6573</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6574" href="#L6574">6574</a><span class="code-text">Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6575" href="#L6575">6575</a><span class="code-text">---------</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6576" href="#L6576">6576</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6577" href="#L6577">6577</a><span class="code-text">* The `thread_local` module [has been renamed to `std::thread`][th].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6578" href="#L6578">6578</a><span class="code-text">* The methods of `IteratorExt` [have been moved to the `Iterator`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6579" href="#L6579">6579</a><span class="code-text">  trait itself][ie].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6580" href="#L6580">6580</a><span class="code-text">* Several traits that implement Rust's conventions for type</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6581" href="#L6581">6581</a><span class="code-text">  conversions, `AsMut`, `AsRef`, `From`, and `Into` have been</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6582" href="#L6582">6582</a><span class="code-text">  [centralized in the `std::convert` module][con].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6583" href="#L6583">6583</a><span class="code-text">* The `FromError` trait [was removed in favor of `From`][fe].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6584" href="#L6584">6584</a><span class="code-text">* The basic sleep function [has moved to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6585" href="#L6585">6585</a><span class="code-text">  `std::thread::sleep_ms`][slp].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6586" href="#L6586">6586</a><span class="code-text">* The `splitn` function now takes an `n` parameter that represents the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6587" href="#L6587">6587</a><span class="code-text">  number of items yielded by the returned iterator [instead of the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6588" href="#L6588">6588</a><span class="code-text">  number of 'splits'][spl].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6589" href="#L6589">6589</a><span class="code-text">* [On Unix, all file descriptors are `CLOEXEC` by default][clo].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6590" href="#L6590">6590</a><span class="code-text">* [Derived implementations of `PartialOrd` now order enums according</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6591" href="#L6591">6591</a><span class="code-text">  to their explicitly-assigned discriminants][po].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6592" href="#L6592">6592</a><span class="code-text">* [Methods for searching strings are generic over `Pattern`s][pat],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6593" href="#L6593">6593</a><span class="code-text">  implemented presently by `&amp;char`, `&amp;str`, `FnMut(char) -&gt; bool` and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6594" href="#L6594">6594</a><span class="code-text">  some others.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6595" href="#L6595">6595</a><span class="code-text">* [In method resolution, object methods are resolved before inherent</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6596" href="#L6596">6596</a><span class="code-text">  methods][meth].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6597" href="#L6597">6597</a><span class="code-text">* [`String::from_str` has been deprecated in favor of the `From` impl,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6598" href="#L6598">6598</a><span class="code-text">  `String::from`][sf].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6599" href="#L6599">6599</a><span class="code-text">* [`io::Error` implements `Sync`][ios].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6600" href="#L6600">6600</a><span class="code-text">* [The `words` method on `&amp;str` has been replaced with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6601" href="#L6601">6601</a><span class="code-text">  `split_whitespace`][sw], to avoid answering the tricky question, 'what is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6602" href="#L6602">6602</a><span class="code-text">  a word?'</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6603" href="#L6603">6603</a><span class="code-text">* The new path and IO modules are complete and `#[stable]`. This</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6604" href="#L6604">6604</a><span class="code-text">  was the major library focus for this cycle.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6605" href="#L6605">6605</a><span class="code-text">* The path API was [revised][path-normalize] to normalize `.`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6606" href="#L6606">6606</a><span class="code-text">  adjusting the tradeoffs in favor of the most common usage.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6607" href="#L6607">6607</a><span class="code-text">* A large number of remaining APIs in `std` were also stabilized</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6608" href="#L6608">6608</a><span class="code-text">  during this cycle; about 75% of the non-deprecated API surface</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6609" href="#L6609">6609</a><span class="code-text">  is now stable.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6610" href="#L6610">6610</a><span class="code-text">* The new [string pattern API][string-pattern] landed, which makes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6611" href="#L6611">6611</a><span class="code-text">  the string slice API much more internally consistent and flexible.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6612" href="#L6612">6612</a><span class="code-text">* A new set of [generic conversion traits][conversion] replaced</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6613" href="#L6613">6613</a><span class="code-text">  many existing ad hoc traits.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6614" href="#L6614">6614</a><span class="code-text">* Generic numeric traits were [completely removed][num-traits]. This</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6615" href="#L6615">6615</a><span class="code-text">  was made possible thanks to inherent methods for primitive types,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6616" href="#L6616">6616</a><span class="code-text">  and the removal gives maximal flexibility for designing a numeric</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6617" href="#L6617">6617</a><span class="code-text">  hierarchy in the future.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6618" href="#L6618">6618</a><span class="code-text">* The `Fn` traits are now related via [inheritance][fn-inherit]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6619" href="#L6619">6619</a><span class="code-text">  and provide ergonomic [blanket implementations][fn-blanket].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6620" href="#L6620">6620</a><span class="code-text">* The `Index` and `IndexMut` traits were changed to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6621" href="#L6621">6621</a><span class="code-text">  [take the index by value][index-value], enabling code like</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6622" href="#L6622">6622</a><span class="code-text">  `hash_map[&quot;string&quot;]` to work.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6623" href="#L6623">6623</a><span class="code-text">* `Copy` now [inherits][copy-clone] from `Clone`, meaning that all</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6624" href="#L6624">6624</a><span class="code-text">  `Copy` data is known to be `Clone` as well.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6625" href="#L6625">6625</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6626" href="#L6626">6626</a><span class="code-text">Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6627" href="#L6627">6627</a><span class="code-text">----</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6628" href="#L6628">6628</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6629" href="#L6629">6629</a><span class="code-text">* Many errors now have extended explanations that can be accessed with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6630" href="#L6630">6630</a><span class="code-text">  the `--explain` flag to `rustc`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6631" href="#L6631">6631</a><span class="code-text">* Many new examples have been added to the standard library</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6632" href="#L6632">6632</a><span class="code-text">  documentation.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6633" href="#L6633">6633</a><span class="code-text">* rustdoc has received a number of improvements focused on completion</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6634" href="#L6634">6634</a><span class="code-text">  and polish.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6635" href="#L6635">6635</a><span class="code-text">* Metadata was tuned, shrinking binaries [by 27%][metadata-shrink].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6636" href="#L6636">6636</a><span class="code-text">* Much headway was made on ecosystem-wide CI, making it possible</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6637" href="#L6637">6637</a><span class="code-text">  to [compare builds for breakage][ci-compare].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6638" href="#L6638">6638</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6639" href="#L6639">6639</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6640" href="#L6640">6640</a><span class="code-text">[crates.io]: http://crates.io</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6641" href="#L6641">6641</a><span class="code-text">[clo]: https://github.com/rust-lang/rust/pull/24034</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6642" href="#L6642">6642</a><span class="code-text">[coh]: https://github.com/rust-lang/rfcs/blob/master/text/1023-rebalancing-coherence.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6643" href="#L6643">6643</a><span class="code-text">[con]: https://github.com/rust-lang/rust/pull/23875</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6644" href="#L6644">6644</a><span class="code-text">[cr]: https://github.com/rust-lang/rust/pull/23419</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6645" href="#L6645">6645</a><span class="code-text">[fe]: https://github.com/rust-lang/rust/pull/23879</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6646" href="#L6646">6646</a><span class="code-text">[ie]: https://github.com/rust-lang/rust/pull/23300</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6647" href="#L6647">6647</a><span class="code-text">[inv]: https://github.com/rust-lang/rust/pull/23938</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6648" href="#L6648">6648</a><span class="code-text">[ios]: https://github.com/rust-lang/rust/pull/24133</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6649" href="#L6649">6649</a><span class="code-text">[lex]: https://github.com/rust-lang/rfcs/blob/master/text/0879-small-base-lexing.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6650" href="#L6650">6650</a><span class="code-text">[lt]: https://github.com/rust-lang/rust/pull/24057</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6651" href="#L6651">6651</a><span class="code-text">[meth]: https://github.com/rust-lang/rust/pull/24056</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6652" href="#L6652">6652</a><span class="code-text">[pat]: https://github.com/rust-lang/rfcs/blob/master/text/0528-string-patterns.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6653" href="#L6653">6653</a><span class="code-text">[po]: https://github.com/rust-lang/rust/pull/24270</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6654" href="#L6654">6654</a><span class="code-text">[sf]: https://github.com/rust-lang/rust/pull/24517</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6655" href="#L6655">6655</a><span class="code-text">[slp]: https://github.com/rust-lang/rust/pull/23949</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6656" href="#L6656">6656</a><span class="code-text">[spl]: https://github.com/rust-lang/rfcs/blob/master/text/0979-align-splitn-with-other-languages.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6657" href="#L6657">6657</a><span class="code-text">[sw]: https://github.com/rust-lang/rfcs/blob/master/text/1054-str-words.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6658" href="#L6658">6658</a><span class="code-text">[th]: https://github.com/rust-lang/rfcs/blob/master/text/0909-move-thread-local-to-std-thread.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6659" href="#L6659">6659</a><span class="code-text">[send-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0458-send-improvements.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6660" href="#L6660">6660</a><span class="code-text">[moar-ufcs]: https://github.com/rust-lang/rust/pull/22172</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6661" href="#L6661">6661</a><span class="code-text">[prim-inherent]: https://github.com/rust-lang/rust/pull/23104</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6662" href="#L6662">6662</a><span class="code-text">[overflow]: https://github.com/rust-lang/rfcs/blob/master/text/0560-integer-overflow.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6663" href="#L6663">6663</a><span class="code-text">[metadata-shrink]: https://github.com/rust-lang/rust/pull/22971</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6664" href="#L6664">6664</a><span class="code-text">[self-sized]: https://github.com/rust-lang/rust/pull/22301</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6665" href="#L6665">6665</a><span class="code-text">[assoc-where]: https://github.com/rust-lang/rust/pull/22512</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6666" href="#L6666">6666</a><span class="code-text">[string-pattern]: https://github.com/rust-lang/rust/pull/22466</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6667" href="#L6667">6667</a><span class="code-text">[oibit-final]: https://github.com/rust-lang/rust/pull/21689</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6668" href="#L6668">6668</a><span class="code-text">[reflect]: https://github.com/rust-lang/rust/pull/23712</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6669" href="#L6669">6669</a><span class="code-text">[conversion]: https://github.com/rust-lang/rfcs/pull/529</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6670" href="#L6670">6670</a><span class="code-text">[num-traits]: https://github.com/rust-lang/rust/pull/23549</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6671" href="#L6671">6671</a><span class="code-text">[index-value]: https://github.com/rust-lang/rust/pull/23601</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6672" href="#L6672">6672</a><span class="code-text">[dropck]: https://github.com/rust-lang/rfcs/pull/769</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6673" href="#L6673">6673</a><span class="code-text">[ci-compare]: https://gist.github.com/brson/a30a77836fbec057cbee</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6674" href="#L6674">6674</a><span class="code-text">[fn-inherit]: https://github.com/rust-lang/rust/pull/23282</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6675" href="#L6675">6675</a><span class="code-text">[fn-blanket]: https://github.com/rust-lang/rust/pull/23895</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6676" href="#L6676">6676</a><span class="code-text">[copy-clone]: https://github.com/rust-lang/rust/pull/23860</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6677" href="#L6677">6677</a><span class="code-text">[path-normalize]: https://github.com/rust-lang/rust/pull/23229</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6678" href="#L6678">6678</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6679" href="#L6679">6679</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6680" href="#L6680">6680</a><span class="code-text">Version 1.0.0-alpha.2 (2015-02-20)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6681" href="#L6681">6681</a><span class="code-text">=====================================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6682" href="#L6682">6682</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6683" href="#L6683">6683</a><span class="code-text">* ~1300 changes, numerous bugfixes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6684" href="#L6684">6684</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6685" href="#L6685">6685</a><span class="code-text">* Highlights</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6686" href="#L6686">6686</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6687" href="#L6687">6687</a><span class="code-text">    * The various I/O modules were [overhauled][io-rfc] to reduce</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6688" href="#L6688">6688</a><span class="code-text">      unnecessary abstractions and provide better interoperation with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6689" href="#L6689">6689</a><span class="code-text">      the underlying platform. The old `io` module remains temporarily</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6690" href="#L6690">6690</a><span class="code-text">      at `std::old_io`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6691" href="#L6691">6691</a><span class="code-text">    * The standard library now [participates in feature gating][feat],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6692" href="#L6692">6692</a><span class="code-text">      so use of unstable libraries now requires a `#![feature(...)]`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6693" href="#L6693">6693</a><span class="code-text">      attribute. The impact of this change is [described on the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6694" href="#L6694">6694</a><span class="code-text">      forum][feat-forum]. [RFC][feat-rfc].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6695" href="#L6695">6695</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6696" href="#L6696">6696</a><span class="code-text">* Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6697" href="#L6697">6697</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6698" href="#L6698">6698</a><span class="code-text">    * `for` loops [now operate on the `IntoIterator` trait][into],</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6699" href="#L6699">6699</a><span class="code-text">      which eliminates the need to call `.iter()`, etc. to iterate</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6700" href="#L6700">6700</a><span class="code-text">      over collections. There are some new subtleties to remember</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6701" href="#L6701">6701</a><span class="code-text">      though regarding what sort of iterators various types yield, in</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6702" href="#L6702">6702</a><span class="code-text">      particular that `for foo in bar { }` yields values from a move</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6703" href="#L6703">6703</a><span class="code-text">      iterator, destroying the original collection. [RFC][into-rfc].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6704" href="#L6704">6704</a><span class="code-text">    * Objects now have [default lifetime bounds][obj], so you don't</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6705" href="#L6705">6705</a><span class="code-text">      have to write `Box&lt;Trait+'static&gt;` when you don't care about</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6706" href="#L6706">6706</a><span class="code-text">      storing references. [RFC][obj-rfc].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6707" href="#L6707">6707</a><span class="code-text">    * In types that implement `Drop`, [lifetimes must outlive the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6708" href="#L6708">6708</a><span class="code-text">      value][drop]. This will soon make it possible to safely</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6709" href="#L6709">6709</a><span class="code-text">      implement `Drop` for types where `#[unsafe_destructor]` is now</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6710" href="#L6710">6710</a><span class="code-text">      required. Read the [gorgeous RFC][drop-rfc] for details.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6711" href="#L6711">6711</a><span class="code-text">    * The fully qualified &lt;T as Trait&gt;::X syntax lets you set the Self</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6712" href="#L6712">6712</a><span class="code-text">      type for a trait method or associated type. [RFC][ufcs-rfc].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6713" href="#L6713">6713</a><span class="code-text">    * References to types that implement `Deref&lt;U&gt;` now [automatically</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6714" href="#L6714">6714</a><span class="code-text">      coerce to references][deref] to the dereferenced type `U`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6715" href="#L6715">6715</a><span class="code-text">      e.g. `&amp;T where T: Deref&lt;U&gt;` automatically coerces to `&amp;U`. This</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6716" href="#L6716">6716</a><span class="code-text">      should eliminate many unsightly uses of `&amp;*`, as when converting</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6717" href="#L6717">6717</a><span class="code-text">      from references to vectors into references to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6718" href="#L6718">6718</a><span class="code-text">      slices. [RFC][deref-rfc].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6719" href="#L6719">6719</a><span class="code-text">    * The explicit [closure kind syntax][close] (`|&amp;:|`, `|&amp;mut:|`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6720" href="#L6720">6720</a><span class="code-text">      `|:|`) is obsolete and closure kind is inferred from context.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6721" href="#L6721">6721</a><span class="code-text">    * [`Self` is a keyword][Self].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6722" href="#L6722">6722</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6723" href="#L6723">6723</a><span class="code-text">* Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6724" href="#L6724">6724</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6725" href="#L6725">6725</a><span class="code-text">    * The `Show` and `String` formatting traits [have been</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6726" href="#L6726">6726</a><span class="code-text">      renamed][fmt] to `Debug` and `Display` to more clearly reflect</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6727" href="#L6727">6727</a><span class="code-text">      their related purposes. Automatically getting a string</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6728" href="#L6728">6728</a><span class="code-text">      conversion to use with `format!(&quot;{:?}&quot;, something_to_debug)` is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6729" href="#L6729">6729</a><span class="code-text">      now written `#[derive(Debug)]`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6730" href="#L6730">6730</a><span class="code-text">    * Abstract [OS-specific string types][osstr], `std::ff::{OsString,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6731" href="#L6731">6731</a><span class="code-text">      OsStr}`, provide strings in platform-specific encodings for easier</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6732" href="#L6732">6732</a><span class="code-text">      interop with system APIs. [RFC][osstr-rfc].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6733" href="#L6733">6733</a><span class="code-text">    * The `boxed::into_raw` and `Box::from_raw` functions [convert</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6734" href="#L6734">6734</a><span class="code-text">      between `Box&lt;T&gt;` and `*mut T`][boxraw], a common pattern for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6735" href="#L6735">6735</a><span class="code-text">      creating raw pointers.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6736" href="#L6736">6736</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6737" href="#L6737">6737</a><span class="code-text">* Tooling</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6738" href="#L6738">6738</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6739" href="#L6739">6739</a><span class="code-text">    * Certain long error messages of the form 'expected foo found bar'</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6740" href="#L6740">6740</a><span class="code-text">      are now [split neatly across multiple</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6741" href="#L6741">6741</a><span class="code-text">      lines][multiline]. Examples in the PR.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6742" href="#L6742">6742</a><span class="code-text">    * On Unix Rust can be [uninstalled][un] by running</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6743" href="#L6743">6743</a><span class="code-text">      `/usr/local/lib/rustlib/uninstall.sh`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6744" href="#L6744">6744</a><span class="code-text">    * The `#[rustc_on_unimplemented]` attribute, requiring the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6745" href="#L6745">6745</a><span class="code-text">      'on_unimplemented' feature, lets rustc [display custom error</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6746" href="#L6746">6746</a><span class="code-text">      messages when a trait is expected to be implemented for a type</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6747" href="#L6747">6747</a><span class="code-text">      but is not][onun].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6748" href="#L6748">6748</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6749" href="#L6749">6749</a><span class="code-text">* Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6750" href="#L6750">6750</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6751" href="#L6751">6751</a><span class="code-text">    * Rust is tested against a [LALR grammar][lalr], which parses</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6752" href="#L6752">6752</a><span class="code-text">      almost all the Rust files that rustc does.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6753" href="#L6753">6753</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6754" href="#L6754">6754</a><span class="code-text">[boxraw]: https://github.com/rust-lang/rust/pull/21318</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6755" href="#L6755">6755</a><span class="code-text">[close]: https://github.com/rust-lang/rust/pull/21843</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6756" href="#L6756">6756</a><span class="code-text">[deref]: https://github.com/rust-lang/rust/pull/21351</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6757" href="#L6757">6757</a><span class="code-text">[deref-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0241-deref-conversions.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6758" href="#L6758">6758</a><span class="code-text">[drop]: https://github.com/rust-lang/rust/pull/21972</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6759" href="#L6759">6759</a><span class="code-text">[drop-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0769-sound-generic-drop.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6760" href="#L6760">6760</a><span class="code-text">[feat]: https://github.com/rust-lang/rust/pull/21248</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6761" href="#L6761">6761</a><span class="code-text">[feat-forum]: https://users.rust-lang.org/t/psa-important-info-about-rustcs-new-feature-staging/82/5</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6762" href="#L6762">6762</a><span class="code-text">[feat-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0507-release-channels.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6763" href="#L6763">6763</a><span class="code-text">[fmt]: https://github.com/rust-lang/rust/pull/21457</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6764" href="#L6764">6764</a><span class="code-text">[into]: https://github.com/rust-lang/rust/pull/20790</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6765" href="#L6765">6765</a><span class="code-text">[into-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0235-collections-conventions.md#intoiterator-and-iterable</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6766" href="#L6766">6766</a><span class="code-text">[io-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0517-io-os-reform.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6767" href="#L6767">6767</a><span class="code-text">[lalr]: https://github.com/rust-lang/rust/pull/21452</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6768" href="#L6768">6768</a><span class="code-text">[multiline]: https://github.com/rust-lang/rust/pull/19870</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6769" href="#L6769">6769</a><span class="code-text">[obj]: https://github.com/rust-lang/rust/pull/22230</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6770" href="#L6770">6770</a><span class="code-text">[obj-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0599-default-object-bound.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6771" href="#L6771">6771</a><span class="code-text">[onun]: https://github.com/rust-lang/rust/pull/20889</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6772" href="#L6772">6772</a><span class="code-text">[osstr]: https://github.com/rust-lang/rust/pull/21488</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6773" href="#L6773">6773</a><span class="code-text">[osstr-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0517-io-os-reform.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6774" href="#L6774">6774</a><span class="code-text">[Self]: https://github.com/rust-lang/rust/pull/22158</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6775" href="#L6775">6775</a><span class="code-text">[ufcs-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0132-ufcs.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6776" href="#L6776">6776</a><span class="code-text">[un]: https://github.com/rust-lang/rust/pull/22256</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6777" href="#L6777">6777</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6778" href="#L6778">6778</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6779" href="#L6779">6779</a><span class="code-text">Version 1.0.0-alpha (2015-01-09)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6780" href="#L6780">6780</a><span class="code-text">==================================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6781" href="#L6781">6781</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6782" href="#L6782">6782</a><span class="code-text">  * ~2400 changes, numerous bugfixes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6783" href="#L6783">6783</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6784" href="#L6784">6784</a><span class="code-text">  * Highlights</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6785" href="#L6785">6785</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6786" href="#L6786">6786</a><span class="code-text">    * The language itself is considered feature complete for 1.0,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6787" href="#L6787">6787</a><span class="code-text">      though there will be many usability improvements and bugfixes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6788" href="#L6788">6788</a><span class="code-text">      before the final release.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6789" href="#L6789">6789</a><span class="code-text">    * Nearly 50% of the public API surface of the standard library has</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6790" href="#L6790">6790</a><span class="code-text">      been declared 'stable'. Those interfaces are unlikely to change</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6791" href="#L6791">6791</a><span class="code-text">      before 1.0.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6792" href="#L6792">6792</a><span class="code-text">    * The long-running debate over integer types has been</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6793" href="#L6793">6793</a><span class="code-text">      [settled][ints]: Rust will ship with types named `isize` and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6794" href="#L6794">6794</a><span class="code-text">      `usize`, rather than `int` and `uint`, for pointer-sized</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6795" href="#L6795">6795</a><span class="code-text">      integers. Guidelines will be rolled out during the alpha cycle.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6796" href="#L6796">6796</a><span class="code-text">    * Most crates that are not `std` have been moved out of the Rust</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6797" href="#L6797">6797</a><span class="code-text">      distribution into the Cargo ecosystem so they can evolve</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6798" href="#L6798">6798</a><span class="code-text">      separately and don't need to be stabilized as quickly, including</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6799" href="#L6799">6799</a><span class="code-text">      'time', 'getopts', 'num', 'regex', and 'term'.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6800" href="#L6800">6800</a><span class="code-text">    * Documentation continues to be expanded with more API coverage, more</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6801" href="#L6801">6801</a><span class="code-text">      examples, and more in-depth explanations. The guides have been</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6802" href="#L6802">6802</a><span class="code-text">      consolidated into [The Rust Programming Language][trpl].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6803" href="#L6803">6803</a><span class="code-text">    * &quot;[Rust By Example][rbe]&quot; is now maintained by the Rust team.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6804" href="#L6804">6804</a><span class="code-text">    * All official Rust binary installers now come with [Cargo], the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6805" href="#L6805">6805</a><span class="code-text">      Rust package manager.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6806" href="#L6806">6806</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6807" href="#L6807">6807</a><span class="code-text">* Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6808" href="#L6808">6808</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6809" href="#L6809">6809</a><span class="code-text">    * Closures have been [completely redesigned][unboxed] to be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6810" href="#L6810">6810</a><span class="code-text">      implemented in terms of traits, can now be used as generic type</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6811" href="#L6811">6811</a><span class="code-text">      bounds and thus monomorphized and inlined, or via an opaque</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6812" href="#L6812">6812</a><span class="code-text">      pointer (boxed) as in the old system. The new system is often</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6813" href="#L6813">6813</a><span class="code-text">      referred to as 'unboxed' closures.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6814" href="#L6814">6814</a><span class="code-text">    * Traits now support [associated types][assoc], allowing families</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6815" href="#L6815">6815</a><span class="code-text">      of related types to be defined together and used generically in</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6816" href="#L6816">6816</a><span class="code-text">      powerful ways.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6817" href="#L6817">6817</a><span class="code-text">    * Enum variants are [namespaced by their type names][enum].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6818" href="#L6818">6818</a><span class="code-text">    * [`where` clauses][where] provide a more versatile and attractive</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6819" href="#L6819">6819</a><span class="code-text">      syntax for specifying generic bounds, though the previous syntax</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6820" href="#L6820">6820</a><span class="code-text">      remains valid.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6821" href="#L6821">6821</a><span class="code-text">    * Rust again picks a [fallback][fb] (either i32 or f64) for uninferred</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6822" href="#L6822">6822</a><span class="code-text">      numeric types.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6823" href="#L6823">6823</a><span class="code-text">    * Rust [no longer has a runtime][rt] of any description, and only</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6824" href="#L6824">6824</a><span class="code-text">      supports OS threads, not green threads.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6825" href="#L6825">6825</a><span class="code-text">    * At long last, Rust has been overhauled for 'dynamically-sized</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6826" href="#L6826">6826</a><span class="code-text">      types' ([DST]), which integrates 'fat pointers' (object types,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6827" href="#L6827">6827</a><span class="code-text">      arrays, and `str`) more deeply into the type system, making it</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6828" href="#L6828">6828</a><span class="code-text">      more consistent.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6829" href="#L6829">6829</a><span class="code-text">    * Rust now has a general [range syntax][range], `i..j`, `i..`, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6830" href="#L6830">6830</a><span class="code-text">      `..j` that produce range types and which, when combined with the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6831" href="#L6831">6831</a><span class="code-text">      `Index` operator and multidispatch, leads to a convenient slice</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6832" href="#L6832">6832</a><span class="code-text">      notation, `[i..j]`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6833" href="#L6833">6833</a><span class="code-text">    * The new range syntax revealed an ambiguity in the fixed-length</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6834" href="#L6834">6834</a><span class="code-text">      array syntax, so now fixed length arrays [are written `[T;</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6835" href="#L6835">6835</a><span class="code-text">      N]`][arrays].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6836" href="#L6836">6836</a><span class="code-text">    * The `Copy` trait is no longer implemented automatically. Unsafe</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6837" href="#L6837">6837</a><span class="code-text">      pointers no longer implement `Sync` and `Send` so types</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6838" href="#L6838">6838</a><span class="code-text">      containing them don't automatically either. `Sync` and `Send`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6839" href="#L6839">6839</a><span class="code-text">      are now 'unsafe traits' so one can &quot;forcibly&quot; implement them via</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6840" href="#L6840">6840</a><span class="code-text">      `unsafe impl` if a type confirms to the requirements for them</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6841" href="#L6841">6841</a><span class="code-text">      even though the internals do not (e.g. structs containing unsafe</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6842" href="#L6842">6842</a><span class="code-text">      pointers like `Arc`). These changes are intended to prevent some</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6843" href="#L6843">6843</a><span class="code-text">      footguns and are collectively known as [opt-in built-in</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6844" href="#L6844">6844</a><span class="code-text">      traits][oibit] (though `Sync` and `Send` will soon become pure</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6845" href="#L6845">6845</a><span class="code-text">      library types unknown to the compiler).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6846" href="#L6846">6846</a><span class="code-text">    * Operator traits now take their operands [by value][ops], and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6847" href="#L6847">6847</a><span class="code-text">      comparison traits can use multidispatch to compare one type</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6848" href="#L6848">6848</a><span class="code-text">      against multiple other types, allowing e.g. `String` to be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6849" href="#L6849">6849</a><span class="code-text">      compared with `&amp;str`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6850" href="#L6850">6850</a><span class="code-text">    * `if let` and `while let` are no longer feature-gated.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6851" href="#L6851">6851</a><span class="code-text">    * Rust has adopted a more [uniform syntax for escaping unicode</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6852" href="#L6852">6852</a><span class="code-text">      characters][unicode].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6853" href="#L6853">6853</a><span class="code-text">    * `macro_rules!` [has been declared stable][mac]. Though it is a</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6854" href="#L6854">6854</a><span class="code-text">      flawed system it is sufficiently popular that it must be usable</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6855" href="#L6855">6855</a><span class="code-text">      for 1.0. Effort has gone into [future-proofing][mac-future] it</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6856" href="#L6856">6856</a><span class="code-text">      in ways that will allow other macro systems to be developed in</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6857" href="#L6857">6857</a><span class="code-text">      parallel, and won't otherwise impact the evolution of the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6858" href="#L6858">6858</a><span class="code-text">      language.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6859" href="#L6859">6859</a><span class="code-text">    * The prelude has been [pared back significantly][prelude] such</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6860" href="#L6860">6860</a><span class="code-text">      that it is the minimum necessary to support the most pervasive</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6861" href="#L6861">6861</a><span class="code-text">      code patterns, and through [generalized where clauses][where]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6862" href="#L6862">6862</a><span class="code-text">      many of the prelude extension traits have been consolidated.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6863" href="#L6863">6863</a><span class="code-text">    * Rust's rudimentary reflection [has been removed][refl], as it</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6864" href="#L6864">6864</a><span class="code-text">      incurred too much code generation for little benefit.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6865" href="#L6865">6865</a><span class="code-text">    * [Struct variants][structvars] are no longer feature-gated.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6866" href="#L6866">6866</a><span class="code-text">    * Trait bounds can be [polymorphic over lifetimes][hrtb]. Also</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6867" href="#L6867">6867</a><span class="code-text">      known as 'higher-ranked trait bounds', this crucially allows</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6868" href="#L6868">6868</a><span class="code-text">      unboxed closures to work.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6869" href="#L6869">6869</a><span class="code-text">    * Macros invocations surrounded by parens or square brackets and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6870" href="#L6870">6870</a><span class="code-text">      not terminated by a semicolon are [parsed as</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6871" href="#L6871">6871</a><span class="code-text">      expressions][macros], which makes expressions like `vec![1i32,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6872" href="#L6872">6872</a><span class="code-text">      2, 3].len()` work as expected.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6873" href="#L6873">6873</a><span class="code-text">    * Trait objects now implement their traits automatically, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6874" href="#L6874">6874</a><span class="code-text">      traits that can be coerced to objects now must be [object</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6875" href="#L6875">6875</a><span class="code-text">      safe][objsafe].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6876" href="#L6876">6876</a><span class="code-text">    * Automatically deriving traits is now done with `#[derive(...)]`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6877" href="#L6877">6877</a><span class="code-text">      not `#[deriving(...)]` for [consistency with other naming</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6878" href="#L6878">6878</a><span class="code-text">      conventions][derive].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6879" href="#L6879">6879</a><span class="code-text">    * Importing the containing module or enum at the same time as</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6880" href="#L6880">6880</a><span class="code-text">      items or variants they contain is [now done with `self` instead</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6881" href="#L6881">6881</a><span class="code-text">      of `mod`][self], as in use `foo::{self, bar}`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6882" href="#L6882">6882</a><span class="code-text">    * Glob imports are no longer feature-gated.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6883" href="#L6883">6883</a><span class="code-text">    * The `box` operator and `box` patterns have been feature-gated</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6884" href="#L6884">6884</a><span class="code-text">      pending a redesign. For now unique boxes should be allocated</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6885" href="#L6885">6885</a><span class="code-text">      like other containers, with `Box::new`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6886" href="#L6886">6886</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6887" href="#L6887">6887</a><span class="code-text">* Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6888" href="#L6888">6888</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6889" href="#L6889">6889</a><span class="code-text">    * A [series][coll1] of [efforts][coll2] to establish</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6890" href="#L6890">6890</a><span class="code-text">      [conventions][coll3] for collections types has resulted in API</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6891" href="#L6891">6891</a><span class="code-text">      improvements throughout the standard library.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6892" href="#L6892">6892</a><span class="code-text">    * New [APIs for error handling][err] provide ergonomic interop</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6893" href="#L6893">6893</a><span class="code-text">      between error types, and [new conventions][err-conv] describe</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6894" href="#L6894">6894</a><span class="code-text">      more clearly the recommended error handling strategies in Rust.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6895" href="#L6895">6895</a><span class="code-text">    * The `fail!` macro has been renamed to [`panic!`][panic] so that</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6896" href="#L6896">6896</a><span class="code-text">      it is easier to discuss failure in the context of error handling</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6897" href="#L6897">6897</a><span class="code-text">      without making clarifications as to whether you are referring to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6898" href="#L6898">6898</a><span class="code-text">      the 'fail' macro or failure more generally.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6899" href="#L6899">6899</a><span class="code-text">    * On Linux, `OsRng` prefers the new, more reliable `getrandom`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6900" href="#L6900">6900</a><span class="code-text">      syscall when available.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6901" href="#L6901">6901</a><span class="code-text">    * The 'serialize' crate has been renamed 'rustc-serialize' and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6902" href="#L6902">6902</a><span class="code-text">      moved out of the distribution to Cargo. Although it is widely</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6903" href="#L6903">6903</a><span class="code-text">      used now, it is expected to be superseded in the near future.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6904" href="#L6904">6904</a><span class="code-text">    * The `Show` formatter, typically implemented with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6905" href="#L6905">6905</a><span class="code-text">      `#[derive(Show)]` is [now requested with the `{:?}`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6906" href="#L6906">6906</a><span class="code-text">      specifier][show] and is intended for use by all types, for uses</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6907" href="#L6907">6907</a><span class="code-text">      such as `println!` debugging. The new `String` formatter must be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6908" href="#L6908">6908</a><span class="code-text">      implemented by hand, uses the `{}` specifier, and is intended</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6909" href="#L6909">6909</a><span class="code-text">      for full-fidelity conversions of things that can logically be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6910" href="#L6910">6910</a><span class="code-text">      represented as strings.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6911" href="#L6911">6911</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6912" href="#L6912">6912</a><span class="code-text">* Tooling</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6913" href="#L6913">6913</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6914" href="#L6914">6914</a><span class="code-text">    * [Flexible target specification][flex] allows rustc's code</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6915" href="#L6915">6915</a><span class="code-text">      generation to be configured to support otherwise-unsupported</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6916" href="#L6916">6916</a><span class="code-text">      platforms.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6917" href="#L6917">6917</a><span class="code-text">    * Rust comes with rust-gdb and rust-lldb scripts that launch their</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6918" href="#L6918">6918</a><span class="code-text">      respective debuggers with Rust-appropriate pretty-printing.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6919" href="#L6919">6919</a><span class="code-text">    * The Windows installation of Rust is distributed with the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6920" href="#L6920">6920</a><span class="code-text">      MinGW components currently required to link binaries on that</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6921" href="#L6921">6921</a><span class="code-text">      platform.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6922" href="#L6922">6922</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6923" href="#L6923">6923</a><span class="code-text">* Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6924" href="#L6924">6924</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6925" href="#L6925">6925</a><span class="code-text">    * Nullable enum optimizations have been extended to more types so</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6926" href="#L6926">6926</a><span class="code-text">      that e.g. `Option&lt;Vec&lt;T&gt;&gt;` and `Option&lt;String&gt;` take up no more</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6927" href="#L6927">6927</a><span class="code-text">      space than the inner types themselves.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6928" href="#L6928">6928</a><span class="code-text">    * Work has begun on supporting AArch64.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6929" href="#L6929">6929</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6930" href="#L6930">6930</a><span class="code-text">[Cargo]: https://crates.io</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6931" href="#L6931">6931</a><span class="code-text">[unboxed]: http://smallcultfollowing.com/babysteps/blog/2014/11/26/purging-proc/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6932" href="#L6932">6932</a><span class="code-text">[enum]: https://github.com/rust-lang/rfcs/blob/master/text/0390-enum-namespacing.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6933" href="#L6933">6933</a><span class="code-text">[flex]: https://github.com/rust-lang/rfcs/blob/master/text/0131-target-specification.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6934" href="#L6934">6934</a><span class="code-text">[err]: https://github.com/rust-lang/rfcs/blob/master/text/0201-error-chaining.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6935" href="#L6935">6935</a><span class="code-text">[err-conv]: https://github.com/rust-lang/rfcs/blob/master/text/0236-error-conventions.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6936" href="#L6936">6936</a><span class="code-text">[rt]: https://github.com/rust-lang/rfcs/blob/master/text/0230-remove-runtime.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6937" href="#L6937">6937</a><span class="code-text">[mac]: https://github.com/rust-lang/rfcs/blob/master/text/0453-macro-reform.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6938" href="#L6938">6938</a><span class="code-text">[mac-future]: https://github.com/rust-lang/rfcs/pull/550</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6939" href="#L6939">6939</a><span class="code-text">[DST]: http://smallcultfollowing.com/babysteps/blog/2014/01/05/dst-take-5/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6940" href="#L6940">6940</a><span class="code-text">[coll1]: https://github.com/rust-lang/rfcs/blob/master/text/0235-collections-conventions.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6941" href="#L6941">6941</a><span class="code-text">[coll2]: https://github.com/rust-lang/rfcs/blob/master/text/0509-collections-reform-part-2.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6942" href="#L6942">6942</a><span class="code-text">[coll3]: https://github.com/rust-lang/rfcs/blob/master/text/0216-collection-views.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6943" href="#L6943">6943</a><span class="code-text">[ops]: https://github.com/rust-lang/rfcs/blob/master/text/0439-cmp-ops-reform.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6944" href="#L6944">6944</a><span class="code-text">[prelude]: https://github.com/rust-lang/rfcs/blob/master/text/0503-prelude-stabilization.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6945" href="#L6945">6945</a><span class="code-text">[where]: https://github.com/rust-lang/rfcs/blob/master/text/0135-where.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6946" href="#L6946">6946</a><span class="code-text">[refl]: https://github.com/rust-lang/rfcs/blob/master/text/0379-remove-reflection.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6947" href="#L6947">6947</a><span class="code-text">[panic]: https://github.com/rust-lang/rfcs/blob/master/text/0221-panic.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6948" href="#L6948">6948</a><span class="code-text">[structvars]: https://github.com/rust-lang/rfcs/blob/master/text/0418-struct-variants.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6949" href="#L6949">6949</a><span class="code-text">[hrtb]: https://github.com/rust-lang/rfcs/blob/master/text/0387-higher-ranked-trait-bounds.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6950" href="#L6950">6950</a><span class="code-text">[unicode]: https://github.com/rust-lang/rfcs/blob/master/text/0446-es6-unicode-escapes.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6951" href="#L6951">6951</a><span class="code-text">[oibit]: https://github.com/rust-lang/rfcs/blob/master/text/0019-opt-in-builtin-traits.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6952" href="#L6952">6952</a><span class="code-text">[macros]: https://github.com/rust-lang/rfcs/blob/master/text/0378-expr-macros.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6953" href="#L6953">6953</a><span class="code-text">[range]: https://github.com/rust-lang/rfcs/blob/master/text/0439-cmp-ops-reform.md#indexing-and-slicing</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6954" href="#L6954">6954</a><span class="code-text">[arrays]: https://github.com/rust-lang/rfcs/blob/master/text/0520-new-array-repeat-syntax.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6955" href="#L6955">6955</a><span class="code-text">[show]: https://github.com/rust-lang/rfcs/blob/master/text/0504-show-stabilization.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6956" href="#L6956">6956</a><span class="code-text">[derive]: https://github.com/rust-lang/rfcs/blob/master/text/0534-deriving2derive.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6957" href="#L6957">6957</a><span class="code-text">[self]: https://github.com/rust-lang/rfcs/blob/master/text/0532-self-in-use.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6958" href="#L6958">6958</a><span class="code-text">[fb]: https://github.com/rust-lang/rfcs/blob/master/text/0212-restore-int-fallback.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6959" href="#L6959">6959</a><span class="code-text">[objsafe]: https://github.com/rust-lang/rfcs/blob/master/text/0255-object-safety.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6960" href="#L6960">6960</a><span class="code-text">[assoc]: https://github.com/rust-lang/rfcs/blob/master/text/0195-associated-items.md</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6961" href="#L6961">6961</a><span class="code-text">[ints]: https://github.com/rust-lang/rfcs/pull/544#issuecomment-68760871</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6962" href="#L6962">6962</a><span class="code-text">[trpl]: https://doc.rust-lang.org/book/index.html</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6963" href="#L6963">6963</a><span class="code-text">[rbe]: http://rustbyexample.com/</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6964" href="#L6964">6964</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6965" href="#L6965">6965</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6966" href="#L6966">6966</a><span class="code-text">Version 0.12.0 (2014-10-09)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6967" href="#L6967">6967</a><span class="code-text">=============================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6968" href="#L6968">6968</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6969" href="#L6969">6969</a><span class="code-text">  * ~1900 changes, numerous bugfixes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6970" href="#L6970">6970</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6971" href="#L6971">6971</a><span class="code-text">  * Highlights</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6972" href="#L6972">6972</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6973" href="#L6973">6973</a><span class="code-text">    * The introductory documentation (now called The Rust Guide) has</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6974" href="#L6974">6974</a><span class="code-text">      been completely rewritten, as have a number of supplementary</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6975" href="#L6975">6975</a><span class="code-text">      guides.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6976" href="#L6976">6976</a><span class="code-text">    * Rust's package manager, Cargo, continues to improve and is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6977" href="#L6977">6977</a><span class="code-text">      sometimes considered to be quite awesome.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6978" href="#L6978">6978</a><span class="code-text">    * Many API's in `std` have been reviewed and updated for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6979" href="#L6979">6979</a><span class="code-text">      consistency with the in-development Rust coding</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6980" href="#L6980">6980</a><span class="code-text">      guidelines. The standard library documentation tracks</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6981" href="#L6981">6981</a><span class="code-text">      stabilization progress.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6982" href="#L6982">6982</a><span class="code-text">    * Minor libraries have been moved out-of-tree to the rust-lang org</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6983" href="#L6983">6983</a><span class="code-text">      on GitHub: uuid, semver, glob, num, hexfloat, fourcc. They can</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6984" href="#L6984">6984</a><span class="code-text">      be installed with Cargo.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6985" href="#L6985">6985</a><span class="code-text">    * Lifetime elision allows lifetime annotations to be left off of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6986" href="#L6986">6986</a><span class="code-text">      function declarations in many common scenarios.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6987" href="#L6987">6987</a><span class="code-text">    * Rust now works on 64-bit Windows.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6988" href="#L6988">6988</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6989" href="#L6989">6989</a><span class="code-text">  * Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6990" href="#L6990">6990</a><span class="code-text">    * Indexing can be overloaded with the `Index` and `IndexMut`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6991" href="#L6991">6991</a><span class="code-text">      traits.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6992" href="#L6992">6992</a><span class="code-text">    * The `if let` construct takes a branch only if the `let` pattern</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6993" href="#L6993">6993</a><span class="code-text">      matches, currently behind the 'if_let' feature gate.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6994" href="#L6994">6994</a><span class="code-text">    * 'where clauses', a more flexible syntax for specifying trait</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6995" href="#L6995">6995</a><span class="code-text">      bounds that is more aesthetic, have been added for traits and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6996" href="#L6996">6996</a><span class="code-text">      free functions. Where clauses will in the future make it</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6997" href="#L6997">6997</a><span class="code-text">      possible to constrain associated types, which would be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6998" href="#L6998">6998</a><span class="code-text">      impossible with the existing syntax.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L6999" href="#L6999">6999</a><span class="code-text">    * A new slicing syntax (e.g. `[0..4]`) has been introduced behind</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7000" href="#L7000">7000</a><span class="code-text">      the 'slicing_syntax' feature gate, and can be overloaded with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7001" href="#L7001">7001</a><span class="code-text">      the `Slice` or `SliceMut` traits.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7002" href="#L7002">7002</a><span class="code-text">    * The syntax for matching of sub-slices has been changed to use a</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7003" href="#L7003">7003</a><span class="code-text">      postfix `..` instead of prefix (.e.g. `[a, b, c..]`), for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7004" href="#L7004">7004</a><span class="code-text">      consistency with other uses of `..` and to future-proof</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7005" href="#L7005">7005</a><span class="code-text">      potential additional uses of the syntax.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7006" href="#L7006">7006</a><span class="code-text">    * The syntax for matching inclusive ranges in patterns has changed</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7007" href="#L7007">7007</a><span class="code-text">      from `0..3` to `0...4` to be consistent with the exclusive range</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7008" href="#L7008">7008</a><span class="code-text">      syntax for slicing.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7009" href="#L7009">7009</a><span class="code-text">    * Matching of sub-slices in non-tail positions (e.g.  `[a.., b,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7010" href="#L7010">7010</a><span class="code-text">      c]`) has been put behind the 'advanced_slice_patterns' feature</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7011" href="#L7011">7011</a><span class="code-text">      gate and may be removed in the future.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7012" href="#L7012">7012</a><span class="code-text">    * Components of tuples and tuple structs can be extracted using</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7013" href="#L7013">7013</a><span class="code-text">      the `value.0` syntax, currently behind the `tuple_indexing`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7014" href="#L7014">7014</a><span class="code-text">      feature gate.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7015" href="#L7015">7015</a><span class="code-text">    * The `#[crate_id]` attribute is no longer supported; versioning</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7016" href="#L7016">7016</a><span class="code-text">      is handled by the package manager.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7017" href="#L7017">7017</a><span class="code-text">    * Renaming crate imports are now written `extern crate foo as bar`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7018" href="#L7018">7018</a><span class="code-text">      instead of `extern crate bar = foo`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7019" href="#L7019">7019</a><span class="code-text">    * Renaming use statements are now written `use foo as bar` instead</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7020" href="#L7020">7020</a><span class="code-text">      of `use bar = foo`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7021" href="#L7021">7021</a><span class="code-text">    * `let` and `match` bindings and argument names in macros are now</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7022" href="#L7022">7022</a><span class="code-text">      hygienic.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7023" href="#L7023">7023</a><span class="code-text">    * The new, more efficient, closure types ('unboxed closures') have</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7024" href="#L7024">7024</a><span class="code-text">      been added under a feature gate, 'unboxed_closures'. These will</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7025" href="#L7025">7025</a><span class="code-text">      soon replace the existing closure types, once higher-ranked</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7026" href="#L7026">7026</a><span class="code-text">      trait lifetimes are added to the language.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7027" href="#L7027">7027</a><span class="code-text">    * `move` has been added as a keyword, for indicating closures</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7028" href="#L7028">7028</a><span class="code-text">      that capture by value.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7029" href="#L7029">7029</a><span class="code-text">    * Mutation and assignment is no longer allowed in pattern guards.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7030" href="#L7030">7030</a><span class="code-text">    * Generic structs and enums can now have trait bounds.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7031" href="#L7031">7031</a><span class="code-text">    * The `Share` trait is now called `Sync` to free up the term</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7032" href="#L7032">7032</a><span class="code-text">      'shared' to refer to 'shared reference' (the default reference</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7033" href="#L7033">7033</a><span class="code-text">      type.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7034" href="#L7034">7034</a><span class="code-text">    * Dynamically-sized types have been mostly implemented,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7035" href="#L7035">7035</a><span class="code-text">      unifying the behavior of fat-pointer types with the rest of the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7036" href="#L7036">7036</a><span class="code-text">      type system.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7037" href="#L7037">7037</a><span class="code-text">    * As part of dynamically-sized types, the `Sized` trait has been</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7038" href="#L7038">7038</a><span class="code-text">      introduced, which qualifying types implement by default, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7039" href="#L7039">7039</a><span class="code-text">      which type parameters expect by default. To specify that a type</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7040" href="#L7040">7040</a><span class="code-text">      parameter does not need to be sized, write `&lt;Sized? T&gt;`. Most</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7041" href="#L7041">7041</a><span class="code-text">      types are `Sized`, notable exceptions being unsized arrays</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7042" href="#L7042">7042</a><span class="code-text">      (`[T]`) and trait types.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7043" href="#L7043">7043</a><span class="code-text">    * Closures can return `!`, as in `|| -&gt; !` or `proc() -&gt; !`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7044" href="#L7044">7044</a><span class="code-text">    * Lifetime bounds can now be applied to type parameters and object</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7045" href="#L7045">7045</a><span class="code-text">      types.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7046" href="#L7046">7046</a><span class="code-text">    * The old, reference counted GC type, `Gc&lt;T&gt;` which was once</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7047" href="#L7047">7047</a><span class="code-text">      denoted by the `@` sigil, has finally been removed. GC will be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7048" href="#L7048">7048</a><span class="code-text">      revisited in the future.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7049" href="#L7049">7049</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7050" href="#L7050">7050</a><span class="code-text">  * Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7051" href="#L7051">7051</a><span class="code-text">    * Library documentation has been improved for a number of modules.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7052" href="#L7052">7052</a><span class="code-text">    * Bit-vectors, collections::bitv has been modernized.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7053" href="#L7053">7053</a><span class="code-text">    * The url crate is deprecated in favor of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7054" href="#L7054">7054</a><span class="code-text">      http://github.com/servo/rust-url, which can be installed with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7055" href="#L7055">7055</a><span class="code-text">      Cargo.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7056" href="#L7056">7056</a><span class="code-text">    * Most I/O stream types can be cloned and subsequently closed from</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7057" href="#L7057">7057</a><span class="code-text">      a different thread.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7058" href="#L7058">7058</a><span class="code-text">    * A `std::time::Duration` type has been added for use in I/O</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7059" href="#L7059">7059</a><span class="code-text">      methods that rely on timers, as well as in the 'time' crate's</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7060" href="#L7060">7060</a><span class="code-text">      `Timespec` arithmetic.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7061" href="#L7061">7061</a><span class="code-text">    * The runtime I/O abstraction layer that enabled the green thread</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7062" href="#L7062">7062</a><span class="code-text">      scheduler to do non-thread-blocking I/O has been removed, along</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7063" href="#L7063">7063</a><span class="code-text">      with the libuv-based implementation employed by the green thread</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7064" href="#L7064">7064</a><span class="code-text">      scheduler. This will greatly simplify the future I/O work.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7065" href="#L7065">7065</a><span class="code-text">    * `collections::btree` has been rewritten to have a more</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7066" href="#L7066">7066</a><span class="code-text">      idiomatic and efficient design.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7067" href="#L7067">7067</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7068" href="#L7068">7068</a><span class="code-text">  * Tooling</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7069" href="#L7069">7069</a><span class="code-text">    * rustdoc output now indicates the stability levels of API's.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7070" href="#L7070">7070</a><span class="code-text">    * The `--crate-name` flag can specify the name of the crate</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7071" href="#L7071">7071</a><span class="code-text">      being compiled, like `#[crate_name]`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7072" href="#L7072">7072</a><span class="code-text">    * The `-C metadata` specifies additional metadata to hash into</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7073" href="#L7073">7073</a><span class="code-text">      symbol names, and `-C extra-filename` specifies additional</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7074" href="#L7074">7074</a><span class="code-text">      information to put into the output filename, for use by the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7075" href="#L7075">7075</a><span class="code-text">      package manager for versioning.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7076" href="#L7076">7076</a><span class="code-text">    * debug info generation has continued to improve and should be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7077" href="#L7077">7077</a><span class="code-text">      more reliable under both gdb and lldb.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7078" href="#L7078">7078</a><span class="code-text">    * rustc has experimental support for compiling in parallel</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7079" href="#L7079">7079</a><span class="code-text">      using the `-C codegen-units` flag.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7080" href="#L7080">7080</a><span class="code-text">    * rustc no longer encodes rpath information into binaries by</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7081" href="#L7081">7081</a><span class="code-text">      default.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7082" href="#L7082">7082</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7083" href="#L7083">7083</a><span class="code-text">  * Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7084" href="#L7084">7084</a><span class="code-text">    * Stack usage has been optimized with LLVM lifetime annotations.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7085" href="#L7085">7085</a><span class="code-text">    * Official Rust binaries on Linux are more compatible with older</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7086" href="#L7086">7086</a><span class="code-text">      kernels and distributions, built on CentOS 5.10.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7087" href="#L7087">7087</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7088" href="#L7088">7088</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7089" href="#L7089">7089</a><span class="code-text">Version 0.11.0 (2014-07-02)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7090" href="#L7090">7090</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7091" href="#L7091">7091</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7092" href="#L7092">7092</a><span class="code-text">  * ~1700 changes, numerous bugfixes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7093" href="#L7093">7093</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7094" href="#L7094">7094</a><span class="code-text">  * Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7095" href="#L7095">7095</a><span class="code-text">    * ~[T] has been removed from the language. This type is superseded by</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7096" href="#L7096">7096</a><span class="code-text">      the Vec&lt;T&gt; type.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7097" href="#L7097">7097</a><span class="code-text">    * ~str has been removed from the language. This type is superseded by</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7098" href="#L7098">7098</a><span class="code-text">      the String type.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7099" href="#L7099">7099</a><span class="code-text">    * ~T has been removed from the language. This type is superseded by the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7100" href="#L7100">7100</a><span class="code-text">      Box&lt;T&gt; type.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7101" href="#L7101">7101</a><span class="code-text">    * @T has been removed from the language. This type is superseded by the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7102" href="#L7102">7102</a><span class="code-text">      standard library's std::gc::Gc&lt;T&gt; type.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7103" href="#L7103">7103</a><span class="code-text">    * Struct fields are now all private by default.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7104" href="#L7104">7104</a><span class="code-text">    * Vector indices and shift amounts are both required to be a `uint`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7105" href="#L7105">7105</a><span class="code-text">      instead of any integral type.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7106" href="#L7106">7106</a><span class="code-text">    * Byte character, byte string, and raw byte string literals are now all</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7107" href="#L7107">7107</a><span class="code-text">      supported by prefixing the normal literal with a `b`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7108" href="#L7108">7108</a><span class="code-text">    * Multiple ABIs are no longer allowed in an ABI string</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7109" href="#L7109">7109</a><span class="code-text">    * The syntax for lifetimes on closures/procedures has been tweaked</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7110" href="#L7110">7110</a><span class="code-text">      slightly: `&lt;'a&gt;|A, B|: 'b + K -&gt; T`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7111" href="#L7111">7111</a><span class="code-text">    * Floating point modulus has been removed from the language; however it</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7112" href="#L7112">7112</a><span class="code-text">      is still provided by a library implementation.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7113" href="#L7113">7113</a><span class="code-text">    * Private enum variants are now disallowed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7114" href="#L7114">7114</a><span class="code-text">    * The `priv` keyword has been removed from the language.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7115" href="#L7115">7115</a><span class="code-text">    * A closure can no longer be invoked through a &amp;-pointer.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7116" href="#L7116">7116</a><span class="code-text">    * The `use foo, bar, baz;` syntax has been removed from the language.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7117" href="#L7117">7117</a><span class="code-text">    * The transmute intrinsic no longer works on type parameters.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7118" href="#L7118">7118</a><span class="code-text">    * Statics now allow blocks/items in their definition.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7119" href="#L7119">7119</a><span class="code-text">    * Trait bounds are separated from objects with + instead of : now.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7120" href="#L7120">7120</a><span class="code-text">    * Objects can no longer be read while they are mutably borrowed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7121" href="#L7121">7121</a><span class="code-text">    * The address of a static is now marked as insignificant unless the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7122" href="#L7122">7122</a><span class="code-text">      #[inline(never)] attribute is placed it.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7123" href="#L7123">7123</a><span class="code-text">    * The #[unsafe_destructor] attribute is now behind a feature gate.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7124" href="#L7124">7124</a><span class="code-text">    * Struct literals are no longer allowed in ambiguous positions such as</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7125" href="#L7125">7125</a><span class="code-text">      if, while, match, and for..in.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7126" href="#L7126">7126</a><span class="code-text">    * Declaration of lang items and intrinsics are now feature-gated by</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7127" href="#L7127">7127</a><span class="code-text">      default.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7128" href="#L7128">7128</a><span class="code-text">    * Integral literals no longer default to `int`, and floating point</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7129" href="#L7129">7129</a><span class="code-text">      literals no longer default to `f64`. Literals must be suffixed with an</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7130" href="#L7130">7130</a><span class="code-text">      appropriate type if inference cannot determine the type of the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7131" href="#L7131">7131</a><span class="code-text">      literal.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7132" href="#L7132">7132</a><span class="code-text">    * The Box&lt;T&gt; type is no longer implicitly borrowed to &amp;mut T.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7133" href="#L7133">7133</a><span class="code-text">    * Procedures are now required to not capture borrowed references.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7134" href="#L7134">7134</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7135" href="#L7135">7135</a><span class="code-text">  * Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7136" href="#L7136">7136</a><span class="code-text">    * The standard library is now a &quot;facade&quot; over a number of underlying</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7137" href="#L7137">7137</a><span class="code-text">      libraries. This means that development on the standard library should</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7138" href="#L7138">7138</a><span class="code-text">      be speedier due to smaller crates, as well as a clearer line between</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7139" href="#L7139">7139</a><span class="code-text">      all dependencies.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7140" href="#L7140">7140</a><span class="code-text">    * A new library, libcore, lives under the standard library's facade</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7141" href="#L7141">7141</a><span class="code-text">      which is Rust's &quot;0-assumption&quot; library, suitable for embedded and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7142" href="#L7142">7142</a><span class="code-text">      kernel development for example.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7143" href="#L7143">7143</a><span class="code-text">    * A regex crate has been added to the standard distribution. This crate</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7144" href="#L7144">7144</a><span class="code-text">      includes statically compiled regular expressions.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7145" href="#L7145">7145</a><span class="code-text">    * The unwrap/unwrap_err methods on Result require a Show bound for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7146" href="#L7146">7146</a><span class="code-text">      better error messages.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7147" href="#L7147">7147</a><span class="code-text">    * The return types of the std::comm primitives have been centralized</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7148" href="#L7148">7148</a><span class="code-text">      around the Result type.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7149" href="#L7149">7149</a><span class="code-text">    * A number of I/O primitives have gained the ability to time out their</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7150" href="#L7150">7150</a><span class="code-text">      operations.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7151" href="#L7151">7151</a><span class="code-text">    * A number of I/O primitives have gained the ability to close their</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7152" href="#L7152">7152</a><span class="code-text">      reading/writing halves to cancel pending operations.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7153" href="#L7153">7153</a><span class="code-text">    * Reverse iterator methods have been removed in favor of `rev()` on</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7154" href="#L7154">7154</a><span class="code-text">      their forward-iteration counterparts.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7155" href="#L7155">7155</a><span class="code-text">    * A bitflags! macro has been added to enable easy interop with C and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7156" href="#L7156">7156</a><span class="code-text">      management of bit flags.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7157" href="#L7157">7157</a><span class="code-text">    * A debug_assert! macro is now provided which is disabled when</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7158" href="#L7158">7158</a><span class="code-text">      `--cfg ndebug` is passed to the compiler.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7159" href="#L7159">7159</a><span class="code-text">    * A graphviz crate has been added for creating .dot files.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7160" href="#L7160">7160</a><span class="code-text">    * The std::cast module has been migrated into std::mem.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7161" href="#L7161">7161</a><span class="code-text">    * The std::local_data api has been migrated from freestanding functions</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7162" href="#L7162">7162</a><span class="code-text">      to being based on methods.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7163" href="#L7163">7163</a><span class="code-text">    * The Pod trait has been renamed to Copy.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7164" href="#L7164">7164</a><span class="code-text">    * jemalloc has been added as the default allocator for types.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7165" href="#L7165">7165</a><span class="code-text">    * The API for allocating memory has been changed to use proper alignment</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7166" href="#L7166">7166</a><span class="code-text">      and sized deallocation</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7167" href="#L7167">7167</a><span class="code-text">    * Connecting a TcpStream or binding a TcpListener is now based on a</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7168" href="#L7168">7168</a><span class="code-text">      string address and a u16 port. This allows connecting to a hostname as</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7169" href="#L7169">7169</a><span class="code-text">      opposed to an IP.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7170" href="#L7170">7170</a><span class="code-text">    * The Reader trait now contains a core method, read_at_least(), which</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7171" href="#L7171">7171</a><span class="code-text">      correctly handles many repeated 0-length reads.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7172" href="#L7172">7172</a><span class="code-text">    * The process-spawning API is now centered around a builder-style</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7173" href="#L7173">7173</a><span class="code-text">      Command struct.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7174" href="#L7174">7174</a><span class="code-text">    * The :? printing qualifier has been moved from the standard library to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7175" href="#L7175">7175</a><span class="code-text">      an external libdebug crate.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7176" href="#L7176">7176</a><span class="code-text">    * Eq/Ord have been renamed to PartialEq/PartialOrd. TotalEq/TotalOrd</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7177" href="#L7177">7177</a><span class="code-text">      have been renamed to Eq/Ord.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7178" href="#L7178">7178</a><span class="code-text">    * The select/plural methods have been removed from format!. The escapes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7179" href="#L7179">7179</a><span class="code-text">      for { and } have also changed from \{ and \} to {{ and }},</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7180" href="#L7180">7180</a><span class="code-text">      respectively.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7181" href="#L7181">7181</a><span class="code-text">    * The TaskBuilder API has been re-worked to be a true builder, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7182" href="#L7182">7182</a><span class="code-text">      extension traits for spawning native/green tasks have been added.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7183" href="#L7183">7183</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7184" href="#L7184">7184</a><span class="code-text">  * Tooling</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7185" href="#L7185">7185</a><span class="code-text">    * All breaking changes to the language or libraries now have their</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7186" href="#L7186">7186</a><span class="code-text">      commit message annotated with `[breaking-change]` to allow for easy</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7187" href="#L7187">7187</a><span class="code-text">      discovery of breaking changes.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7188" href="#L7188">7188</a><span class="code-text">    * The compiler will now try to suggest how to annotate lifetimes if a</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7189" href="#L7189">7189</a><span class="code-text">      lifetime-related error occurs.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7190" href="#L7190">7190</a><span class="code-text">    * Debug info continues to be improved greatly with general bug fixes and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7191" href="#L7191">7191</a><span class="code-text">      better support for situations like link time optimization (LTO).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7192" href="#L7192">7192</a><span class="code-text">    * Usage of syntax extensions when cross-compiling has been fixed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7193" href="#L7193">7193</a><span class="code-text">    * Functionality equivalent to GCC &amp; Clang's -ffunction-sections,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7194" href="#L7194">7194</a><span class="code-text">      -fdata-sections and --gc-sections has been enabled by default</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7195" href="#L7195">7195</a><span class="code-text">    * The compiler is now stricter about where it will load module files</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7196" href="#L7196">7196</a><span class="code-text">      from when a module is declared via `mod foo;`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7197" href="#L7197">7197</a><span class="code-text">    * The #[phase(syntax)] attribute has been renamed to #[phase(plugin)].</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7198" href="#L7198">7198</a><span class="code-text">      Syntax extensions are now discovered via a &quot;plugin registrar&quot; type</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7199" href="#L7199">7199</a><span class="code-text">      which will be extended in the future to other various plugins.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7200" href="#L7200">7200</a><span class="code-text">    * Lints have been restructured to allow for dynamically loadable lints.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7201" href="#L7201">7201</a><span class="code-text">    * A number of rustdoc improvements:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7202" href="#L7202">7202</a><span class="code-text">      * The HTML output has been visually redesigned.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7203" href="#L7203">7203</a><span class="code-text">      * Markdown is now powered by hoedown instead of sundown.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7204" href="#L7204">7204</a><span class="code-text">      * Searching heuristics have been greatly improved.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7205" href="#L7205">7205</a><span class="code-text">      * The search index has been reduced in size by a great amount.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7206" href="#L7206">7206</a><span class="code-text">      * Cross-crate documentation via `pub use` has been greatly improved.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7207" href="#L7207">7207</a><span class="code-text">      * Primitive types are now hyperlinked and documented.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7208" href="#L7208">7208</a><span class="code-text">    * Documentation has been moved from static.rust-lang.org/doc to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7209" href="#L7209">7209</a><span class="code-text">      doc.rust-lang.org</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7210" href="#L7210">7210</a><span class="code-text">    * A new sandbox, play.rust-lang.org, is available for running and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7211" href="#L7211">7211</a><span class="code-text">      sharing rust code examples on-line.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7212" href="#L7212">7212</a><span class="code-text">    * Unused attributes are now more robustly warned about.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7213" href="#L7213">7213</a><span class="code-text">    * The dead_code lint now warns about unused struct fields.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7214" href="#L7214">7214</a><span class="code-text">    * Cross-compiling to iOS is now supported.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7215" href="#L7215">7215</a><span class="code-text">    * Cross-compiling to mipsel is now supported.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7216" href="#L7216">7216</a><span class="code-text">    * Stability attributes are now inherited by default and no longer apply</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7217" href="#L7217">7217</a><span class="code-text">      to intra-crate usage, only inter-crate usage.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7218" href="#L7218">7218</a><span class="code-text">    * Error message related to non-exhaustive match expressions have been</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7219" href="#L7219">7219</a><span class="code-text">      greatly improved.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7220" href="#L7220">7220</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7221" href="#L7221">7221</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7222" href="#L7222">7222</a><span class="code-text">Version 0.10 (2014-04-03)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7223" href="#L7223">7223</a><span class="code-text">=========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7224" href="#L7224">7224</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7225" href="#L7225">7225</a><span class="code-text">  * ~1500 changes, numerous bugfixes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7226" href="#L7226">7226</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7227" href="#L7227">7227</a><span class="code-text">  * Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7228" href="#L7228">7228</a><span class="code-text">    * A new RFC process is now in place for modifying the language.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7229" href="#L7229">7229</a><span class="code-text">    * Patterns with `@`-pointers have been removed from the language.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7230" href="#L7230">7230</a><span class="code-text">    * Patterns with unique vectors (`~[T]`) have been removed from the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7231" href="#L7231">7231</a><span class="code-text">      language.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7232" href="#L7232">7232</a><span class="code-text">    * Patterns with unique strings (`~str`) have been removed from the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7233" href="#L7233">7233</a><span class="code-text">      language.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7234" href="#L7234">7234</a><span class="code-text">    * `@str` has been removed from the language.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7235" href="#L7235">7235</a><span class="code-text">    * `@[T]` has been removed from the language.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7236" href="#L7236">7236</a><span class="code-text">    * `@self` has been removed from the language.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7237" href="#L7237">7237</a><span class="code-text">    * `@Trait` has been removed from the language.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7238" href="#L7238">7238</a><span class="code-text">    * Headers on `~` allocations which contain `@` boxes inside the type for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7239" href="#L7239">7239</a><span class="code-text">      reference counting have been removed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7240" href="#L7240">7240</a><span class="code-text">    * The semantics around the lifetimes of temporary expressions have changed,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7241" href="#L7241">7241</a><span class="code-text">      see #3511 and #11585 for more information.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7242" href="#L7242">7242</a><span class="code-text">    * Cross-crate syntax extensions are now possible, but feature gated. See</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7243" href="#L7243">7243</a><span class="code-text">      #11151 for more information. This includes both `macro_rules!` macros as</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7244" href="#L7244">7244</a><span class="code-text">      well as syntax extensions such as `format!`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7245" href="#L7245">7245</a><span class="code-text">    * New lint modes have been added, and older ones have been turned on to be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7246" href="#L7246">7246</a><span class="code-text">      warn-by-default.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7247" href="#L7247">7247</a><span class="code-text">      * Unnecessary parentheses</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7248" href="#L7248">7248</a><span class="code-text">      * Uppercase statics</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7249" href="#L7249">7249</a><span class="code-text">      * Camel Case types</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7250" href="#L7250">7250</a><span class="code-text">      * Uppercase variables</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7251" href="#L7251">7251</a><span class="code-text">      * Publicly visible private types</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7252" href="#L7252">7252</a><span class="code-text">      * `#[deriving]` with raw pointers</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7253" href="#L7253">7253</a><span class="code-text">    * Unsafe functions can no longer be coerced to closures.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7254" href="#L7254">7254</a><span class="code-text">    * Various obscure macros such as `log_syntax!` are now behind feature gates.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7255" href="#L7255">7255</a><span class="code-text">    * The `#[simd]` attribute is now behind a feature gate.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7256" href="#L7256">7256</a><span class="code-text">    * Visibility is no longer allowed on `extern crate` statements, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7257" href="#L7257">7257</a><span class="code-text">      unnecessary visibility (`priv`) is no longer allowed on `use` statements.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7258" href="#L7258">7258</a><span class="code-text">    * Trailing commas are now allowed in argument lists and tuple patterns.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7259" href="#L7259">7259</a><span class="code-text">    * The `do` keyword has been removed, it is now a reserved keyword.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7260" href="#L7260">7260</a><span class="code-text">    * Default type parameters have been implemented, but are feature gated.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7261" href="#L7261">7261</a><span class="code-text">    * Borrowed variables through captures in closures are now considered soundly.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7262" href="#L7262">7262</a><span class="code-text">    * `extern mod` is now `extern crate`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7263" href="#L7263">7263</a><span class="code-text">    * The `Freeze` trait has been removed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7264" href="#L7264">7264</a><span class="code-text">    * The `Share` trait has been added for types that can be shared among</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7265" href="#L7265">7265</a><span class="code-text">      threads.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7266" href="#L7266">7266</a><span class="code-text">    * Labels in macros are now hygienic.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7267" href="#L7267">7267</a><span class="code-text">    * Expression/statement macro invocations can be delimited with `{}` now.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7268" href="#L7268">7268</a><span class="code-text">    * Treatment of types allowed in `static mut` locations has been tweaked.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7269" href="#L7269">7269</a><span class="code-text">    * The `*` and `.` operators are now overloadable through the `Deref` and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7270" href="#L7270">7270</a><span class="code-text">      `DerefMut` traits.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7271" href="#L7271">7271</a><span class="code-text">    * `~Trait` and `proc` no longer have `Send` bounds by default.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7272" href="#L7272">7272</a><span class="code-text">    * Partial type hints are now supported with the `_` type marker.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7273" href="#L7273">7273</a><span class="code-text">    * An `Unsafe` type was introduced for interior mutability. It is now</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7274" href="#L7274">7274</a><span class="code-text">      considered undefined to transmute from `&amp;T` to `&amp;mut T` without using the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7275" href="#L7275">7275</a><span class="code-text">      `Unsafe` type.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7276" href="#L7276">7276</a><span class="code-text">    * The #[linkage] attribute was implemented for extern statics/functions.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7277" href="#L7277">7277</a><span class="code-text">    * The inner attribute syntax has changed from `#[foo];` to `#![foo]`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7278" href="#L7278">7278</a><span class="code-text">    * `Pod` was renamed to `Copy`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7279" href="#L7279">7279</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7280" href="#L7280">7280</a><span class="code-text">  * Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7281" href="#L7281">7281</a><span class="code-text">    * The `libextra` library has been removed. It has now been decomposed into</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7282" href="#L7282">7282</a><span class="code-text">      component libraries with smaller and more focused nuggets of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7283" href="#L7283">7283</a><span class="code-text">      functionality. The full list of libraries can be found on the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7284" href="#L7284">7284</a><span class="code-text">      documentation index page.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7285" href="#L7285">7285</a><span class="code-text">    * std: `std::condition` has been removed. All I/O errors are now propagated</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7286" href="#L7286">7286</a><span class="code-text">      through the `Result` type. In order to assist with error handling, a</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7287" href="#L7287">7287</a><span class="code-text">      `try!` macro for unwrapping errors with an early return and a lint for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7288" href="#L7288">7288</a><span class="code-text">      unused results has been added. See #12039 for more information.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7289" href="#L7289">7289</a><span class="code-text">    * std: The `vec` module has been renamed to `slice`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7290" href="#L7290">7290</a><span class="code-text">    * std: A new vector type, `Vec&lt;T&gt;`, has been added in preparation for DST.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7291" href="#L7291">7291</a><span class="code-text">      This will become the only growable vector in the future.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7292" href="#L7292">7292</a><span class="code-text">    * std: `std::io` now has more public re-exports. Types such as `BufferedReader`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7293" href="#L7293">7293</a><span class="code-text">      are now found at `std::io::BufferedReader` instead of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7294" href="#L7294">7294</a><span class="code-text">      `std::io::buffered::BufferedReader`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7295" href="#L7295">7295</a><span class="code-text">    * std: `print` and `println` are no longer in the prelude, the `print!` and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7296" href="#L7296">7296</a><span class="code-text">      `println!` macros are intended to be used instead.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7297" href="#L7297">7297</a><span class="code-text">    * std: `Rc` now has a `Weak` pointer for breaking cycles, and it no longer</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7298" href="#L7298">7298</a><span class="code-text">      attempts to statically prevent cycles.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7299" href="#L7299">7299</a><span class="code-text">    * std: The standard distribution is adopting the policy of pushing failure</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7300" href="#L7300">7300</a><span class="code-text">      to the user rather than failing in libraries. Many functions (such as</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7301" href="#L7301">7301</a><span class="code-text">      `slice::last()`) now return `Option&lt;T&gt;` instead of `T` + failing.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7302" href="#L7302">7302</a><span class="code-text">    * std: `fmt::Default` has been renamed to `fmt::Show`, and it now has a new</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7303" href="#L7303">7303</a><span class="code-text">      deriving mode: `#[deriving(Show)]`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7304" href="#L7304">7304</a><span class="code-text">    * std: `ToStr` is now implemented for all types implementing `Show`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7305" href="#L7305">7305</a><span class="code-text">    * std: The formatting trait methods now take `&amp;self` instead of `&amp;T`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7306" href="#L7306">7306</a><span class="code-text">    * std: The `invert()` method on iterators has been renamed to `rev()`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7307" href="#L7307">7307</a><span class="code-text">    * std: `std::num` has seen a reduction in the genericity of its traits,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7308" href="#L7308">7308</a><span class="code-text">      consolidating functionality into a few core traits.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7309" href="#L7309">7309</a><span class="code-text">    * std: Backtraces are now printed on task failure if the environment</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7310" href="#L7310">7310</a><span class="code-text">      variable `RUST_BACKTRACE` is present.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7311" href="#L7311">7311</a><span class="code-text">    * std: Naming conventions for iterators have been standardized. More details</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7312" href="#L7312">7312</a><span class="code-text">      can be found on the wiki's style guide.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7313" href="#L7313">7313</a><span class="code-text">    * std: `eof()` has been removed from the `Reader` trait. Specific types may</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7314" href="#L7314">7314</a><span class="code-text">      still implement the function.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7315" href="#L7315">7315</a><span class="code-text">    * std: Networking types are now cloneable to allow simultaneous reads/writes.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7316" href="#L7316">7316</a><span class="code-text">    * std: `assert_approx_eq!` has been removed</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7317" href="#L7317">7317</a><span class="code-text">    * std: The `e` and `E` formatting specifiers for floats have been added to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7318" href="#L7318">7318</a><span class="code-text">      print them in exponential notation.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7319" href="#L7319">7319</a><span class="code-text">    * std: The `Times` trait has been removed</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7320" href="#L7320">7320</a><span class="code-text">    * std: Indications of variance and opting out of builtin bounds is done</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7321" href="#L7321">7321</a><span class="code-text">      through marker types in `std::kinds::marker` now</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7322" href="#L7322">7322</a><span class="code-text">    * std: `hash` has been rewritten, `IterBytes` has been removed, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7323" href="#L7323">7323</a><span class="code-text">      `#[deriving(Hash)]` is now possible.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7324" href="#L7324">7324</a><span class="code-text">    * std: `SharedChan` has been removed, `Sender` is now cloneable.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7325" href="#L7325">7325</a><span class="code-text">    * std: `Chan` and `Port` were renamed to `Sender` and `Receiver`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7326" href="#L7326">7326</a><span class="code-text">    * std: `Chan::new` is now `channel()`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7327" href="#L7327">7327</a><span class="code-text">    * std: A new synchronous channel type has been implemented.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7328" href="#L7328">7328</a><span class="code-text">    * std: A `select!` macro is now provided for selecting over `Receiver`s.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7329" href="#L7329">7329</a><span class="code-text">    * std: `hashmap` and `trie` have been moved to `libcollections`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7330" href="#L7330">7330</a><span class="code-text">    * std: `run` has been rolled into `io::process`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7331" href="#L7331">7331</a><span class="code-text">    * std: `assert_eq!` now uses `{}` instead of `{:?}`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7332" href="#L7332">7332</a><span class="code-text">    * std: The equality and comparison traits have seen some reorganization.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7333" href="#L7333">7333</a><span class="code-text">    * std: `rand` has moved to `librand`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7334" href="#L7334">7334</a><span class="code-text">    * std: `to_{lower,upper}case` has been implemented for `char`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7335" href="#L7335">7335</a><span class="code-text">    * std: Logging has been moved to `liblog`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7336" href="#L7336">7336</a><span class="code-text">    * collections: `HashMap` has been rewritten for higher performance and less</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7337" href="#L7337">7337</a><span class="code-text">      memory usage.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7338" href="#L7338">7338</a><span class="code-text">    * native: The default runtime is now `libnative`. If `libgreen` is desired,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7339" href="#L7339">7339</a><span class="code-text">      it can be booted manually. The runtime guide has more information and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7340" href="#L7340">7340</a><span class="code-text">      examples.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7341" href="#L7341">7341</a><span class="code-text">    * native: All I/O functionality except signals has been implemented.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7342" href="#L7342">7342</a><span class="code-text">    * green: Task spawning with `libgreen` has been optimized with stack caching</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7343" href="#L7343">7343</a><span class="code-text">      and various trimming of code.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7344" href="#L7344">7344</a><span class="code-text">    * green: Tasks spawned by `libgreen` now have an unmapped guard page.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7345" href="#L7345">7345</a><span class="code-text">    * sync: The `extra::sync` module has been updated to modern rust (and moved</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7346" href="#L7346">7346</a><span class="code-text">      to the `sync` library), tweaking and improving various interfaces while</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7347" href="#L7347">7347</a><span class="code-text">      dropping redundant functionality.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7348" href="#L7348">7348</a><span class="code-text">    * sync: A new `Barrier` type has been added to the `sync` library.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7349" href="#L7349">7349</a><span class="code-text">    * sync: An efficient mutex for native and green tasks has been implemented.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7350" href="#L7350">7350</a><span class="code-text">    * serialize: The `base64` module has seen some improvement. It treats</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7351" href="#L7351">7351</a><span class="code-text">      newlines better, has non-string error values, and has seen general</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7352" href="#L7352">7352</a><span class="code-text">      cleanup.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7353" href="#L7353">7353</a><span class="code-text">    * fourcc: A `fourcc!` macro was introduced</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7354" href="#L7354">7354</a><span class="code-text">    * hexfloat: A `hexfloat!` macro was implemented for specifying floats via a</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7355" href="#L7355">7355</a><span class="code-text">      hexadecimal literal.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7356" href="#L7356">7356</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7357" href="#L7357">7357</a><span class="code-text">  * Tooling</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7358" href="#L7358">7358</a><span class="code-text">    * `rustpkg` has been deprecated and removed from the main repository. Its</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7359" href="#L7359">7359</a><span class="code-text">      replacement, `cargo`, is under development.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7360" href="#L7360">7360</a><span class="code-text">    * Nightly builds of rust are now available</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7361" href="#L7361">7361</a><span class="code-text">    * The memory usage of rustc has been improved many times throughout this</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7362" href="#L7362">7362</a><span class="code-text">      release cycle.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7363" href="#L7363">7363</a><span class="code-text">    * The build process supports disabling rpath support for the rustc binary</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7364" href="#L7364">7364</a><span class="code-text">      itself.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7365" href="#L7365">7365</a><span class="code-text">    * Code generation has improved in some cases, giving more information to the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7366" href="#L7366">7366</a><span class="code-text">      LLVM optimization passes to enable more extensive optimizations.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7367" href="#L7367">7367</a><span class="code-text">    * Debuginfo compatibility with lldb on OSX has been restored.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7368" href="#L7368">7368</a><span class="code-text">    * The master branch is now gated on an android bot, making building for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7369" href="#L7369">7369</a><span class="code-text">      android much more reliable.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7370" href="#L7370">7370</a><span class="code-text">    * Output flags have been centralized into one `--emit` flag.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7371" href="#L7371">7371</a><span class="code-text">    * Crate type flags have been centralized into one `--crate-type` flag.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7372" href="#L7372">7372</a><span class="code-text">    * Codegen flags have been consolidated behind a `-C` flag.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7373" href="#L7373">7373</a><span class="code-text">    * Linking against outdated crates now has improved error messages.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7374" href="#L7374">7374</a><span class="code-text">    * Error messages with lifetimes will often suggest how to annotate the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7375" href="#L7375">7375</a><span class="code-text">      function to fix the error.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7376" href="#L7376">7376</a><span class="code-text">    * Many more types are documented in the standard library, and new guides</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7377" href="#L7377">7377</a><span class="code-text">      were written.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7378" href="#L7378">7378</a><span class="code-text">    * Many `rustdoc` improvements:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7379" href="#L7379">7379</a><span class="code-text">      * code blocks are syntax highlighted.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7380" href="#L7380">7380</a><span class="code-text">      * render standalone markdown files.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7381" href="#L7381">7381</a><span class="code-text">      * the --test flag tests all code blocks by default.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7382" href="#L7382">7382</a><span class="code-text">      * exported macros are displayed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7383" href="#L7383">7383</a><span class="code-text">      * re-exported types have their documentation inlined at the location of the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7384" href="#L7384">7384</a><span class="code-text">        first re-export.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7385" href="#L7385">7385</a><span class="code-text">      * search works across crates that have been rendered to the same output</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7386" href="#L7386">7386</a><span class="code-text">        directory.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7387" href="#L7387">7387</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7388" href="#L7388">7388</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7389" href="#L7389">7389</a><span class="code-text">Version 0.9 (2014-01-09)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7390" href="#L7390">7390</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7391" href="#L7391">7391</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7392" href="#L7392">7392</a><span class="code-text">   * ~1800 changes, numerous bugfixes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7393" href="#L7393">7393</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7394" href="#L7394">7394</a><span class="code-text">   * Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7395" href="#L7395">7395</a><span class="code-text">      * The `float` type has been removed. Use `f32` or `f64` instead.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7396" href="#L7396">7396</a><span class="code-text">      * A new facility for enabling experimental features (feature gating) has</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7397" href="#L7397">7397</a><span class="code-text">        been added, using the crate-level `#[feature(foo)]` attribute.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7398" href="#L7398">7398</a><span class="code-text">      * Managed boxes (@) are now behind a feature gate</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7399" href="#L7399">7399</a><span class="code-text">        (`#[feature(managed_boxes)]`) in preparation for future removal. Use the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7400" href="#L7400">7400</a><span class="code-text">        standard library's `Gc` or `Rc` types instead.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7401" href="#L7401">7401</a><span class="code-text">      * `@mut` has been removed. Use `std::cell::{Cell, RefCell}` instead.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7402" href="#L7402">7402</a><span class="code-text">      * Jumping back to the top of a loop is now done with `continue` instead of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7403" href="#L7403">7403</a><span class="code-text">        `loop`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7404" href="#L7404">7404</a><span class="code-text">      * Strings can no longer be mutated through index assignment.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7405" href="#L7405">7405</a><span class="code-text">      * Raw strings can be created via the basic `r&quot;foo&quot;` syntax or with matched</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7406" href="#L7406">7406</a><span class="code-text">        hash delimiters, as in `r###&quot;foo&quot;###`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7407" href="#L7407">7407</a><span class="code-text">      * `~fn` is now written `proc (args) -&gt; retval { ... }` and may only be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7408" href="#L7408">7408</a><span class="code-text">        called once.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7409" href="#L7409">7409</a><span class="code-text">      * The `&amp;fn` type is now written `|args| -&gt; ret` to match the literal form.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7410" href="#L7410">7410</a><span class="code-text">      * `@fn`s have been removed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7411" href="#L7411">7411</a><span class="code-text">      * `do` only works with procs in order to make it obvious what the cost</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7412" href="#L7412">7412</a><span class="code-text">        of `do` is.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7413" href="#L7413">7413</a><span class="code-text">      * Single-element tuple-like structs can no longer be dereferenced to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7414" href="#L7414">7414</a><span class="code-text">        obtain the inner value. A more comprehensive solution for overloading</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7415" href="#L7415">7415</a><span class="code-text">        the dereference operator will be provided in the future.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7416" href="#L7416">7416</a><span class="code-text">      * The `#[link(...)]` attribute has been replaced with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7417" href="#L7417">7417</a><span class="code-text">        `#[crate_id = &quot;name#vers&quot;]`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7418" href="#L7418">7418</a><span class="code-text">      * Empty `impl`s must be terminated with empty braces and may not be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7419" href="#L7419">7419</a><span class="code-text">        terminated with a semicolon.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7420" href="#L7420">7420</a><span class="code-text">      * Keywords are no longer allowed as lifetime names; the `self` lifetime</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7421" href="#L7421">7421</a><span class="code-text">        no longer has any special meaning.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7422" href="#L7422">7422</a><span class="code-text">      * The old `fmt!` string formatting macro has been removed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7423" href="#L7423">7423</a><span class="code-text">      * `printf!` and `printfln!` (old-style formatting) removed in favor of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7424" href="#L7424">7424</a><span class="code-text">        `print!` and `println!`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7425" href="#L7425">7425</a><span class="code-text">      * `mut` works in patterns now, as in `let (mut x, y) = (1, 2);`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7426" href="#L7426">7426</a><span class="code-text">      * The `extern mod foo (name = &quot;bar&quot;)` syntax has been removed. Use</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7427" href="#L7427">7427</a><span class="code-text">        `extern mod foo = &quot;bar&quot;` instead.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7428" href="#L7428">7428</a><span class="code-text">      * New reserved keywords: `alignof`, `offsetof`, `sizeof`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7429" href="#L7429">7429</a><span class="code-text">      * Macros can have attributes.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7430" href="#L7430">7430</a><span class="code-text">      * Macros can expand to items with attributes.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7431" href="#L7431">7431</a><span class="code-text">      * Macros can expand to multiple items.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7432" href="#L7432">7432</a><span class="code-text">      * The `asm!` macro is feature-gated (`#[feature(asm)]`).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7433" href="#L7433">7433</a><span class="code-text">      * Comments may be nested.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7434" href="#L7434">7434</a><span class="code-text">      * Values automatically coerce to trait objects they implement, without</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7435" href="#L7435">7435</a><span class="code-text">        an explicit `as`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7436" href="#L7436">7436</a><span class="code-text">      * Enum discriminants are no longer an entire word but as small as needed to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7437" href="#L7437">7437</a><span class="code-text">        contain all the variants. The `repr` attribute can be used to override</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7438" href="#L7438">7438</a><span class="code-text">        the discriminant size, as in `#[repr(int)]` for integer-sized, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7439" href="#L7439">7439</a><span class="code-text">        `#[repr(C)]` to match C enums.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7440" href="#L7440">7440</a><span class="code-text">      * Non-string literals are not allowed in attributes (they never worked).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7441" href="#L7441">7441</a><span class="code-text">      * The FFI now supports variadic functions.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7442" href="#L7442">7442</a><span class="code-text">      * Octal numeric literals, as in `0o7777`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7443" href="#L7443">7443</a><span class="code-text">      * The `concat!` syntax extension performs compile-time string concatenation.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7444" href="#L7444">7444</a><span class="code-text">      * The `#[fixed_stack_segment]` and `#[rust_stack]` attributes have been</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7445" href="#L7445">7445</a><span class="code-text">        removed as Rust no longer uses segmented stacks.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7446" href="#L7446">7446</a><span class="code-text">      * Non-ascii identifiers are feature-gated (`#[feature(non_ascii_idents)]`).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7447" href="#L7447">7447</a><span class="code-text">      * Ignoring all fields of an enum variant or tuple-struct is done with `..`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7448" href="#L7448">7448</a><span class="code-text">        not `*`; ignoring remaining fields of a struct is also done with `..`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7449" href="#L7449">7449</a><span class="code-text">        not `_`; ignoring a slice of a vector is done with `..`, not `.._`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7450" href="#L7450">7450</a><span class="code-text">      * `rustc` supports the &quot;win64&quot; calling convention via `extern &quot;win64&quot;`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7451" href="#L7451">7451</a><span class="code-text">      * `rustc` supports the &quot;system&quot; calling convention, which defaults to the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7452" href="#L7452">7452</a><span class="code-text">        preferred convention for the target platform, &quot;stdcall&quot; on 32-bit Windows,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7453" href="#L7453">7453</a><span class="code-text">        &quot;C&quot; elsewhere.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7454" href="#L7454">7454</a><span class="code-text">      * The `type_overflow` lint (default: warn) checks literals for overflow.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7455" href="#L7455">7455</a><span class="code-text">      * The `unsafe_block` lint (default: allow) checks for usage of `unsafe`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7456" href="#L7456">7456</a><span class="code-text">      * The `attribute_usage` lint (default: warn) warns about unknown</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7457" href="#L7457">7457</a><span class="code-text">        attributes.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7458" href="#L7458">7458</a><span class="code-text">      * The `unknown_features` lint (default: warn) warns about unknown</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7459" href="#L7459">7459</a><span class="code-text">        feature gates.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7460" href="#L7460">7460</a><span class="code-text">      * The `dead_code` lint (default: warn) checks for dead code.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7461" href="#L7461">7461</a><span class="code-text">      * Rust libraries can be linked statically to one another</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7462" href="#L7462">7462</a><span class="code-text">      * `#[link_args]` is behind the `link_args` feature gate.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7463" href="#L7463">7463</a><span class="code-text">      * Native libraries are now linked with `#[link(name = &quot;foo&quot;)]`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7464" href="#L7464">7464</a><span class="code-text">      * Native libraries can be statically linked to a rust crate</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7465" href="#L7465">7465</a><span class="code-text">        (`#[link(name = &quot;foo&quot;, kind = &quot;static&quot;)]`).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7466" href="#L7466">7466</a><span class="code-text">      * Native OS X frameworks are now officially supported</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7467" href="#L7467">7467</a><span class="code-text">        (`#[link(name = &quot;foo&quot;, kind = &quot;framework&quot;)]`).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7468" href="#L7468">7468</a><span class="code-text">      * The `#[thread_local]` attribute creates thread-local (not task-local)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7469" href="#L7469">7469</a><span class="code-text">        variables. Currently behind the `thread_local` feature gate.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7470" href="#L7470">7470</a><span class="code-text">      * The `return` keyword may be used in closures.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7471" href="#L7471">7471</a><span class="code-text">      * Types that can be copied via a memcpy implement the `Pod` kind.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7472" href="#L7472">7472</a><span class="code-text">      * The `cfg` attribute can now be used on struct fields and enum variants.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7473" href="#L7473">7473</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7474" href="#L7474">7474</a><span class="code-text">   * Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7475" href="#L7475">7475</a><span class="code-text">      * std: The `option` and `result` API's have been overhauled to make them</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7476" href="#L7476">7476</a><span class="code-text">        simpler, more consistent, and more composable.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7477" href="#L7477">7477</a><span class="code-text">      * std: The entire `std::io` module has been replaced with one that is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7478" href="#L7478">7478</a><span class="code-text">        more comprehensive and that properly interfaces with the underlying</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7479" href="#L7479">7479</a><span class="code-text">        scheduler. File, TCP, UDP, Unix sockets, pipes, and timers are all</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7480" href="#L7480">7480</a><span class="code-text">        implemented.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7481" href="#L7481">7481</a><span class="code-text">      * std: `io::util` contains a number of useful implementations of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7482" href="#L7482">7482</a><span class="code-text">        `Reader` and `Writer`, including `NullReader`, `NullWriter`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7483" href="#L7483">7483</a><span class="code-text">        `ZeroReader`, `TeeReader`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7484" href="#L7484">7484</a><span class="code-text">      * std: The reference counted pointer type `extra::rc` moved into std.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7485" href="#L7485">7485</a><span class="code-text">      * std: The `Gc` type in the `gc` module will replace `@` (it is currently</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7486" href="#L7486">7486</a><span class="code-text">        just a wrapper around it).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7487" href="#L7487">7487</a><span class="code-text">      * std: The `Either` type has been removed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7488" href="#L7488">7488</a><span class="code-text">      * std: `fmt::Default` can be implemented for any type to provide default</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7489" href="#L7489">7489</a><span class="code-text">        formatting to the `format!` macro, as in `format!(&quot;{}&quot;, myfoo)`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7490" href="#L7490">7490</a><span class="code-text">      * std: The `rand` API continues to be tweaked.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7491" href="#L7491">7491</a><span class="code-text">      * std: The `rust_begin_unwind` function, useful for inserting breakpoints</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7492" href="#L7492">7492</a><span class="code-text">        on failure in gdb, is now named `rust_fail`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7493" href="#L7493">7493</a><span class="code-text">      * std: The `each_key` and `each_value` methods on `HashMap` have been</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7494" href="#L7494">7494</a><span class="code-text">        replaced by the `keys` and `values` iterators.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7495" href="#L7495">7495</a><span class="code-text">      * std: Functions dealing with type size and alignment have moved from the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7496" href="#L7496">7496</a><span class="code-text">        `sys` module to the `mem` module.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7497" href="#L7497">7497</a><span class="code-text">      * std: The `path` module was written and API changed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7498" href="#L7498">7498</a><span class="code-text">      * std: `str::from_utf8` has been changed to cast instead of allocate.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7499" href="#L7499">7499</a><span class="code-text">      * std: `starts_with` and `ends_with` methods added to vectors via the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7500" href="#L7500">7500</a><span class="code-text">        `ImmutableEqVector` trait, which is in the prelude.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7501" href="#L7501">7501</a><span class="code-text">      * std: Vectors can be indexed with the `get_opt` method, which returns `None`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7502" href="#L7502">7502</a><span class="code-text">        if the index is out of bounds.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7503" href="#L7503">7503</a><span class="code-text">      * std: Task failure no longer propagates between tasks, as the model was</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7504" href="#L7504">7504</a><span class="code-text">        complex, expensive, and incompatible with thread-based tasks.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7505" href="#L7505">7505</a><span class="code-text">      * std: The `Any` type can be used for dynamic typing.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7506" href="#L7506">7506</a><span class="code-text">      * std: `~Any` can be passed to the `fail!` macro and retrieved via</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7507" href="#L7507">7507</a><span class="code-text">        `task::try`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7508" href="#L7508">7508</a><span class="code-text">      * std: Methods that produce iterators generally do not have an `_iter`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7509" href="#L7509">7509</a><span class="code-text">        suffix now.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7510" href="#L7510">7510</a><span class="code-text">      * std: `cell::Cell` and `cell::RefCell` can be used to introduce mutability</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7511" href="#L7511">7511</a><span class="code-text">        roots (mutable fields, etc.). Use instead of e.g. `@mut`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7512" href="#L7512">7512</a><span class="code-text">      * std: `util::ignore` renamed to `prelude::drop`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7513" href="#L7513">7513</a><span class="code-text">      * std: Slices have `sort` and `sort_by` methods via the `MutableVector`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7514" href="#L7514">7514</a><span class="code-text">        trait.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7515" href="#L7515">7515</a><span class="code-text">      * std: `vec::raw` has seen a lot of cleanup and API changes.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7516" href="#L7516">7516</a><span class="code-text">      * std: The standard library no longer includes any C++ code, and very</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7517" href="#L7517">7517</a><span class="code-text">        minimal C, eliminating the dependency on libstdc++.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7518" href="#L7518">7518</a><span class="code-text">      * std: Runtime scheduling and I/O functionality has been factored out into</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7519" href="#L7519">7519</a><span class="code-text">        extensible interfaces and is now implemented by two different crates:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7520" href="#L7520">7520</a><span class="code-text">        libnative, for native threading and I/O; and libgreen, for green threading</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7521" href="#L7521">7521</a><span class="code-text">        and I/O. This paves the way for using the standard library in more limited</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7522" href="#L7522">7522</a><span class="code-text">        embedded environments.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7523" href="#L7523">7523</a><span class="code-text">      * std: The `comm` module has been rewritten to be much faster, have a</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7524" href="#L7524">7524</a><span class="code-text">        simpler, more consistent API, and to work for both native and green</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7525" href="#L7525">7525</a><span class="code-text">        threading.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7526" href="#L7526">7526</a><span class="code-text">      * std: All libuv dependencies have been moved into the rustuv crate.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7527" href="#L7527">7527</a><span class="code-text">      * native: New implementations of runtime scheduling on top of OS threads.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7528" href="#L7528">7528</a><span class="code-text">      * native: New native implementations of TCP, UDP, file I/O, process spawning,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7529" href="#L7529">7529</a><span class="code-text">        and other I/O.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7530" href="#L7530">7530</a><span class="code-text">      * green: The green thread scheduler and message passing types are almost</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7531" href="#L7531">7531</a><span class="code-text">        entirely lock-free.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7532" href="#L7532">7532</a><span class="code-text">      * extra: The `flatpipes` module had bitrotted and was removed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7533" href="#L7533">7533</a><span class="code-text">      * extra: All crypto functions have been removed and Rust now has a policy of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7534" href="#L7534">7534</a><span class="code-text">        not reimplementing crypto in the standard library. In the future crypto</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7535" href="#L7535">7535</a><span class="code-text">        will be provided by external crates with bindings to established libraries.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7536" href="#L7536">7536</a><span class="code-text">      * extra: `c_vec` has been modernized.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7537" href="#L7537">7537</a><span class="code-text">      * extra: The `sort` module has been removed. Use the `sort` method on</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7538" href="#L7538">7538</a><span class="code-text">        mutable slices.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7539" href="#L7539">7539</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7540" href="#L7540">7540</a><span class="code-text">   * Tooling</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7541" href="#L7541">7541</a><span class="code-text">      * The `rust` and `rusti` commands have been removed, due to lack of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7542" href="#L7542">7542</a><span class="code-text">        maintenance.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7543" href="#L7543">7543</a><span class="code-text">      * `rustdoc` was completely rewritten.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7544" href="#L7544">7544</a><span class="code-text">      * `rustdoc` can test code examples in documentation.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7545" href="#L7545">7545</a><span class="code-text">      * `rustpkg` can test packages with the argument, 'test'.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7546" href="#L7546">7546</a><span class="code-text">      * `rustpkg` supports arbitrary dependencies, including C libraries.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7547" href="#L7547">7547</a><span class="code-text">      * `rustc`'s support for generating debug info is improved again.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7548" href="#L7548">7548</a><span class="code-text">      * `rustc` has better error reporting for unbalanced delimiters.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7549" href="#L7549">7549</a><span class="code-text">      * `rustc`'s JIT support was removed due to bitrot.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7550" href="#L7550">7550</a><span class="code-text">      * Executables and static libraries can be built with LTO (-Z lto)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7551" href="#L7551">7551</a><span class="code-text">      * `rustc` adds a `--dep-info` flag for communicating dependencies to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7552" href="#L7552">7552</a><span class="code-text">        build tools.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7553" href="#L7553">7553</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7554" href="#L7554">7554</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7555" href="#L7555">7555</a><span class="code-text">Version 0.8 (2013-09-26)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7556" href="#L7556">7556</a><span class="code-text">============================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7557" href="#L7557">7557</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7558" href="#L7558">7558</a><span class="code-text">   * ~2200 changes, numerous bugfixes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7559" href="#L7559">7559</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7560" href="#L7560">7560</a><span class="code-text">   * Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7561" href="#L7561">7561</a><span class="code-text">      * The `for` loop syntax has changed to work with the `Iterator` trait.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7562" href="#L7562">7562</a><span class="code-text">      * At long last, unwinding works on Windows.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7563" href="#L7563">7563</a><span class="code-text">      * Default methods are ready for use.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7564" href="#L7564">7564</a><span class="code-text">      * Many trait inheritance bugs fixed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7565" href="#L7565">7565</a><span class="code-text">      * Owned and borrowed trait objects work more reliably.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7566" href="#L7566">7566</a><span class="code-text">      * `copy` is no longer a keyword. It has been replaced by the `Clone` trait.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7567" href="#L7567">7567</a><span class="code-text">      * rustc can omit emission of code for the `debug!` macro if it is passed</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7568" href="#L7568">7568</a><span class="code-text">        `--cfg ndebug`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7569" href="#L7569">7569</a><span class="code-text">      * mod.rs is now &quot;blessed&quot;. When loading `mod foo;`, rustc will now look</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7570" href="#L7570">7570</a><span class="code-text">        for foo.rs, then foo/mod.rs, and will generate an error when both are</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7571" href="#L7571">7571</a><span class="code-text">        present.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7572" href="#L7572">7572</a><span class="code-text">      * Strings no longer contain trailing nulls. The new `std::c_str` module</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7573" href="#L7573">7573</a><span class="code-text">        provides new mechanisms for converting to C strings.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7574" href="#L7574">7574</a><span class="code-text">      * The type of foreign functions is now `extern &quot;C&quot; fn` instead of `*u8'.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7575" href="#L7575">7575</a><span class="code-text">      * The FFI has been overhauled such that foreign functions are called directly,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7576" href="#L7576">7576</a><span class="code-text">        instead of through a stack-switching wrapper.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7577" href="#L7577">7577</a><span class="code-text">      * Calling a foreign function must be done through a Rust function with the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7578" href="#L7578">7578</a><span class="code-text">        `#[fixed_stack_segment]` attribute.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7579" href="#L7579">7579</a><span class="code-text">      * The `externfn!` macro can be used to declare both a foreign function and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7580" href="#L7580">7580</a><span class="code-text">        a `#[fixed_stack_segment]` wrapper at once.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7581" href="#L7581">7581</a><span class="code-text">      * `pub` and `priv` modifiers on `extern` blocks are no longer parsed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7582" href="#L7582">7582</a><span class="code-text">      * `unsafe` is no longer allowed on extern fns - they are all unsafe.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7583" href="#L7583">7583</a><span class="code-text">      * `priv` is disallowed everywhere except for struct fields and enum variants.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7584" href="#L7584">7584</a><span class="code-text">      * `&amp;T` (besides `&amp;'static T`) is no longer allowed in `@T`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7585" href="#L7585">7585</a><span class="code-text">      * `ref` bindings in irrefutable patterns work correctly now.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7586" href="#L7586">7586</a><span class="code-text">      * `char` is now prevented from containing invalid code points.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7587" href="#L7587">7587</a><span class="code-text">      * Casting to `bool` is no longer allowed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7588" href="#L7588">7588</a><span class="code-text">      * `\0` is now accepted as an escape in chars and strings.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7589" href="#L7589">7589</a><span class="code-text">      * `yield` is a reserved keyword.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7590" href="#L7590">7590</a><span class="code-text">      * `typeof` is a reserved keyword.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7591" href="#L7591">7591</a><span class="code-text">      * Crates may be imported by URL with `extern mod foo = &quot;url&quot;;`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7592" href="#L7592">7592</a><span class="code-text">      * Explicit enum discriminants may be given as uints as in `enum E { V = 0u }`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7593" href="#L7593">7593</a><span class="code-text">      * Static vectors can be initialized with repeating elements,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7594" href="#L7594">7594</a><span class="code-text">        e.g. `static foo: [u8, .. 100]: [0, .. 100];`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7595" href="#L7595">7595</a><span class="code-text">      * Static structs can be initialized with functional record update,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7596" href="#L7596">7596</a><span class="code-text">        e.g. `static foo: Foo = Foo { a: 5, .. bar };`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7597" href="#L7597">7597</a><span class="code-text">      * `cfg!` can be used to conditionally execute code based on the crate</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7598" href="#L7598">7598</a><span class="code-text">        configuration, similarly to `#[cfg(...)]`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7599" href="#L7599">7599</a><span class="code-text">      * The `unnecessary_qualification` lint detects unneeded module</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7600" href="#L7600">7600</a><span class="code-text">        prefixes (default: allow).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7601" href="#L7601">7601</a><span class="code-text">      * Arithmetic operations have been implemented on the SIMD types in</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7602" href="#L7602">7602</a><span class="code-text">        `std::unstable::simd`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7603" href="#L7603">7603</a><span class="code-text">      * Exchange allocation headers were removed, reducing memory usage.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7604" href="#L7604">7604</a><span class="code-text">      * `format!` implements a completely new, extensible, and higher-performance</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7605" href="#L7605">7605</a><span class="code-text">        string formatting system. It will replace `fmt!`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7606" href="#L7606">7606</a><span class="code-text">      * `print!` and `println!` write formatted strings (using the `format!`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7607" href="#L7607">7607</a><span class="code-text">        extension) to stdout.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7608" href="#L7608">7608</a><span class="code-text">      * `write!` and `writeln!` write formatted strings (using the `format!`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7609" href="#L7609">7609</a><span class="code-text">        extension) to the new Writers in `std::rt::io`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7610" href="#L7610">7610</a><span class="code-text">      * The library section in which a function or static is placed may</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7611" href="#L7611">7611</a><span class="code-text">        be specified with `#[link_section = &quot;...&quot;]`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7612" href="#L7612">7612</a><span class="code-text">      * The `proto!` syntax extension for defining bounded message protocols</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7613" href="#L7613">7613</a><span class="code-text">        was removed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7614" href="#L7614">7614</a><span class="code-text">      * `macro_rules!` is hygienic for `let` declarations.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7615" href="#L7615">7615</a><span class="code-text">      * The `#[export_name]` attribute specifies the name of a symbol.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7616" href="#L7616">7616</a><span class="code-text">      * `unreachable!` can be used to indicate unreachable code, and fails</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7617" href="#L7617">7617</a><span class="code-text">        if executed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7618" href="#L7618">7618</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7619" href="#L7619">7619</a><span class="code-text">   * Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7620" href="#L7620">7620</a><span class="code-text">      * std: Transitioned to the new runtime, written in Rust.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7621" href="#L7621">7621</a><span class="code-text">      * std: Added an experimental I/O library, `rt::io`, based on the new</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7622" href="#L7622">7622</a><span class="code-text">        runtime.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7623" href="#L7623">7623</a><span class="code-text">      * std: A new generic `range` function was added to the prelude, replacing</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7624" href="#L7624">7624</a><span class="code-text">        `uint::range` and friends.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7625" href="#L7625">7625</a><span class="code-text">      * std: `range_rev` no longer exists. Since range is an iterator it can be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7626" href="#L7626">7626</a><span class="code-text">        reversed with `range(lo, hi).invert()`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7627" href="#L7627">7627</a><span class="code-text">      * std: The `chain` method on option renamed to `and_then`; `unwrap_or_default`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7628" href="#L7628">7628</a><span class="code-text">        renamed to `unwrap_or`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7629" href="#L7629">7629</a><span class="code-text">      * std: The `iterator` module was renamed to `iter`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7630" href="#L7630">7630</a><span class="code-text">      * std: Integral types now support the `checked_add`, `checked_sub`, and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7631" href="#L7631">7631</a><span class="code-text">        `checked_mul` operations for detecting overflow.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7632" href="#L7632">7632</a><span class="code-text">      * std: Many methods in `str`, `vec`, `option, `result` were renamed for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7633" href="#L7633">7633</a><span class="code-text">        consistency.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7634" href="#L7634">7634</a><span class="code-text">      * std: Methods are standardizing on conventions for casting methods:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7635" href="#L7635">7635</a><span class="code-text">        `to_foo` for copying, `into_foo` for moving, `as_foo` for temporary</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7636" href="#L7636">7636</a><span class="code-text">        and cheap casts.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7637" href="#L7637">7637</a><span class="code-text">      * std: The `CString` type in `c_str` provides new ways to convert to and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7638" href="#L7638">7638</a><span class="code-text">        from C strings.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7639" href="#L7639">7639</a><span class="code-text">      * std: `DoubleEndedIterator` can yield elements in two directions.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7640" href="#L7640">7640</a><span class="code-text">      * std: The `mut_split` method on vectors partitions an `&amp;mut [T]` into</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7641" href="#L7641">7641</a><span class="code-text">        two splices.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7642" href="#L7642">7642</a><span class="code-text">      * std: `str::from_bytes` renamed to `str::from_utf8`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7643" href="#L7643">7643</a><span class="code-text">      * std: `pop_opt` and `shift_opt` methods added to vectors.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7644" href="#L7644">7644</a><span class="code-text">      * std: The task-local data interface no longer uses @, and keys are</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7645" href="#L7645">7645</a><span class="code-text">        no longer function pointers.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7646" href="#L7646">7646</a><span class="code-text">      * std: The `swap_unwrap` method of `Option` renamed to `take_unwrap`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7647" href="#L7647">7647</a><span class="code-text">      * std: Added `SharedPort` to `comm`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7648" href="#L7648">7648</a><span class="code-text">      * std: `Eq` has a default method for `ne`; only `eq` is required</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7649" href="#L7649">7649</a><span class="code-text">        in implementations.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7650" href="#L7650">7650</a><span class="code-text">      * std: `Ord` has default methods for `le`, `gt` and `ge`; only `lt`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7651" href="#L7651">7651</a><span class="code-text">        is required in implementations.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7652" href="#L7652">7652</a><span class="code-text">      * std: `is_utf8` performance is improved, impacting many string functions.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7653" href="#L7653">7653</a><span class="code-text">      * std: `os::MemoryMap` provides cross-platform mmap.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7654" href="#L7654">7654</a><span class="code-text">      * std: `ptr::offset` is now unsafe, but also more optimized. Offsets that</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7655" href="#L7655">7655</a><span class="code-text">        are not 'in-bounds' are considered undefined.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7656" href="#L7656">7656</a><span class="code-text">      * std: Many freestanding functions in `vec` removed in favor of methods.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7657" href="#L7657">7657</a><span class="code-text">      * std: Many freestanding functions on scalar types removed in favor of</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7658" href="#L7658">7658</a><span class="code-text">        methods.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7659" href="#L7659">7659</a><span class="code-text">      * std: Many options to task builders were removed since they don't make</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7660" href="#L7660">7660</a><span class="code-text">        sense in the new scheduler design.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7661" href="#L7661">7661</a><span class="code-text">      * std: More containers implement `FromIterator` so can be created by the</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7662" href="#L7662">7662</a><span class="code-text">        `collect` method.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7663" href="#L7663">7663</a><span class="code-text">      * std: More complete atomic types in `unstable::atomics`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7664" href="#L7664">7664</a><span class="code-text">      * std: `comm::PortSet` removed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7665" href="#L7665">7665</a><span class="code-text">      * std: Mutating methods in the `Set` and `Map` traits have been moved into</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7666" href="#L7666">7666</a><span class="code-text">        the `MutableSet` and `MutableMap` traits. `Container::is_empty`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7667" href="#L7667">7667</a><span class="code-text">        `Map::contains_key`, `MutableMap::insert`, and `MutableMap::remove` have</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7668" href="#L7668">7668</a><span class="code-text">        default implementations.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7669" href="#L7669">7669</a><span class="code-text">      * std: Various `from_str` functions were removed in favor of a generic</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7670" href="#L7670">7670</a><span class="code-text">        `from_str` which is available in the prelude.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7671" href="#L7671">7671</a><span class="code-text">      * std: `util::unreachable` removed in favor of the `unreachable!` macro.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7672" href="#L7672">7672</a><span class="code-text">      * extra: `dlist`, the doubly-linked list was modernized.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7673" href="#L7673">7673</a><span class="code-text">      * extra: Added a `hex` module with `ToHex` and `FromHex` traits.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7674" href="#L7674">7674</a><span class="code-text">      * extra: Added `glob` module, replacing `std::os::glob`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7675" href="#L7675">7675</a><span class="code-text">      * extra: `rope` was removed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7676" href="#L7676">7676</a><span class="code-text">      * extra: `deque` was renamed to `ringbuf`. `RingBuf` implements `Deque`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7677" href="#L7677">7677</a><span class="code-text">      * extra: `net`, and `timer` were removed. The experimental replacements</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7678" href="#L7678">7678</a><span class="code-text">        are `std::rt::io::net` and `std::rt::io::timer`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7679" href="#L7679">7679</a><span class="code-text">      * extra: Iterators implemented for `SmallIntMap`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7680" href="#L7680">7680</a><span class="code-text">      * extra: Iterators implemented for `Bitv` and `BitvSet`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7681" href="#L7681">7681</a><span class="code-text">      * extra: `SmallIntSet` removed. Use `BitvSet`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7682" href="#L7682">7682</a><span class="code-text">      * extra: Performance of JSON parsing greatly improved.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7683" href="#L7683">7683</a><span class="code-text">      * extra: `semver` updated to SemVer 2.0.0.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7684" href="#L7684">7684</a><span class="code-text">      * extra: `term` handles more terminals correctly.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7685" href="#L7685">7685</a><span class="code-text">      * extra: `dbg` module removed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7686" href="#L7686">7686</a><span class="code-text">      * extra: `par` module removed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7687" href="#L7687">7687</a><span class="code-text">      * extra: `future` was cleaned up, with some method renames.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7688" href="#L7688">7688</a><span class="code-text">      * extra: Most free functions in `getopts` were converted to methods.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7689" href="#L7689">7689</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7690" href="#L7690">7690</a><span class="code-text">   * Other</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7691" href="#L7691">7691</a><span class="code-text">      * rustc's debug info generation (`-Z debug-info`) is greatly improved.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7692" href="#L7692">7692</a><span class="code-text">      * rustc accepts `--target-cpu` to compile to a specific CPU architecture,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7693" href="#L7693">7693</a><span class="code-text">        similarly to gcc's `--march` flag.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7694" href="#L7694">7694</a><span class="code-text">      * rustc's performance compiling small crates is much better.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7695" href="#L7695">7695</a><span class="code-text">      * rustpkg has received many improvements.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7696" href="#L7696">7696</a><span class="code-text">      * rustpkg supports git tags as package IDs.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7697" href="#L7697">7697</a><span class="code-text">      * rustpkg builds into target-specific directories so it can be used for</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7698" href="#L7698">7698</a><span class="code-text">        cross-compiling.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7699" href="#L7699">7699</a><span class="code-text">      * The number of concurrent test tasks is controlled by the environment</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7700" href="#L7700">7700</a><span class="code-text">        variable RUST_TEST_TASKS.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7701" href="#L7701">7701</a><span class="code-text">      * The test harness can now report metrics for benchmarks.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7702" href="#L7702">7702</a><span class="code-text">      * All tools have man pages.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7703" href="#L7703">7703</a><span class="code-text">      * Programs compiled with `--test` now support the `-h` and `--help` flags.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7704" href="#L7704">7704</a><span class="code-text">      * The runtime uses jemalloc for allocations.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7705" href="#L7705">7705</a><span class="code-text">      * Segmented stacks are temporarily disabled as part of the transition to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7706" href="#L7706">7706</a><span class="code-text">        the new runtime. Stack overflows are possible!</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7707" href="#L7707">7707</a><span class="code-text">      * A new documentation backend, rustdoc_ng, is available for use. It is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7708" href="#L7708">7708</a><span class="code-text">        still invoked through the normal `rustdoc` command.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7709" href="#L7709">7709</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7710" href="#L7710">7710</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7711" href="#L7711">7711</a><span class="code-text">Version 0.7 (2013-07-03)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7712" href="#L7712">7712</a><span class="code-text">=======================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7713" href="#L7713">7713</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7714" href="#L7714">7714</a><span class="code-text">   * ~2000 changes, numerous bugfixes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7715" href="#L7715">7715</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7716" href="#L7716">7716</a><span class="code-text">   * Language</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7717" href="#L7717">7717</a><span class="code-text">      * `impl`s no longer accept a visibility qualifier. Put them on methods</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7718" href="#L7718">7718</a><span class="code-text">        instead.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7719" href="#L7719">7719</a><span class="code-text">      * The borrow checker has been rewritten with flow-sensitivity, fixing</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7720" href="#L7720">7720</a><span class="code-text">        many bugs and inconveniences.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7721" href="#L7721">7721</a><span class="code-text">      * The `self` parameter no longer implicitly means `&amp;'self self`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7722" href="#L7722">7722</a><span class="code-text">        and can be explicitly marked with a lifetime.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7723" href="#L7723">7723</a><span class="code-text">      * Overloadable compound operators (`+=`, etc.) have been temporarily</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7724" href="#L7724">7724</a><span class="code-text">        removed due to bugs.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7725" href="#L7725">7725</a><span class="code-text">      * The `for` loop protocol now requires `for`-iterators to return `bool`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7726" href="#L7726">7726</a><span class="code-text">        so they compose better.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7727" href="#L7727">7727</a><span class="code-text">      * The `Durable` trait is replaced with the `'static` bounds.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7728" href="#L7728">7728</a><span class="code-text">      * Trait default methods work more often.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7729" href="#L7729">7729</a><span class="code-text">      * Structs with the `#[packed]` attribute have byte alignment and</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7730" href="#L7730">7730</a><span class="code-text">        no padding between fields.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7731" href="#L7731">7731</a><span class="code-text">      * Type parameters bound by `Copy` must now be copied explicitly with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7732" href="#L7732">7732</a><span class="code-text">        the `copy` keyword.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7733" href="#L7733">7733</a><span class="code-text">      * It is now illegal to move out of a dereferenced unsafe pointer.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7734" href="#L7734">7734</a><span class="code-text">      * `Option&lt;~T&gt;` is now represented as a nullable pointer.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7735" href="#L7735">7735</a><span class="code-text">      * `@mut` does dynamic borrow checks correctly.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7736" href="#L7736">7736</a><span class="code-text">      * The `main` function is only detected at the topmost level of the crate.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7737" href="#L7737">7737</a><span class="code-text">        The `#[main]` attribute is still valid anywhere.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7738" href="#L7738">7738</a><span class="code-text">      * Struct fields may no longer be mutable. Use inherited mutability.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7739" href="#L7739">7739</a><span class="code-text">      * The `#[no_send]` attribute makes a type that would otherwise be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7740" href="#L7740">7740</a><span class="code-text">        `Send`, not.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7741" href="#L7741">7741</a><span class="code-text">      * The `#[no_freeze]` attribute makes a type that would otherwise be</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7742" href="#L7742">7742</a><span class="code-text">        `Freeze`, not.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7743" href="#L7743">7743</a><span class="code-text">      * Unbounded recursion will abort the process after reaching the limit</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7744" href="#L7744">7744</a><span class="code-text">        specified by the `RUST_MAX_STACK` environment variable (default: 1GB).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7745" href="#L7745">7745</a><span class="code-text">      * The `vecs_implicitly_copyable` lint mode has been removed. Vectors</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7746" href="#L7746">7746</a><span class="code-text">        are never implicitly copyable.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7747" href="#L7747">7747</a><span class="code-text">      * `#[static_assert]` makes compile-time assertions about static bools.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7748" href="#L7748">7748</a><span class="code-text">      * At long last, 'argument modes' no longer exist.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7749" href="#L7749">7749</a><span class="code-text">      * The rarely used `use mod` statement no longer exists.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7750" href="#L7750">7750</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7751" href="#L7751">7751</a><span class="code-text">   * Syntax extensions</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7752" href="#L7752">7752</a><span class="code-text">      * `fail!` and `assert!` accept `~str`, `&amp;'static str` or `fmt!`-style</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7753" href="#L7753">7753</a><span class="code-text">        argument list.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7754" href="#L7754">7754</a><span class="code-text">      * `Encodable`, `Decodable`, `Ord`, `TotalOrd`, `TotalEq`, `DeepClone`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7755" href="#L7755">7755</a><span class="code-text">        `Rand`, `Zero` and `ToStr` can all be automatically derived with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7756" href="#L7756">7756</a><span class="code-text">        `#[deriving(...)]`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7757" href="#L7757">7757</a><span class="code-text">      * The `bytes!` macro returns a vector of bytes for string, u8, char,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7758" href="#L7758">7758</a><span class="code-text">        and unsuffixed integer literals.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7759" href="#L7759">7759</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7760" href="#L7760">7760</a><span class="code-text">   * Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7761" href="#L7761">7761</a><span class="code-text">      * The `core` crate was renamed to `std`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7762" href="#L7762">7762</a><span class="code-text">      * The `std` crate was renamed to `extra`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7763" href="#L7763">7763</a><span class="code-text">      * More and improved documentation.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7764" href="#L7764">7764</a><span class="code-text">      * std: `iterator` module for external iterator objects.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7765" href="#L7765">7765</a><span class="code-text">      * Many old-style (internal, higher-order function) iterators replaced by</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7766" href="#L7766">7766</a><span class="code-text">        implementations of `Iterator`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7767" href="#L7767">7767</a><span class="code-text">      * std: Many old internal vector and string iterators,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7768" href="#L7768">7768</a><span class="code-text">        incl. `any`, `all`. removed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7769" href="#L7769">7769</a><span class="code-text">      * std: The `finalize` method of `Drop` renamed to `drop`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7770" href="#L7770">7770</a><span class="code-text">      * std: The `drop` method now takes `&amp;mut self` instead of `&amp;self`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7771" href="#L7771">7771</a><span class="code-text">      * std: The prelude no longer re-exports any modules, only types and traits.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7772" href="#L7772">7772</a><span class="code-text">      * std: Prelude additions: `print`, `println`, `FromStr`, `ApproxEq`, `Equiv`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7773" href="#L7773">7773</a><span class="code-text">        `Iterator`, `IteratorUtil`, many numeric traits, many tuple traits.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7774" href="#L7774">7774</a><span class="code-text">      * std: New numeric traits: `Fractional`, `Real`, `RealExt`, `Integer`, `Ratio`,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7775" href="#L7775">7775</a><span class="code-text">        `Algebraic`, `Trigonometric`, `Exponential`, `Primitive`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7776" href="#L7776">7776</a><span class="code-text">      * std: Tuple traits and accessors defined for up to 12-tuples, e.g.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7777" href="#L7777">7777</a><span class="code-text">        `(0, 1, 2).n2()` or `(0, 1, 2).n2_ref()`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7778" href="#L7778">7778</a><span class="code-text">      * std: Many types implement `Clone`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7779" href="#L7779">7779</a><span class="code-text">      * std: `path` type renamed to `Path`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7780" href="#L7780">7780</a><span class="code-text">      * std: `mut` module and `Mut` type removed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7781" href="#L7781">7781</a><span class="code-text">      * std: Many standalone functions removed in favor of methods and iterators</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7782" href="#L7782">7782</a><span class="code-text">        in `vec`, `str`. In the future methods will also work as functions.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7783" href="#L7783">7783</a><span class="code-text">      * std: `reinterpret_cast` removed. Use `transmute`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7784" href="#L7784">7784</a><span class="code-text">      * std: ascii string handling in `std::ascii`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7785" href="#L7785">7785</a><span class="code-text">      * std: `Rand` is implemented for ~/@.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7786" href="#L7786">7786</a><span class="code-text">      * std: `run` module for spawning processes overhauled.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7787" href="#L7787">7787</a><span class="code-text">      * std: Various atomic types added to `unstable::atomic`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7788" href="#L7788">7788</a><span class="code-text">      * std: Various types implement `Zero`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7789" href="#L7789">7789</a><span class="code-text">      * std: `LinearMap` and `LinearSet` renamed to `HashMap` and `HashSet`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7790" href="#L7790">7790</a><span class="code-text">      * std: Borrowed pointer functions moved from `ptr` to `borrow`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7791" href="#L7791">7791</a><span class="code-text">      * std: Added `os::mkdir_recursive`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7792" href="#L7792">7792</a><span class="code-text">      * std: Added `os::glob` function performs filesystems globs.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7793" href="#L7793">7793</a><span class="code-text">      * std: `FuzzyEq` renamed to `ApproxEq`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7794" href="#L7794">7794</a><span class="code-text">      * std: `Map` now defines `pop` and `swap` methods.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7795" href="#L7795">7795</a><span class="code-text">      * std: `Cell` constructors converted to static methods.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7796" href="#L7796">7796</a><span class="code-text">      * extra: `rc` module adds the reference counted pointers, `Rc` and `RcMut`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7797" href="#L7797">7797</a><span class="code-text">      * extra: `flate` module moved from `std` to `extra`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7798" href="#L7798">7798</a><span class="code-text">      * extra: `fileinput` module for iterating over a series of files.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7799" href="#L7799">7799</a><span class="code-text">      * extra: `Complex` number type and `complex` module.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7800" href="#L7800">7800</a><span class="code-text">      * extra: `Rational` number type and `rational` module.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7801" href="#L7801">7801</a><span class="code-text">      * extra: `BigInt`, `BigUint` implement numeric and comparison traits.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7802" href="#L7802">7802</a><span class="code-text">      * extra: `term` uses terminfo now, is more correct.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7803" href="#L7803">7803</a><span class="code-text">      * extra: `arc` functions converted to methods.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7804" href="#L7804">7804</a><span class="code-text">      * extra: Implementation of fixed output size variations of SHA-2.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7805" href="#L7805">7805</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7806" href="#L7806">7806</a><span class="code-text">   * Tooling</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7807" href="#L7807">7807</a><span class="code-text">      * `unused_variable`  lint mode for unused variables (default: warn).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7808" href="#L7808">7808</a><span class="code-text">      * `unused_unsafe` lint mode for detecting unnecessary `unsafe` blocks</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7809" href="#L7809">7809</a><span class="code-text">        (default: warn).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7810" href="#L7810">7810</a><span class="code-text">      * `unused_mut` lint mode for identifying unused `mut` qualifiers</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7811" href="#L7811">7811</a><span class="code-text">        (default: warn).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7812" href="#L7812">7812</a><span class="code-text">      * `dead_assignment` lint mode for unread variables (default: warn).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7813" href="#L7813">7813</a><span class="code-text">      * `unnecessary_allocation` lint mode detects some heap allocations that are</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7814" href="#L7814">7814</a><span class="code-text">        immediately borrowed so could be written without allocating (default: warn).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7815" href="#L7815">7815</a><span class="code-text">      * `missing_doc` lint mode (default: allow).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7816" href="#L7816">7816</a><span class="code-text">      * `unreachable_code` lint mode (default: warn).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7817" href="#L7817">7817</a><span class="code-text">      * The `rusti` command has been rewritten and a number of bugs addressed.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7818" href="#L7818">7818</a><span class="code-text">      * rustc outputs in color on more terminals.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7819" href="#L7819">7819</a><span class="code-text">      * rustc accepts a `--link-args` flag to pass arguments to the linker.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7820" href="#L7820">7820</a><span class="code-text">      * rustc accepts a `-Z print-link-args` flag for debugging linkage.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7821" href="#L7821">7821</a><span class="code-text">      * Compiling with `-g` will make the binary record information about</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7822" href="#L7822">7822</a><span class="code-text">        dynamic borrowcheck failures for debugging.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7823" href="#L7823">7823</a><span class="code-text">      * rustdoc has a nicer stylesheet.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7824" href="#L7824">7824</a><span class="code-text">      * Various improvements to rustdoc.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7825" href="#L7825">7825</a><span class="code-text">      * Improvements to rustpkg (see the detailed release notes).</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7826" href="#L7826">7826</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7827" href="#L7827">7827</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7828" href="#L7828">7828</a><span class="code-text">Version 0.6 (2013-04-03)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7829" href="#L7829">7829</a><span class="code-text">========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7830" href="#L7830">7830</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7831" href="#L7831">7831</a><span class="code-text">   * ~2100 changes, numerous bugfixes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7832" href="#L7832">7832</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7833" href="#L7833">7833</a><span class="code-text">   * Syntax changes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7834" href="#L7834">7834</a><span class="code-text">      * The self type parameter in traits is now spelled `Self`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7835" href="#L7835">7835</a><span class="code-text">      * The `self` parameter in trait and impl methods must now be explicitly</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7836" href="#L7836">7836</a><span class="code-text">        named (for example: `fn f(&amp;self) { }`). Implicit self is deprecated.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7837" href="#L7837">7837</a><span class="code-text">      * Static methods no longer require the `static` keyword and instead</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7838" href="#L7838">7838</a><span class="code-text">        are distinguished by the lack of a `self` parameter</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7839" href="#L7839">7839</a><span class="code-text">      * Replaced the `Durable` trait with the `'static` lifetime</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7840" href="#L7840">7840</a><span class="code-text">      * The old closure type syntax with the trailing sigil has been</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7841" href="#L7841">7841</a><span class="code-text">        removed in favor of the more consistent leading sigil</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7842" href="#L7842">7842</a><span class="code-text">      * `super` is a keyword, and may be prefixed to paths</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7843" href="#L7843">7843</a><span class="code-text">      * Trait bounds are separated with `+` instead of whitespace</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7844" href="#L7844">7844</a><span class="code-text">      * Traits are implemented with `impl Trait for Type`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7845" href="#L7845">7845</a><span class="code-text">        instead of `impl Type: Trait`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7846" href="#L7846">7846</a><span class="code-text">      * Lifetime syntax is now `&amp;'l foo` instead of `&amp;l/foo`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7847" href="#L7847">7847</a><span class="code-text">      * The `export` keyword has finally been removed</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7848" href="#L7848">7848</a><span class="code-text">      * The `move` keyword has been removed (see &quot;Semantic changes&quot;)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7849" href="#L7849">7849</a><span class="code-text">      * The interior mutability qualifier on vectors, `[mut T]`, has been</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7850" href="#L7850">7850</a><span class="code-text">        removed. Use `&amp;mut [T]`, etc.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7851" href="#L7851">7851</a><span class="code-text">      * `mut` is no longer valid in `~mut T`. Use inherited mutability</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7852" href="#L7852">7852</a><span class="code-text">      * `fail` is no longer a keyword. Use `fail!()`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7853" href="#L7853">7853</a><span class="code-text">      * `assert` is no longer a keyword. Use `assert!()`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7854" href="#L7854">7854</a><span class="code-text">      * `log` is no longer a keyword. use `debug!`, etc.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7855" href="#L7855">7855</a><span class="code-text">      * 1-tuples may be represented as `(T,)`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7856" href="#L7856">7856</a><span class="code-text">      * Struct fields may no longer be `mut`. Use inherited mutability,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7857" href="#L7857">7857</a><span class="code-text">        `@mut T`, `core::mut` or `core::cell`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7858" href="#L7858">7858</a><span class="code-text">      * `extern mod { ... }` is no longer valid syntax for foreign</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7859" href="#L7859">7859</a><span class="code-text">        function modules. Use extern blocks: `extern { ... }`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7860" href="#L7860">7860</a><span class="code-text">      * Newtype enums removed. Use tuple-structs.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7861" href="#L7861">7861</a><span class="code-text">      * Trait implementations no longer support visibility modifiers</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7862" href="#L7862">7862</a><span class="code-text">      * Pattern matching over vectors improved and expanded</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7863" href="#L7863">7863</a><span class="code-text">      * `const` renamed to `static` to correspond to lifetime name,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7864" href="#L7864">7864</a><span class="code-text">        and make room for future `static mut` unsafe mutable globals.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7865" href="#L7865">7865</a><span class="code-text">      * Replaced `#[deriving_eq]` with `#[deriving(Eq)]`, etc.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7866" href="#L7866">7866</a><span class="code-text">      * `Clone` implementations can be automatically generated with</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7867" href="#L7867">7867</a><span class="code-text">        `#[deriving(Clone)]`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7868" href="#L7868">7868</a><span class="code-text">      * Casts to traits must use a pointer sigil, e.g. `@foo as @Bar`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7869" href="#L7869">7869</a><span class="code-text">        instead of `foo as Bar`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7870" href="#L7870">7870</a><span class="code-text">      * Fixed length vector types are now written as `[int, .. 3]`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7871" href="#L7871">7871</a><span class="code-text">        instead of `[int * 3]`.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7872" href="#L7872">7872</a><span class="code-text">      * Fixed length vector types can express the length as a constant</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7873" href="#L7873">7873</a><span class="code-text">        expression. (ex: `[int, .. GL_BUFFER_SIZE - 2]`)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7874" href="#L7874">7874</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7875" href="#L7875">7875</a><span class="code-text">   * Semantic changes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7876" href="#L7876">7876</a><span class="code-text">      * Types with owned pointers or custom destructors move by default,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7877" href="#L7877">7877</a><span class="code-text">        eliminating the `move` keyword</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7878" href="#L7878">7878</a><span class="code-text">      * All foreign functions are considered unsafe</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7879" href="#L7879">7879</a><span class="code-text">      * &amp;mut is now unaliasable</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7880" href="#L7880">7880</a><span class="code-text">      * Writes to borrowed @mut pointers are prevented dynamically</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7881" href="#L7881">7881</a><span class="code-text">      * () has size 0</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7882" href="#L7882">7882</a><span class="code-text">      * The name of the main function can be customized using #[main]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7883" href="#L7883">7883</a><span class="code-text">      * The default type of an inferred closure is &amp;fn instead of @fn</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7884" href="#L7884">7884</a><span class="code-text">      * `use` statements may no longer be &quot;chained&quot; - they cannot import</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7885" href="#L7885">7885</a><span class="code-text">        identifiers imported by previous `use` statements</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7886" href="#L7886">7886</a><span class="code-text">      * `use` statements are crate relative, importing from the &quot;top&quot;</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7887" href="#L7887">7887</a><span class="code-text">        of the crate by default. Paths may be prefixed with `super::`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7888" href="#L7888">7888</a><span class="code-text">        or `self::` to change the search behavior.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7889" href="#L7889">7889</a><span class="code-text">      * Method visibility is inherited from the implementation declaration</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7890" href="#L7890">7890</a><span class="code-text">      * Structural records have been removed</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7891" href="#L7891">7891</a><span class="code-text">      * Many more types can be used in static items, including enums</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7892" href="#L7892">7892</a><span class="code-text">        'static-lifetime pointers and vectors</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7893" href="#L7893">7893</a><span class="code-text">      * Pattern matching over vectors improved and expanded</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7894" href="#L7894">7894</a><span class="code-text">      * Typechecking of closure types has been overhauled to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7895" href="#L7895">7895</a><span class="code-text">        improve inference and eliminate unsoundness</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7896" href="#L7896">7896</a><span class="code-text">      * Macros leave scope at the end of modules, unless that module is</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7897" href="#L7897">7897</a><span class="code-text">        tagged with #[macro_escape]</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7898" href="#L7898">7898</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7899" href="#L7899">7899</a><span class="code-text">   * Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7900" href="#L7900">7900</a><span class="code-text">      * Added big integers to `std::bigint`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7901" href="#L7901">7901</a><span class="code-text">      * Removed `core::oldcomm` module</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7902" href="#L7902">7902</a><span class="code-text">      * Added pipe-based `core::comm` module</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7903" href="#L7903">7903</a><span class="code-text">      * Numeric traits have been reorganized under `core::num`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7904" href="#L7904">7904</a><span class="code-text">      * `vec::slice` finally returns a slice</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7905" href="#L7905">7905</a><span class="code-text">      * `debug!` and friends don't require a format string, e.g. `debug!(Foo)`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7906" href="#L7906">7906</a><span class="code-text">      * Containers reorganized around traits in `core::container`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7907" href="#L7907">7907</a><span class="code-text">      * `core::dvec` removed, `~[T]` is a drop-in replacement</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7908" href="#L7908">7908</a><span class="code-text">      * `core::send_map` renamed to `core::hashmap`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7909" href="#L7909">7909</a><span class="code-text">      * `std::map` removed; replaced with `core::hashmap`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7910" href="#L7910">7910</a><span class="code-text">      * `std::treemap` reimplemented as an owned balanced tree</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7911" href="#L7911">7911</a><span class="code-text">      * `std::deque` and `std::smallintmap` reimplemented as owned containers</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7912" href="#L7912">7912</a><span class="code-text">      * `core::trie` added as a fast ordered map for integer keys</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7913" href="#L7913">7913</a><span class="code-text">      * Set types added to `core::hashmap`, `core::trie` and `std::treemap`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7914" href="#L7914">7914</a><span class="code-text">      * `Ord` split into `Ord` and `TotalOrd`. `Ord` is still used to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7915" href="#L7915">7915</a><span class="code-text">        overload the comparison operators, whereas `TotalOrd` is used</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7916" href="#L7916">7916</a><span class="code-text">        by certain container types</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7917" href="#L7917">7917</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7918" href="#L7918">7918</a><span class="code-text">   * Other</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7919" href="#L7919">7919</a><span class="code-text">      * Replaced the 'cargo' package manager with 'rustpkg'</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7920" href="#L7920">7920</a><span class="code-text">      * Added all-purpose 'rust' tool</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7921" href="#L7921">7921</a><span class="code-text">      * `rustc --test` now supports benchmarks with the `#[bench]` attribute</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7922" href="#L7922">7922</a><span class="code-text">      * rustc now *attempts* to offer spelling suggestions</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7923" href="#L7923">7923</a><span class="code-text">      * Improved support for ARM and Android</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7924" href="#L7924">7924</a><span class="code-text">      * Preliminary MIPS backend</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7925" href="#L7925">7925</a><span class="code-text">      * Improved foreign function ABI implementation for x86, x86_64</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7926" href="#L7926">7926</a><span class="code-text">      * Various memory usage improvements</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7927" href="#L7927">7927</a><span class="code-text">      * Rust code may be embedded in foreign code under limited circumstances</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7928" href="#L7928">7928</a><span class="code-text">      * Inline assembler supported by new asm!() syntax extension.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7929" href="#L7929">7929</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7930" href="#L7930">7930</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7931" href="#L7931">7931</a><span class="code-text">Version 0.5 (2012-12-21)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7932" href="#L7932">7932</a><span class="code-text">===========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7933" href="#L7933">7933</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7934" href="#L7934">7934</a><span class="code-text">   * ~900 changes, numerous bugfixes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7935" href="#L7935">7935</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7936" href="#L7936">7936</a><span class="code-text">   * Syntax changes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7937" href="#L7937">7937</a><span class="code-text">      * Removed `&lt;-` move operator</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7938" href="#L7938">7938</a><span class="code-text">      * Completed the transition from the `#fmt` extension syntax to `fmt!`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7939" href="#L7939">7939</a><span class="code-text">      * Removed old fixed length vector syntax - `[T]/N`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7940" href="#L7940">7940</a><span class="code-text">      * New token-based quasi-quoters, `quote_tokens!`, `quote_expr!`, etc.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7941" href="#L7941">7941</a><span class="code-text">      * Macros may now expand to items and statements</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7942" href="#L7942">7942</a><span class="code-text">      * `a.b()` is always parsed as a method call, never as a field projection</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7943" href="#L7943">7943</a><span class="code-text">      * `Eq` and `IterBytes` implementations can be automatically generated</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7944" href="#L7944">7944</a><span class="code-text">        with `#[deriving_eq]` and `#[deriving_iter_bytes]` respectively</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7945" href="#L7945">7945</a><span class="code-text">      * Removed the special crate language for `.rc` files</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7946" href="#L7946">7946</a><span class="code-text">      * Function arguments may consist of any irrefutable pattern</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7947" href="#L7947">7947</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7948" href="#L7948">7948</a><span class="code-text">   * Semantic changes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7949" href="#L7949">7949</a><span class="code-text">      * `&amp;` and `~` pointers may point to objects</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7950" href="#L7950">7950</a><span class="code-text">      * Tuple structs - `struct Foo(Bar, Baz)`. Will replace newtype enums.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7951" href="#L7951">7951</a><span class="code-text">      * Enum variants may be structs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7952" href="#L7952">7952</a><span class="code-text">      * Destructors can be added to all nominal types with the Drop trait</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7953" href="#L7953">7953</a><span class="code-text">      * Structs and nullary enum variants may be constants</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7954" href="#L7954">7954</a><span class="code-text">      * Values that cannot be implicitly copied are now automatically moved</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7955" href="#L7955">7955</a><span class="code-text">        without writing `move` explicitly</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7956" href="#L7956">7956</a><span class="code-text">      * `&amp;T` may now be coerced to `*T`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7957" href="#L7957">7957</a><span class="code-text">      * Coercions happen in `let` statements as well as function calls</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7958" href="#L7958">7958</a><span class="code-text">      * `use` statements now take crate-relative paths</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7959" href="#L7959">7959</a><span class="code-text">      * The module and type namespaces have been merged so that static</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7960" href="#L7960">7960</a><span class="code-text">        method names can be resolved under the trait in which they are</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7961" href="#L7961">7961</a><span class="code-text">        declared</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7962" href="#L7962">7962</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7963" href="#L7963">7963</a><span class="code-text">   * Improved support for language features</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7964" href="#L7964">7964</a><span class="code-text">      * Trait inheritance works in many scenarios</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7965" href="#L7965">7965</a><span class="code-text">      * More support for explicit self arguments in methods - `self`, `&amp;self`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7966" href="#L7966">7966</a><span class="code-text">        `@self`, and `~self` all generally work as expected</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7967" href="#L7967">7967</a><span class="code-text">      * Static methods work in more situations</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7968" href="#L7968">7968</a><span class="code-text">      * Experimental: Traits may declare default methods for the implementations</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7969" href="#L7969">7969</a><span class="code-text">        to use</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7970" href="#L7970">7970</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7971" href="#L7971">7971</a><span class="code-text">   * Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7972" href="#L7972">7972</a><span class="code-text">      * New condition handling system in `core::condition`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7973" href="#L7973">7973</a><span class="code-text">      * Timsort added to `std::sort`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7974" href="#L7974">7974</a><span class="code-text">      * New priority queue, `std::priority_queue`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7975" href="#L7975">7975</a><span class="code-text">      * Pipes for serializable types, `std::flatpipes'</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7976" href="#L7976">7976</a><span class="code-text">      * Serialization overhauled to be trait-based</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7977" href="#L7977">7977</a><span class="code-text">      * Expanded `getopts` definitions</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7978" href="#L7978">7978</a><span class="code-text">      * Moved futures to `std`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7979" href="#L7979">7979</a><span class="code-text">      * More functions are pure now</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7980" href="#L7980">7980</a><span class="code-text">      * `core::comm` renamed to `oldcomm`. Still deprecated</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7981" href="#L7981">7981</a><span class="code-text">      * `rustdoc` and `cargo` are libraries now</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7982" href="#L7982">7982</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7983" href="#L7983">7983</a><span class="code-text">   * Misc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7984" href="#L7984">7984</a><span class="code-text">      * Added a preliminary REPL, `rusti`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7985" href="#L7985">7985</a><span class="code-text">      * License changed from MIT to dual MIT/APL2</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7986" href="#L7986">7986</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7987" href="#L7987">7987</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7988" href="#L7988">7988</a><span class="code-text">Version 0.4 (2012-10-15)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7989" href="#L7989">7989</a><span class="code-text">==========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7990" href="#L7990">7990</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7991" href="#L7991">7991</a><span class="code-text">   * ~2000 changes, numerous bugfixes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7992" href="#L7992">7992</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7993" href="#L7993">7993</a><span class="code-text">   * Syntax</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7994" href="#L7994">7994</a><span class="code-text">      * All keywords are now strict and may not be used as identifiers anywhere</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7995" href="#L7995">7995</a><span class="code-text">      * Keyword removal: 'again', 'import', 'check', 'new', 'owned', 'send',</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7996" href="#L7996">7996</a><span class="code-text">        'of', 'with', 'to', 'class'.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7997" href="#L7997">7997</a><span class="code-text">      * Classes are replaced with simpler structs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7998" href="#L7998">7998</a><span class="code-text">      * Explicit method self types</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L7999" href="#L7999">7999</a><span class="code-text">      * `ret` became `return` and `alt` became `match`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8000" href="#L8000">8000</a><span class="code-text">      * `import` is now `use`; `use is now `extern mod`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8001" href="#L8001">8001</a><span class="code-text">      * `extern mod { ... }` is now `extern { ... }`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8002" href="#L8002">8002</a><span class="code-text">      * `use mod` is the recommended way to import modules</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8003" href="#L8003">8003</a><span class="code-text">      * `pub` and `priv` replace deprecated export lists</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8004" href="#L8004">8004</a><span class="code-text">      * The syntax of `match` pattern arms now uses fat arrow (=&gt;)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8005" href="#L8005">8005</a><span class="code-text">      * `main` no longer accepts an args vector; use `os::args` instead</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8006" href="#L8006">8006</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8007" href="#L8007">8007</a><span class="code-text">   * Semantics</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8008" href="#L8008">8008</a><span class="code-text">      * Trait implementations are now coherent, ala Haskell typeclasses</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8009" href="#L8009">8009</a><span class="code-text">      * Trait methods may be static</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8010" href="#L8010">8010</a><span class="code-text">      * Argument modes are deprecated</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8011" href="#L8011">8011</a><span class="code-text">      * Borrowed pointers are much more mature and recommended for use</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8012" href="#L8012">8012</a><span class="code-text">      * Strings and vectors in the static region are stored in constant memory</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8013" href="#L8013">8013</a><span class="code-text">      * Typestate was removed</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8014" href="#L8014">8014</a><span class="code-text">      * Resolution rewritten to be more reliable</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8015" href="#L8015">8015</a><span class="code-text">      * Support for 'dual-mode' data structures (freezing and thawing)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8016" href="#L8016">8016</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8017" href="#L8017">8017</a><span class="code-text">   * Libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8018" href="#L8018">8018</a><span class="code-text">      * Most binary operators can now be overloaded via the traits in</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8019" href="#L8019">8019</a><span class="code-text">        `core::ops'</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8020" href="#L8020">8020</a><span class="code-text">      * `std::net::url` for representing URLs</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8021" href="#L8021">8021</a><span class="code-text">      * Sendable hash maps in `core::send_map`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8022" href="#L8022">8022</a><span class="code-text">      * `core::task' gained a (currently unsafe) task-local storage API</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8023" href="#L8023">8023</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8024" href="#L8024">8024</a><span class="code-text">   * Concurrency</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8025" href="#L8025">8025</a><span class="code-text">      * An efficient new intertask communication primitive called the pipe,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8026" href="#L8026">8026</a><span class="code-text">        along with a number of higher-level channel types, in `core::pipes`</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8027" href="#L8027">8027</a><span class="code-text">      * `std::arc`, an atomically reference counted, immutable, shared memory</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8028" href="#L8028">8028</a><span class="code-text">        type</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8029" href="#L8029">8029</a><span class="code-text">      * `std::sync`, various exotic synchronization tools based on arcs and pipes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8030" href="#L8030">8030</a><span class="code-text">      * Futures are now based on pipes and sendable</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8031" href="#L8031">8031</a><span class="code-text">      * More robust linked task failure</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8032" href="#L8032">8032</a><span class="code-text">      * Improved task builder API</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8033" href="#L8033">8033</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8034" href="#L8034">8034</a><span class="code-text">   * Other</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8035" href="#L8035">8035</a><span class="code-text">      * Improved error reporting</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8036" href="#L8036">8036</a><span class="code-text">      * Preliminary JIT support</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8037" href="#L8037">8037</a><span class="code-text">      * Preliminary work on precise GC</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8038" href="#L8038">8038</a><span class="code-text">      * Extensive architectural improvements to rustc</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8039" href="#L8039">8039</a><span class="code-text">      * Begun a transition away from buggy C++-based reflection (shape) code to</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8040" href="#L8040">8040</a><span class="code-text">        Rust-based (visitor) code</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8041" href="#L8041">8041</a><span class="code-text">      * All hash functions and tables converted to secure, randomized SipHash</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8042" href="#L8042">8042</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8043" href="#L8043">8043</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8044" href="#L8044">8044</a><span class="code-text">Version 0.3  (2012-07-12)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8045" href="#L8045">8045</a><span class="code-text">========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8046" href="#L8046">8046</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8047" href="#L8047">8047</a><span class="code-text">   * ~1900 changes, numerous bugfixes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8048" href="#L8048">8048</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8049" href="#L8049">8049</a><span class="code-text">   * New coding conveniences</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8050" href="#L8050">8050</a><span class="code-text">      * Integer-literal suffix inference</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8051" href="#L8051">8051</a><span class="code-text">      * Per-item control over warnings, errors</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8052" href="#L8052">8052</a><span class="code-text">      * #[cfg(windows)] and #[cfg(unix)] attributes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8053" href="#L8053">8053</a><span class="code-text">      * Documentation comments</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8054" href="#L8054">8054</a><span class="code-text">      * More compact closure syntax</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8055" href="#L8055">8055</a><span class="code-text">      * 'do' expressions for treating higher-order functions as</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8056" href="#L8056">8056</a><span class="code-text">        control structures</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8057" href="#L8057">8057</a><span class="code-text">      * *-patterns (wildcard extended to all constructor fields)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8058" href="#L8058">8058</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8059" href="#L8059">8059</a><span class="code-text">   * Semantic cleanup</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8060" href="#L8060">8060</a><span class="code-text">      * Name resolution pass and exhaustiveness checker rewritten</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8061" href="#L8061">8061</a><span class="code-text">      * Region pointers and borrow checking supersede alias</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8062" href="#L8062">8062</a><span class="code-text">        analysis</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8063" href="#L8063">8063</a><span class="code-text">      * Init-ness checking is now provided by a region-based liveness</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8064" href="#L8064">8064</a><span class="code-text">        pass instead of the typestate pass; same for last-use analysis</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8065" href="#L8065">8065</a><span class="code-text">      * Extensive work on region pointers</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8066" href="#L8066">8066</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8067" href="#L8067">8067</a><span class="code-text">   * Experimental new language features</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8068" href="#L8068">8068</a><span class="code-text">      * Slices and fixed-size, interior-allocated vectors</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8069" href="#L8069">8069</a><span class="code-text">      * #!-comments for lang versioning, shell execution</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8070" href="#L8070">8070</a><span class="code-text">      * Destructors and iface implementation for classes;</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8071" href="#L8071">8071</a><span class="code-text">        type-parameterized classes and class methods</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8072" href="#L8072">8072</a><span class="code-text">      * 'const' type kind for types that can be used to implement</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8073" href="#L8073">8073</a><span class="code-text">        shared-memory concurrency patterns</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8074" href="#L8074">8074</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8075" href="#L8075">8075</a><span class="code-text">   * Type reflection</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8076" href="#L8076">8076</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8077" href="#L8077">8077</a><span class="code-text">   * Removal of various obsolete features</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8078" href="#L8078">8078</a><span class="code-text">      * Keywords: 'be', 'prove', 'syntax', 'note', 'mutable', 'bind',</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8079" href="#L8079">8079</a><span class="code-text">                 'crust', 'native' (now 'extern'), 'cont' (now 'again')</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8080" href="#L8080">8080</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8081" href="#L8081">8081</a><span class="code-text">      * Constructs: do-while loops ('do' repurposed), fn binding,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8082" href="#L8082">8082</a><span class="code-text">                    resources (replaced by destructors)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8083" href="#L8083">8083</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8084" href="#L8084">8084</a><span class="code-text">   * Compiler reorganization</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8085" href="#L8085">8085</a><span class="code-text">      * Syntax-layer of compiler split into separate crate</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8086" href="#L8086">8086</a><span class="code-text">      * Clang (from LLVM project) integrated into build</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8087" href="#L8087">8087</a><span class="code-text">      * Typechecker split into sub-modules</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8088" href="#L8088">8088</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8089" href="#L8089">8089</a><span class="code-text">   * New library code</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8090" href="#L8090">8090</a><span class="code-text">      * New time functions</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8091" href="#L8091">8091</a><span class="code-text">      * Extension methods for many built-in types</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8092" href="#L8092">8092</a><span class="code-text">      * Arc: atomic-refcount read-only / exclusive-use shared cells</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8093" href="#L8093">8093</a><span class="code-text">      * Par: parallel map and search routines</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8094" href="#L8094">8094</a><span class="code-text">      * Extensive work on libuv interface</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8095" href="#L8095">8095</a><span class="code-text">      * Much vector code moved to libraries</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8096" href="#L8096">8096</a><span class="code-text">      * Syntax extensions: #line, #col, #file, #mod, #stringify,</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8097" href="#L8097">8097</a><span class="code-text">        #include, #include_str, #include_bin</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8098" href="#L8098">8098</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8099" href="#L8099">8099</a><span class="code-text">   * Tool improvements</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8100" href="#L8100">8100</a><span class="code-text">      * Cargo automatically resolves dependencies</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8101" href="#L8101">8101</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8102" href="#L8102">8102</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8103" href="#L8103">8103</a><span class="code-text">Version 0.2  (2012-03-29)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8104" href="#L8104">8104</a><span class="code-text">=========================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8105" href="#L8105">8105</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8106" href="#L8106">8106</a><span class="code-text">   * &gt;1500 changes, numerous bugfixes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8107" href="#L8107">8107</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8108" href="#L8108">8108</a><span class="code-text">   * New docs and doc tooling</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8109" href="#L8109">8109</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8110" href="#L8110">8110</a><span class="code-text">   * New port: FreeBSD x86_64</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8111" href="#L8111">8111</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8112" href="#L8112">8112</a><span class="code-text">   * Compilation model enhancements</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8113" href="#L8113">8113</a><span class="code-text">      * Generics now specialized, multiply instantiated</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8114" href="#L8114">8114</a><span class="code-text">      * Functions now inlined across separate crates</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8115" href="#L8115">8115</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8116" href="#L8116">8116</a><span class="code-text">   * Scheduling, stack and threading fixes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8117" href="#L8117">8117</a><span class="code-text">      * Noticeably improved message-passing performance</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8118" href="#L8118">8118</a><span class="code-text">      * Explicit schedulers</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8119" href="#L8119">8119</a><span class="code-text">      * Callbacks from C</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8120" href="#L8120">8120</a><span class="code-text">      * Helgrind clean</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8121" href="#L8121">8121</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8122" href="#L8122">8122</a><span class="code-text">   * Experimental new language features</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8123" href="#L8123">8123</a><span class="code-text">      * Operator overloading</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8124" href="#L8124">8124</a><span class="code-text">      * Region pointers</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8125" href="#L8125">8125</a><span class="code-text">      * Classes</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8126" href="#L8126">8126</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8127" href="#L8127">8127</a><span class="code-text">   * Various language extensions</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8128" href="#L8128">8128</a><span class="code-text">      * C-callback function types: 'crust fn ...'</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8129" href="#L8129">8129</a><span class="code-text">      * Infinite-loop construct: 'loop { ... }'</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8130" href="#L8130">8130</a><span class="code-text">      * Shorten 'mutable' to 'mut'</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8131" href="#L8131">8131</a><span class="code-text">      * Required mutable-local qualifier: 'let mut ...'</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8132" href="#L8132">8132</a><span class="code-text">      * Basic glob-exporting: 'export foo::*;'</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8133" href="#L8133">8133</a><span class="code-text">      * Alt now exhaustive, 'alt check' for runtime-checked</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8134" href="#L8134">8134</a><span class="code-text">      * Block-function form of 'for' loop, with 'break' and 'ret'.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8135" href="#L8135">8135</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8136" href="#L8136">8136</a><span class="code-text">   * New library code</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8137" href="#L8137">8137</a><span class="code-text">      * AST quasi-quote syntax extension</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8138" href="#L8138">8138</a><span class="code-text">      * Revived libuv interface</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8139" href="#L8139">8139</a><span class="code-text">      * New modules: core::{future, iter}, std::arena</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8140" href="#L8140">8140</a><span class="code-text">      * Merged per-platform std::{os*, fs*} to core::{libc, os}</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8141" href="#L8141">8141</a><span class="code-text">      * Extensive cleanup, regularization in libstd, libcore</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8142" href="#L8142">8142</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8143" href="#L8143">8143</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8144" href="#L8144">8144</a><span class="code-text">Version 0.1  (2012-01-20)</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8145" href="#L8145">8145</a><span class="code-text">===============================</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8146" href="#L8146">8146</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8147" href="#L8147">8147</a><span class="code-text">   * Most language features work, including:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8148" href="#L8148">8148</a><span class="code-text">      * Unique pointers, unique closures, move semantics</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8149" href="#L8149">8149</a><span class="code-text">      * Interface-constrained generics</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8150" href="#L8150">8150</a><span class="code-text">      * Static interface dispatch</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8151" href="#L8151">8151</a><span class="code-text">      * Stack growth</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8152" href="#L8152">8152</a><span class="code-text">      * Multithread task scheduling</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8153" href="#L8153">8153</a><span class="code-text">      * Typestate predicates</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8154" href="#L8154">8154</a><span class="code-text">      * Failure unwinding, destructors</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8155" href="#L8155">8155</a><span class="code-text">      * Pattern matching and destructuring assignment</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8156" href="#L8156">8156</a><span class="code-text">      * Lightweight block-lambda syntax</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8157" href="#L8157">8157</a><span class="code-text">      * Preliminary macro-by-example</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8158" href="#L8158">8158</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8159" href="#L8159">8159</a><span class="code-text">   * Compiler works with the following configurations:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8160" href="#L8160">8160</a><span class="code-text">      * Linux: x86 and x86_64 hosts and targets</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8161" href="#L8161">8161</a><span class="code-text">      * macOS: x86 and x86_64 hosts and targets</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8162" href="#L8162">8162</a><span class="code-text">      * Windows: x86 hosts and targets</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8163" href="#L8163">8163</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8164" href="#L8164">8164</a><span class="code-text">   * Cross compilation / multi-target configuration supported.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8165" href="#L8165">8165</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8166" href="#L8166">8166</a><span class="code-text">   * Preliminary API-documentation and package-management tools included.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8167" href="#L8167">8167</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8168" href="#L8168">8168</a><span class="code-text">Known issues:</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8169" href="#L8169">8169</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8170" href="#L8170">8170</a><span class="code-text">   * Documentation is incomplete.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8171" href="#L8171">8171</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8172" href="#L8172">8172</a><span class="code-text">   * Performance is below intended target.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8173" href="#L8173">8173</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8174" href="#L8174">8174</a><span class="code-text">   * Standard library APIs are subject to extensive change, reorganization.</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8175" href="#L8175">8175</a><span class="code-text"></span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8176" href="#L8176">8176</a><span class="code-text">   * Language-level versioning is not yet operational - future code will</span><span class="code-break">
</span></span><span class="code-line"><a class="ln" id="L8177" href="#L8177">8177</a><span class="code-text">     break unexpectedly.</span></span></pre></div></div>
</main>
</body>
</html>
