Skip to content

Commit aadf31e

Browse files
committed
---
yaml --- r: 225982 b: refs/heads/stable c: a760d05 h: refs/heads/master v: v3
1 parent 73a1e95 commit aadf31e

File tree

4 files changed

+38
-2
lines changed

4 files changed

+38
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ refs/heads/tmp: e5d90d98402475b6e154ce216f9efcb80da1a747
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: 1fe32ca12c51afcd761d9962f51a74ff0d07a591
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 9679faa97afbdb9738df16b81175b7090915897f
32+
refs/heads/stable: a760d054ef5380e32191884068c11270c70071d9
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b

branches/stable/src/librustc_trans/trans/base.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,12 @@ pub fn invoke<'blk, 'tcx>(bcx: Block<'blk, 'tcx>,
756756
}
757757

758758
pub fn need_invoke(bcx: Block) -> bool {
759-
if bcx.sess().no_landing_pads() {
759+
// FIXME(#25869) currently unwinding is not implemented for MSVC and our
760+
// normal unwinding infrastructure ends up just causing linker
761+
// errors with the current LLVM implementation, so landing
762+
// pads are disabled entirely for MSVC targets
763+
if bcx.sess().no_landing_pads() ||
764+
bcx.sess().target.target.options.is_like_msvc {
760765
return false;
761766
}
762767

branches/stable/src/librustdoc/html/static/main.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,9 @@
571571
return;
572572
}
573573

574+
// Update document title to maintain a meaningful browser history
575+
$(document).prop("title", "Results for " + query.query + " - Rust");
576+
574577
// Because searching is incremental by character, only the most
575578
// recent search query is added to the browser history.
576579
if (browserSupportsHistoryApi()) {
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
2+
// file at the top-level directory of this distribution and at
3+
// http://rust-lang.org/COPYRIGHT.
4+
//
5+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
// option. This file may not be copied, modified, or distributed
9+
// except according to those terms.
10+
11+
12+
struct Index;
13+
14+
impl Index {
15+
fn new() -> Self { Index }
16+
}
17+
18+
fn user() {
19+
let new = Index::new;
20+
21+
fn inner() {
22+
let index = Index::new();
23+
}
24+
25+
let index2 = new();
26+
}
27+
28+
fn main() {}

0 commit comments

Comments
 (0)