]> git.lizzy.rs Git - rust.git/log
rust.git
9 years agosyntax: add fully qualified UFCS expressions.
Eduard Burtescu [Tue, 13 Jan 2015 04:02:56 +0000 (06:02 +0200)]
syntax: add fully qualified UFCS expressions.

9 years agoAvoid unnecessary closures when deriving RustcDecodable
Björn Steinbrink [Thu, 15 Jan 2015 15:59:51 +0000 (16:59 +0100)]
Avoid unnecessary closures when deriving RustcDecodable

Currently, we build a closure that does nothing but pass its argument
through to another function, this is rather wasteful and creates lots of
unnecessary closures.

9 years agosupport deriving `Hash` for nullary structs
Andrew Paseltiner [Wed, 14 Jan 2015 23:56:17 +0000 (18:56 -0500)]
support deriving `Hash` for nullary structs

fixes #16530

9 years agoAdd explanation of main to rustdoc docs
Steve Klabnik [Mon, 12 Jan 2015 20:42:27 +0000 (15:42 -0500)]
Add explanation of main to rustdoc docs

Fixes #17554

9 years agodebuginfo: Fix ICE when compiling for-loops with lines-tables-only.
Michael Woerister [Thu, 15 Jan 2015 14:22:56 +0000 (15:22 +0100)]
debuginfo: Fix ICE when compiling for-loops with lines-tables-only.

9 years agoremove try_node_id_to_type in favor of node_id_to_type_opt
Flavio Percoco [Thu, 15 Jan 2015 10:59:13 +0000 (11:59 +0100)]
remove try_node_id_to_type in favor of node_id_to_type_opt

9 years agoauto merge of #20990 : estsauver/rust/playpen_20732, r=alexcrichton
bors [Thu, 15 Jan 2015 09:12:47 +0000 (09:12 +0000)]
auto merge of #20990 : estsauver/rust/playpen_20732, r=alexcrichton

In #20732, that all links in some modules point to the same code
examples was reported. The ID's generated for documents in
librustdoc are not all unique, which means the code rendered as
text is not being properly selected.

This change makes the link to the code section that is next to
the current link.

9 years agoDisable -C lto optimizations on opt_level=0
John Kåre Alsaker [Thu, 15 Jan 2015 08:22:27 +0000 (09:22 +0100)]
Disable -C lto optimizations on opt_level=0

Fixes #21184

9 years agoForbid impls for builtin traits on types that are not structs/enums
Flavio Percoco [Thu, 15 Jan 2015 00:40:33 +0000 (01:40 +0100)]
Forbid impls for builtin traits on types that are not structs/enums

9 years agoAllow get_tydesc intrinsic to accept unsized types
Diggory Blake [Thu, 15 Jan 2015 06:54:51 +0000 (06:54 +0000)]
Allow get_tydesc intrinsic to accept unsized types

Fix tabs

Added missing ty_str cases when generating type descriptions

Reduce code duplication and improve test

9 years agoauto merge of #20980 : richo/rust/final-power, r=alexcrichton
bors [Thu, 15 Jan 2015 05:12:30 +0000 (05:12 +0000)]
auto merge of #20980 : richo/rust/final-power, r=alexcrichton

Originally, this was going to be discussed and revisted, however I've been working on this for months, and a rebase on top of master was about 1 flight's worth of work so I just went ahead and did it.

This gets you as far as being able to target powerpc with, eg:

    LD_LIBRARY_PATH=./x86_64-unknown-linux-gnu/stage2/lib/ x86_64-unknown-linux-gnu/stage2/bin/rustc -C linker=powerpc-linux-gnu-gcc --target powerpc-unknown-linux-gnu hello.rs

Would really love to get this out before 1.0. r? @alexcrichton

9 years agosave-analysis: fix declid of methods
Nick Cameron [Thu, 15 Jan 2015 03:53:29 +0000 (16:53 +1300)]
save-analysis: fix declid of methods

9 years agoRemove erroneous stability attribute.
Brian Anderson [Thu, 15 Jan 2015 02:58:26 +0000 (18:58 -0800)]
Remove erroneous stability attribute.

