Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
b60c3e2
Closes #15919
bombless Apr 30, 2015
4c8b813
Closes #15919
bombless Apr 30, 2015
51a1e83
doc: Remove mention of 30 minute intro
brson May 8, 2015
7d9e605
Add error explanation for E0317.
meqif May 10, 2015
c0412bc
Fix documentation URL in diagnostic message.
meqif May 10, 2015
f3a3684
Add error explanation for E0154.
meqif May 10, 2015
e7fa00a
Add error explanation for E0259.
meqif May 10, 2015
60ec4ab
Add error explanation for E0260.
meqif May 10, 2015
bff1707
Fixed one textual mistake and one casing error.
michal-czardybon May 8, 2015
ef03055
Improve wording in error explanation.
meqif May 11, 2015
aa529ef
Add missing keyword in `extern crate` declarations.
meqif May 11, 2015
d13f765
Make mention of `if` more generic
frewsxcv May 12, 2015
93c21c7
Correct claims about &T's Copyness.
Ms2ger May 12, 2015
6faa8d6
Add a link to the error index to the main doc page.
michaelsproul May 12, 2015
e780fb2
TRPL: Borrow and AsRef
steveklabnik Apr 30, 2015
393a37e
Correct various small points, expand some sections, while avoiding
nikomatsakis May 12, 2015
6987900
Rollup merge of #24987 - bombless:large-array, r=pnkfelix
steveklabnik May 12, 2015
cae0844
Rollup merge of #24996 - steveklabnik:gh24163, r=aturon
steveklabnik May 12, 2015
40a5f3c
Rollup merge of #25220 - brson:doc1, r=steveklabnik
steveklabnik May 12, 2015
57852e9
Rollup merge of #25221 - michal-czardybon:master, r=steveklabnik
steveklabnik May 12, 2015
b814884
Rollup merge of #25267 - meqif:explain_e0317, r=alexcrichton
steveklabnik May 12, 2015
5096ce6
Rollup merge of #25322 - frewsxcv:patch-23, r=steveklabnik
steveklabnik May 12, 2015
29dd563
Rollup merge of #25327 - Ms2ger:copy-ref, r=pnkfelix
steveklabnik May 12, 2015
b3c92d9
Rollup merge of #25331 - michaelsproul:err-idx-doc-link, r=Manishearth
steveklabnik May 12, 2015
34bc44f
Rollup merge of #25335 - nikomatsakis:updates-to-reference-manual, r=…
steveklabnik May 12, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add a link to the error index to the main doc page.
I also capitalised "The Standard Library" and neatened a few bits of grammar.

Also fixed: `#[main]` inside one of the error descriptions.
  • Loading branch information
michaelsproul committed May 12, 2015
commit 6faa8d6793e9136cbc2d852504f499144ddd1097
13 changes: 9 additions & 4 deletions src/doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ series of small examples.
# Community & Getting Help

If you need help with something, or just want to talk about Rust with others,
there's a few places you can do that:
there are a few places you can do that:

The Rust IRC channels on [irc.mozilla.org](http://irc.mozilla.org/) are the
fastest way to get help.
Expand Down Expand Up @@ -59,7 +59,7 @@ the language in as much detail as possible is in [the reference](reference.html)

# Tools

Rust's still a young language, so there isn't a ton of tooling yet, but the
Rust is still a young language, so there isn't a ton of tooling yet, but the
tools we have are really nice.

[Cargo](http://crates.io) is Rust's package manager, and its website contains
Expand All @@ -69,16 +69,21 @@ lots of good documentation.

# FAQs

There are questions that are asked quite often, and so we've made FAQs for them:
There are questions that are asked quite often, so we've made FAQs for them:

* [Language Design FAQ](complement-design-faq.html)
* [Language FAQ](complement-lang-faq.html)
* [Project FAQ](complement-project-faq.html)
* [How to submit a bug report](https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports)

# The standard library
# The Standard Library

We have [API documentation for the entire standard
library](std/index.html). There's a list of crates on the left with more
specific sections, or you can use the search bar at the top to search for
something if you know its name.

# The Error Index

If you encounter an error while compiling your code you may be able to look it
up in the [Rust Compiler Error Index](error-index.html).
4 changes: 2 additions & 2 deletions src/librustc/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ See also http://doc.rust-lang.org/book/unsafe.html

E0137: r##"
This error indicates that the compiler found multiple functions with the
#[main] attribute. This is an error because there must be a unique entry point
into a Rust program.
`#[main]` attribute. This is an error because there must be a unique entry
point into a Rust program.
"##,

E0152: r##"
Expand Down