This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
32087f5c2a
rust
/
src
/
test
/
compile-fail
/
bad-module.rs
5 lines
87 B
Rust
Raw
Normal View
History
Unescape
Escape
Be less specific in 'unresolved import' error patterns To make sure different test set-ups (check-fast) don't cause the tests to fail.
2011-12-02 10:20:03 -06:00
// error-pattern: unresolved import
More misc ivec->vec renaming
2011-08-18 17:00:12 -05:00
import
vec
;
Improve nonexistent-module error message The error message for (for example) "import vec;" without "use std;" was "cyclic import", which was misleading because there were no cycles. I changed it to "cyclic import or nonexistent module", which doesn't break existing tests.
2011-05-24 12:46:48 -05:00
Reformat This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-19 17:16:48 -05:00
fn
main
(
)
{
let
foo
=
vec
::
len
(
[
]
)
;
}
Reference in New Issue
Copy Permalink