Add regression test for #105334
This commit is contained in:
parent
e8853563df
commit
ed3c3d3ddd
2 changed files with 11 additions and 0 deletions
2
src/test/rustdoc-ui/issue-105334.rs
Normal file
2
src/test/rustdoc-ui/issue-105334.rs
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
impl Vec< br##"*.."## > {}
|
||||
//~^ ERROR
|
||||
9
src/test/rustdoc-ui/issue-105334.stderr
Normal file
9
src/test/rustdoc-ui/issue-105334.stderr
Normal file
|
|
@ -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`.
|
||||
Loading…
Add table
Add a link
Reference in a new issue