You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[cfg_attr(rustfmt, rustfmt_skip)]// #[rustfmt_skip] // does not work eithermacro_rules! __unstable_detect_feature {("sse") => { $crate::vendor::__unstable_detect_feature($crate::vendor::__Feature::sse{})};}
shows:
("sse") => { $crate::vendor::__unstable_detect_feature($crate::vendor::__Feature::sse{}) };| ^^^^^^^^^^^^^^^^^
error: line exceeded maximum width (maximum: 79, found: 85)
The text was updated successfully, but these errors were encountered:
The issue is that the error is emitted but the macro is not formated. It is possible to make this particular macro fit into 79 charactes lines, but the tool is not doing it. I had to format it manually, and then the tool doesn't emit the error.
IMO I shouldn't need to format anything manually unless I turn rustfmt off for a particular snippet of code.
If I put one of those lines in a single line, the tool emits an error but does not reformat the line properly (or at least did not do so when I filled this issue).
from
stdsimd
; line width set to 79 characters:shows:
The text was updated successfully, but these errors were encountered: