Open
Description
this code:
mod phase {
pub trait Phase {
const RUN: &'static str;
const FAIL: &'static str;
fn to_style(&self, template: &str);
}
pub struct Updating {}
impl Phase for Updating {
const RUN: &'static str = "";
const FAIL: &'static str = "";
#[rustfmt::skip]
fn to_style(&self, template: &str) {}
}
}
fn main() {}
produces this error:
error[internal]: left behind trailing whitespace
--> /tmp/arif/src/main.rs:14:14:1
|
14 |
| ^^^^^^^^^^^^
|