Skip to content

Instantly share code, notes, and snippets.

@killerswan
Created July 26, 2014 16:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save killerswan/98486086d32a3fad001a to your computer and use it in GitHub Desktop.
Save killerswan/98486086d32a3fad001a to your computer and use it in GitHub Desktop.
An error on mismatched visibility when (perhaps) misusing `quote_item!`
ovid $ git ll -1 --oneline
* b197f03 (HEAD, master) cleanup
ovid $
ovid $ git diff
ovid $
ovid $ ./build.sh
provide_csv_given_labels: name: MyCSV
provide_csv_given_labels: path: ./sample1.txt
provide_csv_given_labels: labels: Verse
Parsing given labels...
Defining items in the CSV provider...
CSVSample.rs:45:7: 45:60 error: unmatched visibility `pub`
CSVSample.rs:45 ProvideCSV_labels!("MyCSV", "./sample1.txt", "Verse")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment