Skip to content

Commit

Permalink
Add regression test for rust-lang#105334
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jan 2, 2023
1 parent e885356 commit ed3c3d3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/rustdoc-ui/issue-105334.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
impl Vec< br##"*.."## > {}
//~^ ERROR
9 changes: 9 additions & 0 deletions src/test/rustdoc-ui/issue-105334.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
error[E0747]: constant provided when a type was expected
--> $DIR/issue-105334.rs:1:11
|
LL | impl Vec< br##"*.."## > {}
| ^^^^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0747`.

0 comments on commit ed3c3d3

Please sign in to comment.