This outer attribute doesn't actually apply to anything is seems
to be incorrect in what it is saying.

9 years agoauto merge of #20290 : jroesch/rust/generalize-impl-bounds, r=nikomatsakis
bors [Thu, 15 Jan 2015 01:42:25 +0000 (01:42 +0000)]
auto merge of #20290 : jroesch/rust/generalize-impl-bounds, r=nikomatsakis

This should fix both #20020 and #20107. This moves out the code into its own file.

I have a couple concerns that can either be addressed in this PR or in a future one.

- The error reporting for the fulfillment context should be span aware because currently it is attached to the top
  of the file which is less then desirable.
- There is a failure in the test file: run-pass/issue-2611-3.rs, this seems like it should be a failure to me, but I am not sure.

As a nit I'm not enthused about the file name, and am open to better suggestions.

r? @nikomatsakis

9 years agouse better span
Jorge Aparicio [Thu, 15 Jan 2015 01:03:17 +0000 (20:03 -0500)]
use better span

9 years agoMake link to style guide direct
Aidan Hobson Sayers [Thu, 15 Jan 2015 00:52:33 +0000 (00:52 +0000)]
Make link to style guide direct

9 years agoExplicitly note that vector contents are on the heap
Aidan Hobson Sayers [Thu, 15 Jan 2015 00:38:49 +0000 (00:38 +0000)]
Explicitly note that vector contents are on the heap

9 years agoDon't impl builtin traits on non structs/enums
Flavio Percoco [Thu, 15 Jan 2015 00:40:09 +0000 (01:40 +0100)]
Don't impl builtin traits on non structs/enums

9 years agofix unused import error
Jorge Aparicio [Thu, 15 Jan 2015 00:21:14 +0000 (19:21 -0500)]
fix unused import error

9 years agodoc: fix links to servo
Richo Healey [Thu, 15 Jan 2015 00:13:33 +0000 (16:13 -0800)]
doc: fix links to servo

9 years agouse UFCS in `#[deriving(Hash)]`
Jorge Aparicio [Wed, 14 Jan 2015 23:22:16 +0000 (18:22 -0500)]
use UFCS in `#[deriving(Hash)]`

expansion now uses `::std::hash::Hash::hash(&*__self_0_0, __arg_0)` instead of
`(*__self_0_0).hash(__arg_0)`

closes #21160

9 years agoRefactor compare_impl_method to use all bounds
Jared Roesch [Wed, 14 Jan 2015 21:43:17 +0000 (13:43 -0800)]
Refactor compare_impl_method to use all bounds

Refactor compare_impl_method into its own file. Modify the
code to stop comparing individual parameter bounds.
Instead we now use the predicates list attached to the trait
and implementation generics. This ensures consistency even
when bounds are declared in different places (i.e on
a parameter vs. in a where clause).

9 years agoRevert "rustc_trans: Fix type projection debuginfo" -- it potentially papers over...
Niko Matsakis [Wed, 14 Jan 2015 17:44:21 +0000 (12:44 -0500)]
Revert "rustc_trans: Fix type projection debuginfo" -- it potentially papers over a lack
of normalization that should have taken place.

This reverts commit f7745a9be3eb2d9438f08b383156f0a33cbb0cdf.

9 years agoNormalize associated types in the type_is_newtype_immediate pass. Fixes #21010.
Niko Matsakis [Tue, 13 Jan 2015 21:03:07 +0000 (16:03 -0500)]
Normalize associated types in the type_is_newtype_immediate pass. Fixes #21010.

9 years agoFix propagation of the HAS_PROJECTION flag in object types. Fixes #20831 some more.
Niko Matsakis [Tue, 13 Jan 2015 19:49:10 +0000 (14:49 -0500)]
Fix propagation of the HAS_PROJECTION flag in object types. Fixes #20831 some more.

9 years agoFix Repr output so that it does not ICE when a self-type is
Niko Matsakis [Tue, 13 Jan 2015 19:01:27 +0000 (14:01 -0500)]
Fix Repr output so that it does not ICE when a self-type is
absent. This occurs while printing object type projections for
debugging (note that the `UserString` impl is much more careful about
this).

