Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

CosmicHorrorDev
Copy link
Contributor

Related #575 (comment)

Marks syntect::parsing::SCOPE_REPO as deprecated in anticipation of removal in the next semver-breaking release. The deprecation renders as follows

warning: use of deprecated static `parsing::scope::SCOPE_REPO`: Deprecated in anticipation of removal in the next semver-breaking release under the justification that it's incredibly niche functionality to expose. If you rely on this functionality then please express your particular use-case in the github issue: https://github.com/trishume/syntect/issues/575
   --> src/parsing/scope.rs:237:24
    |
237 |         let mut repo = SCOPE_REPO.lock().unwrap();
    |                        ^^^^^^^^^^

@CosmicHorrorDev
Copy link
Contributor Author

Rebased on top of master and added since = "5.3.0" to the deprecation under the assumption that this might make it out in the next 5.x release

Copy link
Collaborator

@Enselic Enselic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@Enselic Enselic merged commit db4a913 into trishume:master Sep 8, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants