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
{{ message }}
Repository navigation
Unused functions in objects can affect whether self calls compile #324
Should compile and run as expected -- but commenting out the (unused!) 'wrapper' fn produces:
rust: ../rust/src/test/run-pass/obj-self-4.rs:11:19:11:26: error: mismatched types: expected fn(int) -> but found fn() -> int (incorrect number of function parameters)
11:19:11:26 is the call to 'inc_by' inside 'inc_by_5'.
Just committed a test case showing that this has been fixed sometime in the last several weeks. (Wish I'd been keeping track of what fixed it, though.) Closing this issue.
Activity
graydon commentedon May 26, 2011
Is this still occurring?
lkuper commentedon May 27, 2011
Just committed a test case showing that this has been fixed sometime in the last several weeks. (Wish I'd been keeping track of what fixed it, though.) Closing this issue.
Merge pull request rust-lang#324 from oli-obk/align_offset
Reorganize and refactor source tree (rust-lang#324)
Merge pull request rust-lang#324 from durka/stabilize-macro-lifetime
Merge pull request rust-lang#324 from bjorn3/dependabot/cargo/fuchsia…
Merge pull request rust-lang#324 from GuillaumeGomez/no-alias-optimiz…
Parse log file of multi-threaded Kani run (terse output) into JSON (r…
feat: add union find (rust-lang#324)
resolved rust-lang#324: remove unnecessary braces in use statement.
Merge rust-lang#326
Merge rust-lang#333