9 years agoFix DeBruijn accounting. It used to be that all trait-refs were binders,
Niko Matsakis [Tue, 13 Jan 2015 19:00:59 +0000 (14:00 -0500)]
Fix DeBruijn accounting. It used to be that all trait-refs were binders,
but now only poly-trait-refs are binders. Fixes #20831.

9 years agoRemove old obsolete syntax tests
Adolfo Ochagavía [Tue, 13 Jan 2015 21:34:36 +0000 (22:34 +0100)]
Remove old obsolete syntax tests

9 years agoRemove old obsolete syntax errors
Adolfo Ochagavía [Sun, 11 Jan 2015 15:52:51 +0000 (16:52 +0100)]
Remove old obsolete syntax errors

9 years agoFix interaction of --no-analysis and --emit dep-info
Nick Cameron [Wed, 14 Jan 2015 20:30:34 +0000 (09:30 +1300)]
Fix interaction of --no-analysis and --emit dep-info

Closes #21130

9 years agoSyntax extensions on trait and impl items.
Nick Cameron [Tue, 2 Dec 2014 18:07:41 +0000 (10:07 -0800)]
Syntax extensions on trait and impl items.

Allows modifiers to be used on methods, associated types, etc.

9 years agomk: The beta channel produces things called 'beta'
Brian Anderson [Wed, 14 Jan 2015 18:32:42 +0000 (10:32 -0800)]
mk: The beta channel produces things called 'beta'

9 years agofix wrong link
York Xiang [Wed, 14 Jan 2015 17:11:28 +0000 (01:11 +0800)]
fix wrong link

9 years agoDisallow a form of invalid asm! macro
Simonas Kazlauskas [Wed, 14 Jan 2015 15:02:20 +0000 (17:02 +0200)]
Disallow a form of invalid asm! macro

Fixes #21045

9 years agoTRPL: Anti-example failing for the wrong reason.
Toni Cárdenas [Wed, 14 Jan 2015 14:24:41 +0000 (15:24 +0100)]
TRPL: Anti-example failing for the wrong reason.

Really small correction.

This anti-example in the Closures section is supposed to fail because of a borrow, but it was failing at the type inference because of insufficient type information.

This makes it fail for the expected reason.

9 years agoAdd examples for DList methods.
nathan dotz [Sun, 11 Jan 2015 22:02:51 +0000 (17:02 -0500)]
Add examples for DList methods.

9 years agoauto merge of #21082 : brson/rust/finally, r=alexcrichton
bors [Wed, 14 Jan 2015 12:19:58 +0000 (12:19 +0000)]
auto merge of #21082 : brson/rust/finally, r=alexcrichton

No in-tree users. Ugly interface. Closes #14332.

I just happened to notice that this module still lives and has no users. Assuming we don't want it.

r? @aturon cc @alexcrichton

9 years agoauto merge of #21076 : sfackler/rust/bufferedreader-undef, r=Gankro
bors [Wed, 14 Jan 2015 09:52:08 +0000 (09:52 +0000)]
auto merge of #21076 : sfackler/rust/bufferedreader-undef, r=Gankro

It's passed to the underlying reader, so uninitialized memory == sad
times.

We might want to shrink the default buffer size as well. 64k is pretty
huge. Java uses 8k by default, and Go uses 4k for reference.

r? @alexcrichton

9 years agoTweek save-analysis treatment of impls
Nick Cameron [Wed, 14 Jan 2015 09:24:09 +0000 (22:24 +1300)]
Tweek save-analysis treatment of impls

9 years agoImprove Rust Documentation & Reference on mobile
Kevin Yap [Wed, 14 Jan 2015 04:15:09 +0000 (20:15 -0800)]
Improve Rust Documentation & Reference on mobile

- Tables that are too wide for the screen scroll horizontally.
- Inline code that would force the page to become wider than the width
  of the screen is broken in the middle of the word.

9 years agoFix playpen links to not all be the same
Earl St Sauver [Mon, 12 Jan 2015 09:37:01 +0000 (01:37 -0800)]
Fix playpen links to not all be the same

