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
rust
/
src
/
test
/
compile-fail
/
direct-obj-fn-call.rs
12 lines
108 B
Rust
Raw
Normal View
History
Unescape
Escape
Populate tree.
2010-06-23 21:03:09 -07:00
Only translate or dwarf-emit items or stubs locally defined or used. Avoids instantiating O(sizeof(standard-library)) worth of imports stubs on each 'use std'. Closes issue 13.
2010-06-27 20:48:28 -07:00
// error-pattern: is not a mod
Populate tree.
2010-06-23 21:03:09 -07:00
obj
x
(
)
{
fn
hello
(
)
{
log
"
hello
"
;
}
}
fn
main
(
)
{
x
.
hello
(
)
;
}
Reference in New Issue
Copy Permalink