diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2014-11-11 10:45:59 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2014-11-11 10:45:59 -0800 |
| commit | e6e58e43f8f9507474fdf35544b6b0c0fc6cef39 (patch) | |
| tree | a00320aad3332c0dd6d60f8ab46f4458f6696665 /src/test/compile-fail/dup-struct-enum-struct-variant.rs | |
| parent | 5d29209bda553e4d23a8b499d2ceb8db5c4f8be5 (diff) | |
| download | rust-e6e58e43f8f9507474fdf35544b6b0c0fc6cef39.tar.gz rust-e6e58e43f8f9507474fdf35544b6b0c0fc6cef39.zip | |
libsyntax: Forbid type parameters in field expressions.
This breaks code like:
struct Foo {
x: int,
}
let f: Foo = ...;
... f.x::<int> ...
Change this code to not contain an unused type parameter. For example:
struct Foo {
x: int,
}
let f: Foo = ...;
... f.x ...
Closes #18680.
[breaking-change]
Diffstat (limited to 'src/test/compile-fail/dup-struct-enum-struct-variant.rs')
0 files changed, 0 insertions, 0 deletions
