[rust-dev] Main page example compilation error
pwalton at mozilla.com
Sun Apr 8 17:36:46 PDT 2012
On 04/08/2012 05:35 PM, Alexander Stavonin wrote:
> Hi, I'm trying to compile main page example, but it failed with error:
> > rustc main.rs <http://main.rs>
> main.rs:5:0: 5:1 error: expecting in, found }
> main.rs:5 <http://main.rs:5> }
> The situation with example on main page makes "very small taste" of Rust
> not too good. Is it possible to fix example?
The example is for the current git tip of Rust, not any released
version. Perhaps there should be a disclaimer to that effect...
More information about the Rust-dev