summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/explicit-self-lowercase-param.stderr
blob: cd64dbb3854afc9a0e140cff01c6aae03374e4be (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 previous error