2db4259b35
Also, some other changes that came up along the way: - add a 'blk' region for the current block. - detect unused type/region variables.
8 lines
130 B
Rust
8 lines
130 B
Rust
// Issue #1763 - infer types correctly
|
|
|
|
type actor<T> = { //! ERROR Type parameter T is unused.
|
|
unused: bool
|
|
};
|
|
|
|
fn main() {}
|