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
223f6017c7
rust
/
src
/
test
/
compile-fail
/
bad-module.rs
4 lines
93 B
Rust
Raw
Normal View
History
Unescape
Escape
Remove last uses of vec::len
2011-08-12 01:43:17 -05:00
// error-pattern: unresolved import: ivec
import
ivec
;
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
Rename std::ivec to std::vec
2011-08-15 18:38:23 -05:00
fn
main
(
)
{
let
foo
=
vec
::
len
(
[
]
)
;
}
Reference in New Issue
Copy Permalink