Update rust-parser-generator-trait.js
Update rust-parser-generator-trait.js

Move the error handle logic when encountered an EOF from template file into generator file.
DmitrySoshnikov/syntax,DmitrySoshnikov/syntax,DmitrySoshnikov/syntax,DmitrySoshnikov/syntax,DmitrySoshnikov/syntax,DmitrySoshnikov/syntax,DmitrySoshnikov/syntax,DmitrySoshnikov/syntax,DmitrySoshnikov/syntax