Skip to content

Commit e9e16ad

Browse files
committed
---
yaml --- r: 133818 b: refs/heads/snap-stage3 c: 3a54a4e h: refs/heads/master v: v3
1 parent 8bb756d commit e9e16ad

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 0e784e16840e8a0c623cc6166de26da9334db3d6
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 665e759d5a37a3f03dd8a54e8a54b364c9c8a10c
4+
refs/heads/snap-stage3: 3a54a4ee6bb9e0ab02c2556f029c288dda3c3de1
55
refs/heads/try: 777654cfccbfa39bc7f671d8e9629018ed8ca12d
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/libnum/bigint.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
//! ## Example
2020
//!
2121
//! ```rust
22+
//! # #![allow(deprecated)]
2223
//! use num::bigint::BigUint;
2324
//! use std::num::{Zero, One};
2425
//! use std::mem::replace;
@@ -42,6 +43,7 @@
4243
//! It's easy to generate large random numbers:
4344
//!
4445
//! ```rust
46+
//! # #![allow(deprecated)]
4547
//! use num::bigint::{ToBigInt, RandBigInt};
4648
//! use std::rand;
4749
//!

branches/snap-stage3/src/libnum/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
//! approximate a square root to arbitrary precision:
1919
//!
2020
//! ```
21+
//! # #![allow(deprecated)]
2122
//! extern crate num;
2223
//!
2324
//! use num::bigint::BigInt;

branches/snap-stage3/src/librustc/middle/traits/util.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,7 @@ pub fn search_trait_and_supertraits_from_bound(tcx: &ty::ctxt,
250250
* is the path to that trait/supertrait. Else `None`.
251251
*/
252252

253-
for (bound_index, bound) in
254-
transitive_bounds(tcx, &[caller_bound]).enumerate()
255-
{
253+
for bound in transitive_bounds(tcx, &[caller_bound]) {
256254
if test(bound.def_id) {
257255
let vtable_param = VtableParam { bound: bound };
258256
return Some(vtable_param);

0 commit comments

Comments
 (0)