Fixes #20732, that all links in some modules point to the same code
examples was reported. The ID's generated for documents in
librustdoc are not all unique, which means the code rendered as
text is not being properly selected.

This change removes the unique id generation and instead changes the
frontend code to grab the correct code sample by it's relative
position in the dom.

9 years agosyntax: factor out print_expr arms to reduce non-optimized stack usage
Erick Tryzelaar [Wed, 14 Jan 2015 05:16:56 +0000 (21:16 -0800)]
syntax: factor out print_expr arms to reduce non-optimized stack usage

9 years agosyntax: Rewrite pp advance_left to use a constant stack size
Erick Tryzelaar [Wed, 14 Jan 2015 05:14:56 +0000 (21:14 -0800)]
syntax: Rewrite pp advance_left to use a constant stack size

9 years agosyntax: Don't import the pp.rs enum variants into the namespace
Erick Tryzelaar [Wed, 14 Jan 2015 05:12:39 +0000 (21:12 -0800)]
syntax: Don't import the pp.rs enum variants into the namespace

9 years agoauto merge of #21061 : japaric/rust/range, r=nick29581
bors [Wed, 14 Jan 2015 04:42:01 +0000 (04:42 +0000)]
auto merge of #21061 : japaric/rust/range, r=nick29581

9 years agoBump to ensure llvm is rebuilt
Richo Healey [Wed, 14 Jan 2015 03:03:31 +0000 (19:03 -0800)]
Bump to ensure llvm is rebuilt

9 years agoClean up conditions for clobbers
Richo Healey [Wed, 14 Jan 2015 03:01:37 +0000 (19:01 -0800)]
Clean up conditions for clobbers

9 years agoGeneralise pointer width tests using pointer_width
Richo Healey [Wed, 14 Jan 2015 02:59:45 +0000 (18:59 -0800)]
Generalise pointer width tests using pointer_width

9 years agoRe-direct to the right place.
Steve Klabnik [Wed, 14 Jan 2015 01:52:27 +0000 (20:52 -0500)]
Re-direct to the right place.

Why redirect Tutorial -> Guide -> Book when you can just Tutorial -> Book?

Suggested here: http://www.reddit.com/r/rust/comments/2schav/is_it_possible_to_automatically_redirect/

9 years agoauto merge of #21018 : tomjakubowski/rust/rustdoc-where-xcrate, r=alexcrichton
bors [Wed, 14 Jan 2015 00:41:55 +0000 (00:41 +0000)]
auto merge of #21018 : tomjakubowski/rust/rustdoc-where-xcrate, r=alexcrichton

Various fixes for `rustdoc`, including showing where clauses
finally on re-exported items.

9 years agoImplement suggestions for traits to import.
Huon Wilson [Tue, 13 Jan 2015 23:49:17 +0000 (10:49 +1100)]
Implement suggestions for traits to import.

For a call like `foo.bar()` where the method `bar` can't be resolved,
the compiler will search for traits that have methods with name `bar` to
give a more informative error, providing a list of possibilities.

Closes #7643.

9 years agoAddress feedback
Brian Anderson [Tue, 13 Jan 2015 23:44:33 +0000 (15:44 -0800)]
Address feedback

9 years agoUpdate grammar/verify.rs to work with recent master
Florian Hahn [Tue, 13 Jan 2015 23:20:53 +0000 (00:20 +0100)]
Update grammar/verify.rs to work with recent master

9 years agoPrefer GEP instructions over weird pointer casting
Björn Steinbrink [Tue, 13 Jan 2015 21:30:49 +0000 (22:30 +0100)]
Prefer GEP instructions over weird pointer casting

There are two places left where we used to only know the byte
size of/offset into an array and had to cast to i8 and back to get the
right addresses. But by now, we always know the sizes in terms of the
number of elements in the array. In fact we have to add an extra Mul
instruction so we can use the weird cast-to-u8 code. So we should really
just embrace our new knowledge and use simple GEPs to do the address
calculations.

Additionally, the pointer calculations in bind_subslice_pat don't handle
zero-sized types correctly, producing slices that point outside the
array that is being matched against. Using GEP fixes that as well.

Fixes #3729

9 years agoHandle question marks in model lexer, closes #15879
Florian Hahn [Tue, 13 Jan 2015 22:31:53 +0000 (23:31 +0100)]
Handle question marks in model lexer, closes #15879

9 years agoauto merge of #20957 : Ms2ger/rust/closures, r=alexcrichton
bors [Tue, 13 Jan 2015 21:29:00 +0000 (21:29 +0000)]
auto merge of #20957 : Ms2ger/rust/closures, r=alexcrichton

Returning the vectors directly makes the code a lot cleaner.

9 years agoUpdating email address for Rohit Joshi
Rohit Joshi [Tue, 13 Jan 2015 21:28:44 +0000 (16:28 -0500)]
Updating email address for Rohit Joshi

When I submitted a PR #20326, mistakenly was committed using my work email. Correct the email address.

9 years agoProvide example of generic inverse()
Steve Klabnik [Tue, 13 Jan 2015 20:42:38 +0000 (15:42 -0500)]
Provide example of generic inverse()

Fixes #17224

9 years agoauto merge of #20367 : retep998/rust/master, r=alexcrichton
bors [Tue, 13 Jan 2015 19:11:47 +0000 (19:11 +0000)]
auto merge of #20367 : retep998/rust/master, r=alexcrichton

Also adjusted some of the FFI definitions because apparently they don't use the long pointer prefix.
Gives a free performance boost because `SRWLock` is several times faster than `CriticalRegion` on every Windows system tested.
Fixes #19962

9 years agoRemove unneeded box import in examples
Chase Southwood [Tue, 13 Jan 2015 18:56:10 +0000 (12:56 -0600)]
Remove unneeded box import in examples

9 years agoUse if-let in std::result documentation
Simonas Kazlauskas [Tue, 13 Jan 2015 18:25:13 +0000 (20:25 +0200)]
Use if-let in std::result documentation

This takes an opportunity to show yet-another-way of dealing with
Results and matching.

9 years agoFix a typo in std::result documentation
Simonas Kazlauskas [Tue, 13 Jan 2015 18:24:48 +0000 (20:24 +0200)]
Fix a typo in std::result documentation

9 years agoMake the Rust Book more mobile friendly
Seth Faxon [Tue, 13 Jan 2015 00:51:31 +0000 (16:51 -0800)]
Make the Rust Book more mobile friendly

9 years agoAdd notes about 32 vs 64 bit Windows
Steve Klabnik [Mon, 12 Jan 2015 21:00:03 +0000 (16:00 -0500)]
Add notes about 32 vs 64 bit Windows

9 years agoauto merge of #20997 : nikomatsakis/rust/assoc-types-enum-field-access, r=nick29581
bors [Tue, 13 Jan 2015 14:21:39 +0000 (14:21 +0000)]
auto merge of #20997 : nikomatsakis/rust/assoc-types-enum-field-access, r=nick29581

Various fixes to enum field access. Builds on PR #20955.

r? @nick29581

9 years agoSupport UFCS style calls to a method defined in `Trait` where `Self`
Niko Matsakis [Tue, 13 Jan 2015 14:17:07 +0000 (09:17 -0500)]
Support UFCS style calls to a method defined in `Trait` where `Self`
is bound to a trait object. Fixes #20676.

9 years agoReplace usage of deriving with derive in docs
Greg Chapple [Tue, 6 Jan 2015 10:56:14 +0000 (10:56 +0000)]
Replace usage of deriving with derive in docs

9 years agographviz-flowgraph tests: use new `--xpretty flowgraph,unlabelled` option.
Felix S. Klock II [Tue, 13 Jan 2015 12:46:29 +0000 (13:46 +0100)]
graphviz-flowgraph tests: use new `--xpretty flowgraph,unlabelled` option.

This makes the tests much easier to maintain; the particular details
of the labels attached to exiting scopes is not worth the effort
required to keep it up to date as things change in the compiler
internals.

9 years agoauto merge of #20963 : nick29581/rust/ast_map, r=eddyb
bors [Tue, 13 Jan 2015 11:56:31 +0000 (11:56 +0000)]
auto merge of #20963 : nick29581/rust/ast_map, r=eddyb

