diff options
Diffstat (limited to 'src/test/ui/methods/method-call-type-binding.stderr')
-rw-r--r-- | src/test/ui/methods/method-call-type-binding.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/methods/method-call-type-binding.stderr b/src/test/ui/methods/method-call-type-binding.stderr new file mode 100644 index 000000000..4b93082ac --- /dev/null +++ b/src/test/ui/methods/method-call-type-binding.stderr @@ -0,0 +1,9 @@ +error[E0229]: associated type bindings are not allowed here + --> $DIR/method-call-type-binding.rs:2:15 + | +LL | 0.clone::<T = u8>(); + | ^^^^^^ associated type not allowed here + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0229`. |