diff options
Diffstat (limited to 'tests/ui/error-codes/E0220.rs')
-rw-r--r-- | tests/ui/error-codes/E0220.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0220.rs b/tests/ui/error-codes/E0220.rs new file mode 100644 index 000000000..e11a570df --- /dev/null +++ b/tests/ui/error-codes/E0220.rs @@ -0,0 +1,8 @@ +trait Trait { + type Bar; +} + +type Foo = dyn Trait<F=i32>; //~ ERROR E0220 + //~| ERROR E0191 +fn main() { +} |