Code Monkey home page Code Monkey logo

Comments (6)

BurntSushi avatar BurntSushi commented on August 15, 2024

Which project? It looks like it's enabling the pattern feature, which doesn't work on beta because it is unstable.

from regex.

gbersac avatar gbersac commented on August 15, 2024

This is a personal project which you can find on github : https://github.com/gbersac/computorv1-42

Am I suppose to use nightly ? What if I want to stay with beta ?

from regex.

BurntSushi avatar BurntSushi commented on August 15, 2024

You can't use beta and enable unstable features: https://github.com/gbersac/computorv1-42/blob/master/src/main.rs#L1-L3 If you want to use unstable features, you must use the nightly.

One of the unstable features you're using is regex_macros, which only works on the nightly. It also enables the pattern feature, which is why you're getting this error. (pattern only works on nightly too.)

If you want to work on beta, you'll need to remove all uses of #![feature(...)] and change your dependencies to just regex (no regex_macros).

from regex.

BurntSushi avatar BurntSushi commented on August 15, 2024

You may find this useful :-) https://github.com/docopt/docopt.rs/blob/master/src/lib.rs#L231-L233

from regex.

havarnov avatar havarnov commented on August 15, 2024

Just note that that won't give you compile time errors, obviously.

from regex.

BurntSushi avatar BurntSushi commented on August 15, 2024

Nor a nice performance boost!

from regex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.