Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
rust-lang
/
rust
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
16k
Star
119k
Code
Issues
5k+
Pull requests
1.4k
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Improve diagnostic output of
non_local_definitions
lint
- #125089
#125089
Merged
bors
merged 11 commits into
rust-lang:master
rust-lang/rust:master
from
Urgau:non_local_def-suggestions
Urgau/rust:non_local_def-suggestions
Copy head branch name to clipboard
May 28, 2024
Conversation
Commits
11
(11)
Checks
Files changed
Merged
Improve diagnostic output of
non_local_definitions
lint
#125089
bors
merged 11 commits into
rust-lang:master
rust-lang/rust:master
from
Urgau:non_local_def-suggestions
Urgau/rust:non_local_def-suggestions
Copy head branch name to clipboard
Commits
Commits on May 27, 2024
non_local_defs: move out from `#[derive(LintDiagnostic)]` to manual impl
Urgau
committed
5ad4ad7
View commit details
Copy full SHA for 5ad4ad7
Browse repository at this point
non_local_defs: switch to more friendly primary message
Urgau
committed
06c6a2d
View commit details
Copy full SHA for 06c6a2d
Browse repository at this point
non_local_defs: improve some notes around trait, bounds, consts
Show description for de1c122
Urgau
committed
de1c122
View commit details
Copy full SHA for de1c122
Browse repository at this point
non_local_defs: use span of the impl def and not the impl block
Urgau
committed
26b873d
View commit details
Copy full SHA for 26b873d
Browse repository at this point
non_local_defs: use labels to indicate what may need to be moved
Urgau
committed
22095fb
View commit details
Copy full SHA for 22095fb
Browse repository at this point
non_local_defs: improve exception note for impl and macro_rules!
Show description for 402580b
Urgau
committed
402580b
View commit details
Copy full SHA for 402580b
Browse repository at this point
non_local_defs: be more precise about what needs to be moved
Urgau
committed
d3dfe14
View commit details
Copy full SHA for d3dfe14
Browse repository at this point
non_local_defs: improve main without a trait note
Urgau
committed
ab23fd8
View commit details
Copy full SHA for ab23fd8
Browse repository at this point
non_local_defs: suggest removing leading ref/ptr to make the impl local
Urgau
committed
b719529
View commit details
Copy full SHA for b719529
Browse repository at this point
non_local_defs: point to Self and Trait to give more context
Urgau
committed
98273ec
View commit details
Copy full SHA for 98273ec
Browse repository at this point
non_local_defs: point the parent item when appropriate
Urgau
committed
c7d3004
View commit details
Copy full SHA for c7d3004
Browse repository at this point
You can’t perform that action at this time.