- 16 2月, 2015 4 次提交
-
-
由 Niko Matsakis 提交于
Various simplifications and renamings based on the fact that old-school closures are gone and type parameters can now have multiple region bounds (and hence use a different path). Should have no effect on the external behavior of the compiler.
-
由 Niko Matsakis 提交于
-
由 bors 提交于
(still testing locally)
-
由 Manish Goregaokar 提交于
-
- 15 2月, 2015 36 次提交
-
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
Highlights: * Adds an 'uninstall.sh' script to `/usr/local/lib/rustlib/uninstall.sh`, the path to which is printed during installation. * Components can be deselected during install, like `install.sh --without=rust-docs`. * Components can be listed with `install.sh --list-components`. * Vastly reduces spew during install (but supporting a `--verbose` option). Typicall install run looks like: ``` brian@brianX1:~/dev/multirust⟫ sudo ./install.sh [sudo] password for brian: install: creating uninstall script at /usr/local/lib/rustlib/uninstall.sh install: installing component 'rustc' install: installing component 'cargo' install: installing component 'rust-docs' Rust is ready to roll. ``` Needs to be merged right before corresponding PRs to cargo and rust-packaging. Fixes https://github.com/rust-lang/rust/issues/21117 Fixes https://github.com/rust-lang/rust/issues/20283
-
由 Manish Goregaokar 提交于
It's not clear what this means, because a macro in item position can expand to zero or more items. For now we disallow it, which is technically a [breaking-change] but is landing without an RFC. The `pub` keyword previously had no effect, which seems quite unintended. Fixes #18317. Fixes #14660.
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
Fixes #12891.
-
由 Manish Goregaokar 提交于
This PR replaces uses of `os::getenv` with newly introduced `env::var{,_os}`. Mostly did this as a background activity to procrastinate from procrastinating. Tests appear to build and run fine. This includes benchmarks from test/bench directory.
-
由 Manish Goregaokar 提交于
Fixes #17436.
-
由 Manish Goregaokar 提交于
Some function signatures have changed, so this is a [breaking-change]. In particular, radixes and numerical values of digits are represented by `u32` now. Part of #22240
-
由 Manish Goregaokar 提交于
`PathBuf` does implement `Hash`, but `Path` doesn't. This makes it annoying if you have a `HashMap` with `PathBuf`s as keys, because it means you have to convert a `Path` into a `PathBuf` and get a reference to it simply to perform operations on the `HashMap`!
-
-
由 Manish Goregaokar 提交于
Rename `libstd/failure.rs` to `libstd/panicking.rs` and `on_fail` to `on_panic`. Closes #22306.
-
由 Manish Goregaokar 提交于
on crates and modules - replace \")\" on more strings - improve readability of grapheme
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
(fixes #22317) rollupable
-
由 Manish Goregaokar 提交于
Fixes #19278
-
由 Manish Goregaokar 提交于
Fixes #14849
-
由 Manish Goregaokar 提交于
Fixes #20948
-
由 Manish Goregaokar 提交于
closes #21909
-
由 Manish Goregaokar 提交于
Fixes #22047 `Range<u64>` and `Range<i64>` may be longer than usize::MAX on 32-bit platforms, and thus they cannot fulfill the protocol for ExactSizeIterator. We don't want a nonobvious platform dependency in basic iterator traits, so the trait impl is removed. The logic of this change assumes that usize is at least 32-bit. This is technically a breaking change; note that `Range<usize>` and `Range<isize>` are always ExactSizeIterators. [breaking-change]
-
由 Manish Goregaokar 提交于
Fixes #9980
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
This isn't something we want to guarantee. r? @nikomatsakis
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
Add `#[rustc_error]` annotation, which causes trans to signal an error if found on the `main()` function. This lets you write tests that live in `compile-fail` but are expected to compile successfully. This is handy when you have many small variations on a theme that you want to keep together, and you are just testing the type checker, not the runtime semantics. r? @pnkfelix
-
由 Manish Goregaokar 提交于
Added all active features to the list in reference.md. Added a second note about keeping the reference.md list up-to-date to the bottom of the list, since not everyone (including me) reads the big comment at the top of it. :) Ensured that the feature gate list in reference.md is kept in alphabetical order.
-
由 Manish Goregaokar 提交于
We use them in some places, but never actually talk about the syntax.
-
由 Manish Goregaokar 提交于
Re-tag `slicing_syntax` as `Accepted`. Rollup merge (373cbab5) of PR #20723 accidentally reverted a portion of commit 8327bcc1 which shifted `slicing_syntax` from Active to Accepted.
-
由 Manish Goregaokar 提交于
Fixes #22064.
-
由 Manish Goregaokar 提交于
Fixes #22035. (mostly by making it irrelevant)
-
由 Manish Goregaokar 提交于
Fixes #22136
-
由 Manish Goregaokar 提交于
Remove incorrect claim, add example, reformat and re-word. Fixes #22266
-
由 Manish Goregaokar 提交于
While having a look at the Rust book I found this tiny error. In my opinion this if should be all lowercase, because it follows a colon, but I am no native speaker, so I am probably wrong. Also it is a very tiny change, so feel free to include it in any bigger documentation patch.
-
由 Manish Goregaokar 提交于
Removes the link to the rust-dev mailing list in the bug report submission page and also adds the address of the IRC server (`irc.mozilla.org`). Addresses #22249.
-
由 Manish Goregaokar 提交于
`Unsafe` was renamed to `UnsafeCell` a while ago, but the corresponding lang item kept the old name. This patch fixes the inconsistency. r? @EddyB
-
由 Manish Goregaokar 提交于
In `std::f32` and `std::f64`: - `MIN_VALUE` → `MIN` - `MAX_VALUE` → `MAX` - `MIN_POS_VALUE` → `MIN_POSITIVE` This matches the corresponding integer constants. [breaking-change]
-