mozilla/rust — Issue #1707: Using 'type' as parameter name doesn't work
Author: ttaubert
Created: 2012-01-30 09:58:20+00:00
State: open

I tried to declare a function such as:

fn func(type: int) -> int;

This gave me the error "found type in expression position". Shouldn't I be able to use 'type' as a parameter name?