summary refs log tree commit diff
path: root/src/test/ui/traits/negative-impls/negative-default-impls.stderr
blob: a70bbe6b948d1ce1ac5079523e7fff352e619fb1 (plain)
1
2
3
4
5
6
7
8
9
error[E0750]: negative impls cannot be default impls
  --> $DIR/negative-default-impls.rs:8:1
   |
LL | default impl !MyTrait for u32 {}
   | ^^^^^^^      ^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0750`.