summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/explicit-self-lowercase-param.stderr
blob: 6daa6f5d7af586050d58af708751177bc751c9d0 (plain)
1
2
3
4
5
6
7
8
error: attempt to use a non-constant value in a constant
  --> $DIR/explicit-self-lowercase-param.rs:4:29
   |
LL |     fn do_nothing(self: Box<self>) {}
   |                             ^^^^ help: try using `Self`

error: aborting due to 1 previous error