- 29 12月, 2016 1 次提交
-
-
由 Nick Cameron 提交于
-
- 28 12月, 2016 3 次提交
-
-
由 Eduard-Mihai Burtescu 提交于
-
由 Eduard-Mihai Burtescu 提交于
-
由 Eduard-Mihai Burtescu 提交于
-
- 26 12月, 2016 2 次提交
-
-
由 Vadim Petrochenkov 提交于
-
由 Vadim Petrochenkov 提交于
-
- 22 12月, 2016 2 次提交
-
-
由 Jeffrey Seyfried 提交于
-
由 Jeffrey Seyfried 提交于
-
- 20 12月, 2016 6 次提交
-
-
由 Niko Matsakis 提交于
-
由 Guillaume Gomez 提交于
-
由 Guillaume Gomez 提交于
-
由 Guillaume Gomez 提交于
-
由 est31 提交于
-
由 Jeffrey Seyfried 提交于
-
- 15 12月, 2016 5 次提交
-
-
由 Seo Sanghyeon 提交于
-
由 Jeffrey Seyfried 提交于
-
由 Esteban Küber 提交于
After the fix of #37453 in PR #37369, instead of pointing at only the cast type, point at the full cast span when a cast needs a dereference: ``` error: casting `&{float}` as `f32` is invalid --> ../../../src/test/ui/mismatched_types/cast-rfc0401.rs:81:30 | 81 | vec![0.0].iter().map(|s| s as f32).collect::<Vec<f32>>(); | ^^^^^^^^ cannot cast `&{float}` as `f32` | help: did you mean `*s`? --> ../../../src/test/ui/mismatched_types/cast-rfc0401.rs:81:30 | 81 | vec![0.0].iter().map(|s| s as f32).collect::<Vec<f32>>(); | ^ ``` instead of ``` error: casting `&{float}` as `f32` is invalid --> ../../../src/test/ui/mismatched_types/cast-rfc0401.rs:81:35 | 81 | vec![0.0].iter().map(|s| s as f32).collect::<Vec<f32>>(); | - ^^^ | | | | | did you mean `*s`? | cannot cast `&{float}` as `f32` ```
-
由 Vadim Petrochenkov 提交于
-
由 Esteban Küber 提交于
-
- 09 12月, 2016 3 次提交
-
-
由 Guillaume Gomez 提交于
-
由 Guillaume Gomez 提交于
-
由 Esteban Küber 提交于
For file ```rust use std::path::Path; fn f(p: Path) { } ``` provide the following error ```nocode error[E0277]: the trait bound `[u8]: std::marker::Sized` is not satisfied in `std::path::Path` --> file.rs:3:6 | 3 | fn f(p: Path) { } | ^ within `std::path::Path`, the trait `std::marker::Sized` is not implemented for `[u8]` | = note: `[u8]` does not have a constant size known at compile-time = note: required because it appears within the type `std::path::Path` = note: all local variables must have a statically known size ```
-
- 06 12月, 2016 1 次提交
-
-
由 Esteban Küber 提交于
For a given file ```rust use std::*; use std::{}; ``` output the following warnings ``` warning: unused import: `use std::{};`, #[warn(unused_imports)] on by default --> file.rs:2:1 | 2 | use std::{}; | ^^^^^^^^^^^^ warning: unused import: `std::*;`, #[warn(unused_imports)] on by default --> file.rs:1:5 | 1 | use std::*; | ^^^^^^^ ```
-
- 04 12月, 2016 2 次提交
-
-
由 Keith Yeung 提交于
-
由 Mikhail Modin 提交于
fix stack overflow by enum and cont issue #36163, some paths were skipped while checking for recursion.
-
- 02 12月, 2016 4 次提交
-
-
由 Vadim Chugunov 提交于
-
由 Vadim Chugunov 提交于
-
由 Jonathan Turner 提交于
-
由 Ariel Ben-Yehuda 提交于
This adds the new insta-stable `#![type_size_limit]` crate attribute to control the limit, and is obviously a [breaking-change] fixable by that.
-
- 01 12月, 2016 1 次提交
-
-
由 Jeffrey Seyfried 提交于
-
- 30 11月, 2016 1 次提交
-
-
由 Andrew Gallant 提交于
This commit adds a new attribute that instructs the compiler to emit target specific code for a single function. For example, the following function is permitted to use instructions that are part of SSE 4.2: #[target_feature = "+sse4.2"] fn foo() { ... } In particular, use of this attribute does not require setting the -C target-feature or -C target-cpu options on rustc. This attribute does not have any protections built into it. For example, nothing stops one from calling the above `foo` function on hosts without SSE 4.2 support. Doing so may result in a SIGILL. This commit also expands the target feature whitelist to include lzcnt, popcnt and sse4a. Namely, lzcnt and popcnt have their own CPUID bits, but were introduced with SSE4.
-
- 29 11月, 2016 4 次提交
-
-
由 Mark-Simulacrum 提交于
-
由 Mark-Simulacrum 提交于
Renames TyTrait to TyDynamic.
-
由 Jeffrey Seyfried 提交于
-
由 Mikhail Modin 提交于
-
- 28 11月, 2016 5 次提交
-
-
由 Mark-Simulacrum 提交于
-
由 Eduard Burtescu 提交于
-
由 Eduard Burtescu 提交于
-
由 Eduard-Mihai Burtescu 提交于
-
由 Eduard Burtescu 提交于
-