9 years agoFix test failures
Travis Watkins [Tue, 13 Jan 2015 11:43:30 +0000 (05:43 -0600)]
Fix test failures

9 years agoRewrite each_attr to return a vector.
Ms2ger [Sun, 11 Jan 2015 19:03:20 +0000 (20:03 +0100)]
Rewrite each_attr to return a vector.

9 years agoReturn the Vec from csearch::get_item_attrs.
Ms2ger [Sun, 11 Jan 2015 17:16:02 +0000 (18:16 +0100)]
Return the Vec from csearch::get_item_attrs.

Using a closure unnecessarily obfuscates the code.

9 years agoReturn the Vec from decoder::get_item_attrs.
Ms2ger [Sun, 11 Jan 2015 16:33:02 +0000 (17:33 +0100)]
Return the Vec from decoder::get_item_attrs.

Using a closure unnecessarily obfuscates the code.

9 years agoauto merge of #20960 : erickt/rust/fix-associated-types-debuginfo, r=michaelwoerister
bors [Tue, 13 Jan 2015 09:06:35 +0000 (09:06 +0000)]
auto merge of #20960 : erickt/rust/fix-associated-types-debuginfo, r=michaelwoerister

Closes #20797

9 years agostd: Deprecate `finally` module
Brian Anderson [Tue, 13 Jan 2015 08:27:28 +0000 (00:27 -0800)]
std: Deprecate `finally` module

No in-tree users. Ugly interface. Closes #14332.

9 years agoReturn passed value from black_box
Travis Watkins [Sat, 3 Jan 2015 08:49:42 +0000 (02:49 -0600)]
Return passed value from black_box

By returning the passed value black_box can be used on data being
passed to a function being benchmarked. This ensures the compiler
does not optimize the function for the input which could result in
the entire function being optimized away.

9 years agotypeck: move method errors/suggestions to their own file.
Huon Wilson [Tue, 13 Jan 2015 06:05:04 +0000 (17:05 +1100)]
typeck: move method errors/suggestions to their own file.

9 years agoauto merge of #20955 : nikomatsakis/rust/assoc-types-struct-field-access, r=nick29581
bors [Tue, 13 Jan 2015 05:01:34 +0000 (05:01 +0000)]
auto merge of #20955 : nikomatsakis/rust/assoc-types-struct-field-access, r=nick29581

Normalize the types of fields we project out of a struct or tuple struct.
Fixes #20954.

r? @nick29581

9 years agoInitialize memory for BufferedReader buffer
Steven Fackler [Tue, 13 Jan 2015 03:50:33 +0000 (19:50 -0800)]
Initialize memory for BufferedReader buffer

It's passed to the underlying reader, so uninitialized memory == sad
times.

We might want to shrink the default buffer size as well. 64k is pretty
huge. Java uses 8k by default, and Go uses 4k for reference.

9 years agoVarious changes to Rust Introduction
Kevin Yap [Sun, 11 Jan 2015 23:41:59 +0000 (15:41 -0800)]
Various changes to Rust Introduction

- Make punctuation/formatting consistent with the changes made to "The
  Rust Programming Language" in #20782.
- Use title casing for "Safety and Speed" section.
- Reword some phrases to improve clarity.

9 years agoChange Mutex to use SRWLock on Windows.
Peter Atashian [Mon, 12 Jan 2015 22:50:39 +0000 (17:50 -0500)]
Change Mutex to use SRWLock on Windows.

Signed-off-by: Peter Atashian <retep998@gmail.com>
9 years agoauto merge of #20944 : brson/rust/weve-met-with-a-terrible-fate-havent-we, r=brson
bors [Tue, 13 Jan 2015 01:08:03 +0000 (01:08 +0000)]
auto merge of #20944 : brson/rust/weve-met-with-a-terrible-fate-havent-we, r=brson

Closes #13871

9 years agoadd test for issue #20575
Jorge Aparicio [Mon, 12 Jan 2015 23:40:19 +0000 (18:40 -0500)]
add test for issue #20575

closes #20575

9 years agocleanup: `&foo[0..a]` -> `&foo[..a]`
Jorge Aparicio [Mon, 12 Jan 2015 21:59:18 +0000 (16:59 -0500)]
cleanup: `&foo[0..a]` -> `&foo[..a]`

9 years agoAdd note about TLS lookups in random()
Steve Klabnik [Mon, 12 Jan 2015 22:57:28 +0000 (17:57 -0500)]
Add note about TLS lookups in random()

Fixes #16072

9 years agoauto merge of #20896 : sfackler/rust/atomic-rename, r=alexcrichton
bors [Mon, 12 Jan 2015 22:56:20 +0000 (22:56 +0000)]
auto merge of #20896 : sfackler/rust/atomic-rename, r=alexcrichton

Change any use of AtomicInt to AtomicIsize and AtomicUint to AtomicUsize

Closes #20893

[breaking-change]

9 years agoRemove dead link from make tips
Steve Klabnik [Mon, 12 Jan 2015 22:12:05 +0000 (17:12 -0500)]
Remove dead link from make tips

Fixes #17950

9 years agoadd --xpretty flowgraph,unlabelled variant.
Felix S. Klock II [Mon, 12 Jan 2015 21:42:12 +0000 (22:42 +0100)]
add --xpretty flowgraph,unlabelled variant.

9 years agoLink to a better place for msys2
Steve Klabnik [Mon, 12 Jan 2015 20:56:16 +0000 (15:56 -0500)]
Link to a better place for msys2

This is much more helpful.

9 years agoDon't use 'synonym' with regards to newtypes
Steve Klabnik [Mon, 12 Jan 2015 20:30:11 +0000 (15:30 -0500)]
Don't use 'synonym' with regards to newtypes

Fixes #20037.

9 years agoElaborate on destructuring let
Steve Klabnik [Mon, 12 Jan 2015 20:28:09 +0000 (15:28 -0500)]
Elaborate on destructuring let

Fixes #20471.

9 years agoSome random things
Nick Cameron [Sun, 11 Jan 2015 05:45:59 +0000 (18:45 +1300)]
Some random things

9 years agoAdd view items to the ast map
Nick Cameron [Sun, 11 Jan 2015 09:45:34 +0000 (22:45 +1300)]
Add view items to the ast map

9 years agoImprove example in the intro.
Steve Klabnik [Mon, 12 Jan 2015 16:34:42 +0000 (11:34 -0500)]
Improve example in the intro.

Thank you @bluss for the suggested implementation.

Fixes #20844

9 years agoImprove the ownership guide a tad
Steve Klabnik [Mon, 12 Jan 2015 18:48:59 +0000 (13:48 -0500)]
Improve the ownership guide a tad

Fixes #19924

9 years agoauto merge of #20894 : swgillespie/rust/emacs-issue-20422, r=pnkfelix
bors [Mon, 12 Jan 2015 19:20:56 +0000 (19:20 +0000)]
auto merge of #20894 : swgillespie/rust/emacs-issue-20422, r=pnkfelix

rust-mode.el recently started highlighting keywords that were substrings of identifiers. Identifiers such as `xyz_type` would have `type` highlighted, which isn't normal. This patch re-introduces `_` as a word constituent, so that keywords following a `_` don't get syntax highlighted as keywords. Fixes issue #20422

9 years agoVec's IntoIter should be Send/Sync when Vec is (fixes #21027)
Renato Zannon [Mon, 12 Jan 2015 19:12:20 +0000 (17:12 -0200)]
Vec's IntoIter should be Send/Sync when Vec is (fixes #21027)

9 years agoImprove clarity of paragraph in the pointer guide
Steve Klabnik [Mon, 12 Jan 2015 18:57:09 +0000 (13:57 -0500)]
Improve clarity of paragraph in the pointer guide

Fixes #19067

9 years agoRemove PDF link on 404 page
Steve Klabnik [Mon, 12 Jan 2015 18:16:07 +0000 (13:16 -0500)]
Remove PDF link on 404 page

Fixes #17368

9 years agorustdoc: Show type bindings on object types
Tom Jakubowski [Mon, 12 Jan 2015 17:43:24 +0000 (09:43 -0800)]
rustdoc: Show type bindings on object types

Fix #20299