diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2015-03-24 15:45:11 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-03-30 05:02:20 -0400 |
| commit | c92bdcb232da3973a8a548e6b2044b610e286210 (patch) | |
| tree | b41dd1d636f8565c1cbc00ed775858b1cf9b628d /src/libstd/sys/unix/stack_overflow.rs | |
| parent | d6466ff13aef6af45f24f28e23f2f3dd36c96cf0 (diff) | |
| download | rust-c92bdcb232da3973a8a548e6b2044b610e286210.tar.gz rust-c92bdcb232da3973a8a548e6b2044b610e286210.zip | |
Fallout where types must be specified.
This is due to a [breaking-change] to operators. The primary affected code is uses of the `Rng` trait where we used to (incorrectly) infer the right-hand-side type from the left-hand-side, in the case that the LHS type was a scalar like `i32`. The fix is to add a type annotation like `x + rng.gen::<i32>()`.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
