Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Mar 2, 2023

Issue: rust-lang/rust#105209

#!/bin/bash

rustc -Zunpretty=ast-tree - << EOF
#![c={#![c[)x
EOF
=== stdout ===
=== stderr ===
error: mismatched closing delimiter: `)`
 --> <anon>:1:11
  |
1 | #![c={#![c[)x
  |           ^^ mismatched closing delimiter
  |           |
  |           unclosed delimiter

error: this file contains an unclosed delimiter
 --> <anon>:1:15
  |
1 | #![c={#![c[)x
  |   -  -  -  -  ^
  |   |  |  |  |
  |   |  |  |  missing open `(` for this delimiter
  |   |  |  unclosed delimiter
  |   |  unclosed delimiter
  |   unclosed delimiter

error: aborting due to 2 previous errors

==============

=== stdout ===
=== stderr ===
error: mismatched closing delimiter: `)`
 --> <anon>:1:11
  |
1 | #![c={#![c[)x
  |           ^^ mismatched closing delimiter
  |           |
  |           unclosed delimiter

error: this file contains an unclosed delimiter
 --> <anon>:1:15
  |
1 | #![c={#![c[)x
  |   -  -  -  -  ^
  |   |  |  |  |
  |   |  |  |  missing open `(` for this delimiter
  |   |  |  unclosed delimiter
  |   |  unclosed delimiter
  |   unclosed delimiter

error: aborting due to 2 previous errors

==============
@JohnTitor JohnTitor merged commit 2d5a9fb into master Mar 3, 2023
@JohnTitor JohnTitor deleted the autofix/ices/105209.sh branch March 3, 2023 11:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants