mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
Trim the indentation on macros which heuristically appear to use block-style indentation (#3178)
This commit is contained in:
committed by
Seiichi Uchida
parent
16d5f507b6
commit
cd8bb50aea
@@ -184,6 +184,19 @@ fn issue1577() {
|
||||
});
|
||||
}
|
||||
|
||||
// #3174
|
||||
fn issue_3174() {
|
||||
let data =
|
||||
if let Some(debug) = error.debug_info() {
|
||||
json!({
|
||||
"errorKind": format!("{:?}", error.err_kind()),
|
||||
"debugMessage": debug.message,
|
||||
})
|
||||
} else {
|
||||
json!({"errorKind": format!("{:?}", error.err_kind())})
|
||||
};
|
||||
}
|
||||
|
||||
gfx_pipeline!(pipe {
|
||||
vbuf: gfx::VertexBuffer<Vertex> = (),
|
||||
out: gfx::RenderTarget<ColorFormat> = "Target0",
|
||||
|
||||
Reference in New Issue
Block a user