Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange log shown when error is rustfmt diff #66

Open
RalfJung opened this issue Sep 18, 2022 · 0 comments
Open

Strange log shown when error is rustfmt diff #66

RalfJung opened this issue Sep 18, 2022 · 0 comments

Comments

@RalfJung
Copy link
Member

This error

Diff in /checkout/compiler/rustc_const_eval/src/interpret/eval_context.rs at line 929:
     }
 
     #[must_use]
-    pub fn generate_stacktrace_from_stack(stack: &[Frame<'mir, 'tcx, M::Provenance, M::FrameExtra>]) -> Vec<FrameInfo<'tcx>> {
+    pub fn generate_stacktrace_from_stack(
+        stack: &[Frame<'mir, 'tcx, M::Provenance, M::FrameExtra>],
+    ) -> Vec<FrameInfo<'tcx>> {
         let mut frames = Vec::new();
         // This deliberately does *not* honor `requires_caller_location` since it is used for much
         // more than just panics.

is quoted in a strange (and wrong) way by the bot

Diff in /checkout/compiler/rustc_const_eval/src/interpret/eval_context.rs at line 929:
     }
 
     #[must_use]
-    pub fn generate_stacktrace_from_stack(stack: &[Frame<'mir, 'tcx, M::Provenance, M::FrameExtra>]) -> Vec<FrameInfo<'tcx>> {
+    pub fn generate_stacktrace_from_stack(
+        stack: &[Frame<'mir, 'tcx, M::Provenance, M::FrameExtra>],
         let mut frames = Vec::new();
         let mut frames = Vec::new();
         // This deliberately does *not* honor `requires_caller_location` since it is used for much
         // more than just panics.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant