You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fna(x: ~str) -> ~str{
#fmt("First function with %s", x)}fna(x: ~str,y: ~str) -> ~str{
#fmt("Second function with %s and %s", x, y)}fnmain(){
#info("Result: ");}
Compiles with a recent rust master (899400c) (but using a(x: ~str) does not compile)
Activity
Dretch commentedon Aug 6, 2012
You can also declare different types with the same name. This compiles and runs:
catamorphism commentedon Aug 6, 2012
I'm working on fixing both of these issues.
Dretch commentedon Aug 6, 2012
Thats great @catamorphism, thanks!
try to fix comment bad wrapping (rust-lang#3099)
Auto merge of rust-lang#3099 - RalfJung:abi-target-feature, r=RalfJung
Auto merge of rust-lang#3099 - RalfJung:abi-target-feature, r=RalfJung
Add test for rust-lang#3099 (rust-lang#3100)
Bump Kani version to 0.49.0 (rust-lang#3126)