Comments (3)
Thanks for the feedback. The example in the cookbook can be made clearer by switching it to use r#try - then it will work on both 2015 edition and 2018 edition and will match both try! (2015) and r#try! (2015 or 2018). I'll update the cookbook.
from rerast.
Thanks. I did try editing the example to use r#try
but it didn't work, but I can see if I do it in a trivial test project it does work. I'll try to reduce my failing case and may come back.
from rerast.
Ok, I've figured out my problem isn't directly related to r#try
- I'll add a new issue to cover it.
from rerast.
Related Issues (20)
- Build errors on installation HOT 2
- Rewrite discards expression for variable HOT 2
- build failure with rustc 1.32.0-nightly (f4a421ee3 2018-12-13) HOT 1
- Documentation examples of the replace_type and replace_trait_ref. HOT 1
- replace_type macro fails on rust edition 2018. HOT 1
- Build fails on 1.35-nightly HOT 2
- dot async example HOT 2
- Rerast requires `rustup` HOT 4
- try! example panics when fixing docs.rs HOT 5
- How can I use a type from the crate I'm fixing? HOT 7
- Better error messages HOT 1
- Allow running when not in root directory HOT 2
- Build failure with latest nightly: ExprKind::AddrOf variant changed HOT 5
- Example of modifying a function definition? HOT 1
- Specifying type () in placeholders generates bad syntax HOT 2
- Running cargo rerast in workspaces fails HOT 5
- can't compile on latest nightly HOT 2
- Matching of string literals HOT 2
- Transform attribute values
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rerast.