Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give warnings when using old slog_ prefixed macros (ex. slog_log) #331

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Techcable
Copy link
Member

These are made redundant by the new macro path system in Rust 2018. For example, we can now use slog::log!() instead of needing slog_log!.

This warning can be disabled with the feature flag: suppress-macro2018-warnings

TODO

  • Add an entry to CHANGELOG.md
  • Consider how this affects other changes/improvements to the macros
    • Do we want to use procedural macros?

These are made redundant by the new 2018 paths.

This warning can be disabled with the feature flag: suppress-macro2018-warnings
@Techcable Techcable force-pushed the macros/warn-rust-2018-paths branch from dcca40f to 6fae64b Compare January 5, 2024 09:13
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.

1 participant