Skip to content

Commit 46b28e0

Browse files
committed
Cite source for derive macro helper example
1 parent f41f8a3 commit 46b28e0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

corpus/declarations.txt

+3
Original file line numberDiff line numberDiff line change
@@ -1038,6 +1038,8 @@ foo(#[bar(some tokens are special in other contexts: $/';()*()+.)] x);
10381038
Derive macro helper attributes
10391039
================================================================================
10401040

1041+
// Example from https://github.com/dtolnay/thiserror/blob/21c26903e29cb92ba1a7ff11e82ae2001646b60d/README.md
1042+
10411043
use thiserror::Error;
10421044

10431045
#[derive(Error, Debug)]
@@ -1051,6 +1053,7 @@ pub enum Error {
10511053
--------------------------------------------------------------------------------
10521054

10531055
(source_file
1056+
(line_comment)
10541057
(use_declaration
10551058
(scoped_identifier (identifier) (identifier)))
10561059
(attribute_item

0 commit comments

Comments
 (0)