Ömer Sinan Ağacan 34b373d309 Rename HIR UnOp variants
This renames the variants in HIR UnOp from

    enum UnOp {
        UnDeref,
        UnNot,
        UnNeg,
    }

to

    enum UnOp {
        Deref,
        Not,
        Neg,
    }

Motivations:

- This is more consistent with the rest of the code base where most enum
  variants don't have a prefix.

- These variants are never used without the `UnOp` prefix so the extra
  `Un` prefix doesn't help with readability. E.g. we don't have any
  `UnDeref`s in the code, we only have `UnOp::UnDeref`.

- MIR `UnOp` type variants don't have a prefix so this is more
  consistent with MIR types.

- "un" prefix reads like "inverse" or "reverse", so as a beginner in
  rustc code base when I see "UnDeref" what comes to my mind is
  something like "&*" instead of just "*".
2021-02-09 11:39:20 +03:00
..
2021-01-07 18:54:12 -03:00
2020-06-10 01:35:47 +00:00
2020-04-20 15:47:08 -04:00
2020-04-23 16:30:06 -07:00
2020-04-26 18:00:51 +03:00
2020-07-10 07:39:28 -04:00
2020-03-20 22:52:53 +00:00
2020-04-08 08:37:20 -07:00
2020-04-02 18:31:31 -07:00
2020-03-29 22:22:36 +02:00
2020-03-10 18:00:37 -04:00
2020-03-10 18:00:37 -04:00