about summary refs log tree commit diff
path: root/tests/ui/unpretty/self-hir.stdout
blob: b190565dcc4727825f1ec52dd5f79953bb343700 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#[attr = MacroUse {arguments: UseAll}]
extern crate std;
#[prelude_import]
use ::std::prelude::rust_2015::*;
//@ compile-flags: -Zunpretty=hir
//@ check-pass
//@ edition: 2015

struct Bar {
    a: String,
    b: u8,
}

impl Bar {
    fn imm_self(self) { }
    fn mut_self(mut self) { }
    fn refimm_self(&self) { }
    fn refmut_self(&mut self) { }
}