- 12 5月, 2015 3 次提交
-
-
由 Eduard Burtescu 提交于
Fix ty::populate_implementations_for_trait_if_necessary to load the trait's impls from all the crates.
-
由 Eduard Burtescu 提交于
rustc: rename ty::populate_implementations_for_type_if_necessary to make it clear that it only populates inherent impls.
-
由 Eduard Burtescu 提交于
-
- 07 5月, 2015 2 次提交
-
-
由 Ariel Ben-Yehuda 提交于
-
由 Ariel Ben-Yehuda 提交于
-
- 06 5月, 2015 5 次提交
-
-
由 Kelvin Ly 提交于
-
由 Tamir Duberstein 提交于
-
由 Tshepang Lekhonkhobe 提交于
-
由 Alex Crichton 提交于
Turns out that a verbatim path was leaking through to gcc via the PATH environment variable (pointing to the bundled gcc provided by the main distribution) which was wreaking havoc when gcc itself was run. The fix here is to just stop passing verbatim paths down by adding more liberal uses of `fix_windows_verbatim_for_gcc`. Closes #25072
-
由 Corey Farwell 提交于
-
- 05 5月, 2015 2 次提交
-
-
由 Michael Sproul 提交于
-
由 Joseph Crail 提交于
-
- 01 5月, 2015 2 次提交
-
-
由 Simonas Kazlauskas 提交于
Leftovers from @-pointer times.
-
由 Ariel Ben-Yehuda 提交于
-
- 30 4月, 2015 9 次提交
-
-
由 Ariel Ben-Yehuda 提交于
Puts implementations in bins hashed by the fast-reject key, and only looks up the relevant impls, reducing O(n^2)-ishness Before: 688.92user 5.08system 8:56.70elapsed 129%CPU (0avgtext+0avgdata 1208164maxresident)k, LLVM 379.142s After: 637.78user 5.11system 8:17.48elapsed 129%CPU (0avgtext+0avgdata 1201448maxresident)k LLVM 375.552s Performance increase is +7%-ish
-
由 Ariel Ben-Yehuda 提交于
The former stopped making sense when we started interning substs and made TraitRef a 2-word copy type, and I'm moving the latter into an arena as they live as long as the type context.
-
由 Michael Sproul 提交于
-
由 Ruud van Asseldonk 提交于
The new example uses a `char` iterator instead of `i32`, to avoid interplay between type inference and the default type for integer literals.
-
由 Robin Stocker 提交于
-
由 Michael Sproul 提交于
Diagnostic errors are now checked for uniqueness across the compiler and error metadata is written to JSON files.
-
由 Ruud van Asseldonk 提交于
-
由 Ruud van Asseldonk 提交于
The error can also occur in cases where a type annotation will not help.
-
由 Felix S. Klock II 提交于
-
- 29 4月, 2015 4 次提交
-
-
由 Tamir Duberstein 提交于
-
由 Felix S. Klock II 提交于
Fix #24687
-
由 Tamir Duberstein 提交于
-
由 Nicholas 提交于
-
- 28 4月, 2015 5 次提交
-
-
由 Robin Stocker 提交于
-
由 Brendan Graetz 提交于
-
由 Brendan Graetz 提交于
This error indicates that a constant references itself. All constants need to resolve to a value in an acyclic manner. For example, neither of the following can be sensibly compiled: ``` const X: u32 = X; ``` ``` const X: u32 = Y; const Y: u32 = X; ```
-
由 Alex Crichton 提交于
This commit is an implementation of [RFC 1044][rfc] which adds additional surface area to the `std::fs` module. All new APIs are `#[unstable]` behind assorted feature names for each one. [rfc]: https://github.com/rust-lang/rfcs/pull/1044 The new APIs added are: * `fs::canonicalize` - bindings to `realpath` on unix and `GetFinalPathNameByHandle` on windows. * `fs::symlink_metadata` - similar to `lstat` on unix * `fs::FileType` and accessor methods as `is_{file,dir,symlink}` * `fs::Metadata::file_type` - accessor for the raw file type * `fs::DirEntry::metadata` - acquisition of metadata which is free on Windows but requires a syscall on unix. * `fs::DirEntry::file_type` - access the file type which may not require a syscall on most platforms. * `fs::DirEntry::file_name` - access just the file name without leading components. * `fs::PathExt::symlink_metadata` - convenience method for the top-level function. * `fs::PathExt::canonicalize` - convenience method for the top-level function. * `fs::PathExt::read_link` - convenience method for the top-level function. * `fs::PathExt::read_dir` - convenience method for the top-level function. * `std::os::raw` - type definitions for raw OS/C types available on all platforms. * `std::os::$platform` - new modules have been added for all currently supported platforms (e.g. those more specific than just `unix`). * `std::os::$platform::raw` - platform-specific type definitions. These modules are populated with the bare essentials necessary for lowing I/O types into their raw representations, and currently largely consist of the `stat` definition for unix platforms. This commit also deprecates `Metadata::{modified, accessed}` in favor of inspecting the raw representations via the lowering methods of `Metadata`.
-
由 Alex Crichton 提交于
This adds a new `#[cfg]` matcher against the `target_env` property of the destination target triple. For example all windows triples today end with `-gnu` but we will also hopefully support non-`gnu` targets for Windows, at which point we'll need to differentiate between the two. This new `target_env` matches is provided and filled in with the target's environment name. Currently the only non-empty value of this name is `gnu`, but `musl` will be shortly added for the linux triples.
-
- 26 4月, 2015 1 次提交
-
-
由 Tamir Duberstein 提交于
-
- 25 4月, 2015 1 次提交
-
-
由 Johannes Oertel 提交于
Changes the style guidelines regarding unit tests to recommend using a sub-module named "tests" instead of "test" for unit tests as "test" might clash with imports of libtest.
-
- 24 4月, 2015 6 次提交
-
-
由 Sean Patrick Santos 提交于
-
由 Sean Patrick Santos 提交于
-
由 Sean Patrick Santos 提交于
-
由 Sean Patrick Santos 提交于
Functional changes for associated constants. Cross-crate usage of associated constants is not yet working.
-
由 Sean Patrick Santos 提交于
Introduces new variants and types in syntax::ast, middle::ty, and middle::def.
-
由 Guillaume Gomez 提交于
-