sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: rust
Issue: Tracking issue for release notes of #95892: Tracking Issue for `sub_ptr` (feature `ptr_sub_ptr`)
Labels: T-lang,T-libs-api,relnotes,needs-triage,relnotes-tracking-issue


This issue tracks the release notes text for #95892.

### Steps

- [ ] Proposed text is drafted by PR author (or team) making the noteworthy change.
- [ ] Issue is nominated for release team review of clarity for wider audience.
- [ ] Release team includes text in release notes/blog posts.

### Release notes text

The responsible team for the underlying change should edit this section to replace the automatically generated link with a succinct description of what changed, drawing upon text proposed by the author (either in discussion or through direct editing).

````markdown
# Category (e.g. Language, Compiler, Libraries, Compatibility notes, ...)
- [Tracking Issue for `sub_ptr` (feature `ptr_sub_ptr`)](https://github.com/rust-lang/rust/issues/95892)
````

> [!TIP]
> Use the [previous releases](https://doc.rust-lang.org/nightly/releases.html) categories to help choose which one(s) to use.
> The category will be de-duplicated with all the other ones by the release team.
>
> *More than one section can be included if needed.*

### Release blog section

If the change is notable enough for inclusion in the blog post, the responsible team should add content to this section.
*Otherwise leave it empty.*

````markdown
````

cc @scottmcm -- origin issue/PR authors and assignees for starting to draft text
Repository: excalidraw
Issue: FR: Change no-arrowhead buttons to a greyed out arrowhead (in place of a regular line)
Labels: UX/UI

A small UX improvement request on my side: it is currently unclear the two buttons work for arrowhead setting. I literally had to google it and only after arriving to https://github.com/excalidraw/excalidraw/issues/616 had I realized, toggling back and forth between github and the whiteboard that the little straight line is indeed a setting for the other arrowhead.

One example of how this could be solved would be to display a greyed out arrow head in the other icon, in place of a black straight line. This would achieve two objectives
1. Inform that clicking this button leads to something related to arrowheads
2. Indicate that it's currently inactive (grey)

Currently, the buttons focus on how the whole line looks (a straight line) rather than on focusing on the end points (pointy arrows)
Repository: material-ui
Issue: [Slider] Thumb is lagging behind
Labels: performance,component: slider,package: material-ui,ready to take

### Steps to reproduce

Steps:
1. Drag the Slider component around fast enough


### Current behavior

The knob lags behind the mouse cursor. In slow-motion it's clearly visible, but I think it's also noticable at normal speed, especially  in person.

![lag](https://github.com/user-attachments/assets/b2af3dcf-c24d-412d-af11-202ffa20387e)


### Expected behavior

No lag, or try reducing the lag.

### Context

_No response_

### Your environment

I tested it just here: https://mui.com/material-ui/react-slider/
So whatever the environment is there, I guess. It says MUI 6.3.0 at the top, so that's probably what it is.

I'm using Firefox.

**Search keywords**: slider lag/lagging
Repository: vscode
Issue: Random pop up command prompt appearing when open vs code
Labels: info-needed

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes/No
Yes

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.96.0
- OS Version:  Windows 11 24H2

Steps to Reproduce:

1. Open VS Code
2. Create c++ / python file
3. Random pop up command prompt appearing![Image](https://github.com/user-attachments/assets/61a55104-0303-4afa-b2b0-31bc87dc858c)
4. Exit VS Code 
5. Command prompt stop appearing
Repository: react
Issue: Bug: uwu by @something in footer is not responsive from around 1500px to 1670px
Labels: Status: Unconfirmed

On react documentation website. After clicking uwu, the text "Logo by @sawaratsuki1004" is breaking. Not looking good.
Make it inline for this range of screen width. (1500px to 1670px). Works fine out of this range

![reactbug](https://github.com/user-attachments/assets/d67de1ce-8bdd-4ed5-ab73-7e6b09bb73d0)

Fix,
white-space: nowrap;

Add this css property to the tag.
Repository: next.js
Issue: Returning `notFound` from `getStaticProps` with dynamic path and middleware shows error page instead of 404 page
Labels: Middleware,Pages Router,linear: next

### Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/dreamy-villani-mh2lrd?workspaceId=ws_PaH83X1dr2DdF1ajuypJkh

### To Reproduce

1. Start the application in development mode (next dev)
2. Navigate to the dynamic path, for instance: https://mh2lrd-3001.csb.app/products/3/hello
3. The following error is shown: `Error: Failed to load static props`

### Current vs. Expected behavior

**Expected:**
When navigating to a route with `getStaticProps` that returns `notFound: true`, I expect to see the custom 404 page.
**Actual:**
Instead, the default error page is shown.

If the middleware is removed, the bug does not reproduce - the 404 page is shown.
From the network calls, it appears that a fetch to 404.json with query params representing the dymanic path fails (with a 404 status code).

For instance - a call to: `_next/data/cYcaBxmaNOQIDHRyOqEZf/404.json?id=3&slug=hello` has a 404 response.

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP PREEMPT_DYNAMIC Sun Aug  6 20:05:33 UTC 2023
  Available memory (MB): 4102
  Available CPU cores: 2
Binaries:
  Node: 20.9.0
  npm: 9.8.1
  Yarn: 1.22.19
  pnpm: 8.10.2
Relevant Packages:
  next: 15.1.1-canary.18 // Latest available version is detected (15.1.1-canary.18).
  eslint-config-next: N/A
  react: 19.0.0-beta-04b058868c-20240508
  react-dom: 19.0.0-beta-04b058868c-20240508
  typescript: 5.1.3
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Middleware, Pages Router

### Which stage(s) are affected? (Select all that apply)

next dev (local), next start (local), Other (Deployed)

### Additional context

The bug does not reproduce in next@14.1.4.
Any version from next@14.2.0 onwards reproduces the bug.

It reproduces in dev, running locally, and in our production environment (self hosted).
Repository: PowerToys
Issue: Un able to remove connection from mouse without border
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.87.1

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

Mouse Without Borders

### Steps to reproduce

Un able to remove old connection and add new one

### ✔️ Expected Behavior

Able to remove any old connection and add new connection

### ❌ Actual Behavior

Un able to remove old connection and add new one

### Other Software

_No response_
Repository: rust
Issue: [AVR] Large const lookup table is placed in data section
Labels: T-compiler,C-feature-request,O-AVR

When compiling for AVR, large const lookup table is placed in data section, wasting precious RAM.

Code in question:

```rust
const CURRENT_CALIBRATION_TABLE: [u16; 800] = [ /* ... */ ];

pub const fn get_current_by_adc(adc: u16) -> Fixed {
    let i = if (adc as usize) < CURRENT_CALIBRATION_TABLE.len() {
        adc as usize
    } else {
        CURRENT_CALIBRATION_TABLE.len() - 1
    };
    Fixed::from_bits(CURRENT_CALIBRATION_TABLE[i] as u32)
}
```

Target spec:

```
{
  "arch": "avr",
  "atomic-cas": false,
  "cpu": "atmega328p",
  "crt-objects-fallback": "false",
  "data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
  "eh-frame-header": false,
  "exe-suffix": ".elf",
  "late-link-args": {
    "gnu-cc": [
      "-lgcc"
    ],
    "gnu-lld-cc": [
      "-lgcc"
    ]
  },
  "linker": "avr-gcc",
  "linker-flavor": "gnu-cc",
  "llvm-target": "avr-unknown-unknown",
  "max-atomic-width": 8,
  "metadata": {
    "description": null,
    "host_tools": null,
    "std": null,
    "tier": null
  },
  "no-default-libraries": false,
  "pre-link-args": {
    "gnu-cc": [
      "-mmcu=atmega328p",
      "-Wl,--as-needed,--print-memory-usage"
    ],
    "gnu-lld-cc": [
      "-mmcu=atmega328p",
      "-Wl,--as-needed,--print-memory-usage"
    ]
  },
  "relocation-model": "static",
  "target-c-int-width": "16",
  "target-pointer-width": "16"
}
```

I expected to see this happen: Table is placed into Flash ROM, flash read instructions are used to access data.

Instead, this happened: Table is placed into RAM.

### Meta

`rustc --version --verbose`:
```
rustc 1.85.0-nightly (426d17342 2024-12-21)
binary: rustc
commit-hash: 426d1734238e3c5f52e935ba4f617f3a9f43b59d
commit-date: 2024-12-21
host: aarch64-apple-darwin
release: 1.85.0-nightly
LLVM version: 19.1.6
```

</p>
</details>
Repository: ui
Issue: [bug]: Invalid CSS variable name in chart component
Labels: bug

### Describe the bug

The chart component appears to [set a CSS variable dynamically](https://github.com/shadcn-ui/ui/blob/1081536246b44b6664f4c99bc3f1b3614e632841/apps/www/registry/default/ui/chart.tsx#L91) as `--color-${key}`. However, the value of `key` is allowed to contain characters that are invalid as part of a CSS variable name. For example, the `.` character is not valid in CSS identifiers as per the [CSS specification](https://www.w3.org/TR/CSS22/syndata.html#value-def-identifier).

**Actual result**
<img width="676" alt="image" src="https://github.com/user-attachments/assets/e03c1583-54d0-40c1-813a-438ca66119f2" />


**Expected result**
<img width="676" alt="image" src="https://github.com/user-attachments/assets/0cb6f77e-1557-4561-8985-77cd5d9661c4" />


### Affected component/components

Chart

### How to reproduce

(see linked StackBlitz example, based off-of [this](https://github.com/shadcn-ui/ui/blob/1081536246b44b6664f4c99bc3f1b3614e632841/apps/www/registry/default/charts/chart-area-interactive.tsx))

1. Use the chart component with data/chart config which contains a key that would be an invalid in a CSS variable (e.g. `example.com`). As a workaround, you can use a legal CSS variable name as the key, and customize the name using the label (however it was not immediately obvious where the issue lay).

### Codesandbox/StackBlitz link

https://stackblitz.com/edit/shadcn-chart-cssvar-issue

### Logs

_No response_

### System Info

```bash
Chrome, macOS
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: PowerToys
Issue: Bug Report: Enabling PowerToys Mouse Pointer Crosshair Activates Windows 11 Do Not Disturb Mode
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.87.1

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

Mouse Utilities

### Steps to reproduce

When the Crosshair feature in PowerToys is enabled, the "Do Not Disturb" mode in Windows 11 gets activated automatically, even when it was previously disabled by the user. This behavior occurs consistently and interrupts normal notification functionality.

1. Ensure "Do Not Disturb" mode is off
    - Navigate to Settings > System > Notifications in Windows 11.
    - Make sure the Do Not Disturb toggle is set to Off.
2. Open PowerToys and go to the Mouse Utilities section.
3. Enable the Mouse Pointer Crosshair feature.
4. Check the "Do Not Disturb" status again:
    - Return to Settings > System > Notifications.
    - Observe whether the Do Not Disturb toggle has been automatically turned On.


### ✔️ Expected Behavior

Enabling the Crosshair feature in PowerToys should not interfere with the notification settings in Windows 11, including the "Do Not Disturb" mode.

### ❌ Actual Behavior

Activating the Crosshair feature in PowerToys automatically turns on the "Do Not Disturb" mode in Windows 11, which silences notifications without user intent.

### Other Software

Windows 11Pro 23H2 (22631.4602)
Repository: ui
Issue: [feat]: Make date picker calendars move individually
Labels: area: request

### Feature description

The current way the datepicker moves is weird and quite confusing for users. Whenever one of the calendars is moved, the other follows and so there's always a one month gap between the two. It would be better if the calendars could each have their own set of carets to navigate to different  months.
Below is a video that shows the behaviour I'm talking about
[Screencast from 2024-12-24 18-35-42.webm](https://github.com/user-attachments/assets/114276f3-e78c-471b-b1c2-19224063652c)


### Affected component/components

Date Picker

### Additional Context

Give each calendar in date picker it's own set of carets to navigate between months

### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues and PRs
Repository: flutter
Issue: [in_app_purchase_storekit] StoreKit2 buyNonConsumable options missing promotionoffer and winbackoffer
Labels: platform-ios,platform-mac,p: in_app_purchase,package,c: proposal,P2,team-ios,triaged-ios

### Steps to reproduce

1. InAppPurchaseStoreKitPlatform.enableStoreKit2();
2. There is no option to pass promotionaloffer 
 refer: https://developer.apple.com/documentation/storekit/product/purchaseoption
<img width="611" alt="image" src="https://github.com/user-attachments/assets/ad476c9f-a3b6-47fc-9497-9b1a0eb62f3b" />


### Expected results

buyNonConsumable should accept options as parameter

### Actual results

unable to use promotionoffer in storekit2

### Code sample

<details open><summary>Code sample</summary>

```dart
[Paste your code here]
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[✓] Flutter (Channel stable, 3.24.5, on macOS 14.6.1 23G93 darwin-arm64, locale en-IN)
    • Flutter version 3.24.5 on channel stable at /Users/arunrajkumar/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision dec2ee5c1f (6 weeks ago), 2024-11-13 11:13:06 -0800
    • Engine revision a18df97ca5
    • Dart version 3.5.4
    • DevTools version 2.37.3
```

</details>
Repository: ollama
Issue: version aware linux upgrade
Labels: feature request,linux,install

### What is the issue?

ollama install command, `curl -fsSL https://ollama.com/install.sh | sh`, removes and reinstalls even if there is no version update.

The script should not remove current version downloads, if there is no version update.

### OS

Linux

### GPU

Intel

### CPU

Intel

### Ollama version

0.5.4
Repository: terminal
Issue: Add α to Highlight-Color
Labels: Issue-Feature,Needs-Triage,Needs-Tag-Fix

### Description of the new feature

I have a MS-DOS terminal lookalike and am trying to make highlights invisible, so it most accurately mirrors the MS-DOS 3.2 terminal on a crt monitor. I tried setting the highlight code to:
```JSON
"#00000000"
```
and it says that rgbα codes are not supported for highlight colors. If anyone has a workaround, please comment it.

### Proposed technical implementation details

_No response_
Repository: create-react-app
Issue: Unable start project: Cannot find module '@svgr/webpack'
Labels: needs triage,issue: bug report

I try create a new project using `npx create-react-app` [but is broken](https://github.com/facebook/create-react-app/issues/13721), i try reutilize a old project created 1 month ago and i delete the `node_modules` folder and `package-lock.json`, and execute `npm install`, its works fine but when try run the project says an error:

```bash
$ npm start

> web-app@0.1.0-beta start
> react-scripts start

Cannot find module '@svgr/webpack'
Require stack:
- /home/.../webapp/node_modules/react-scripts/config/webpack.config.js
- /home/.../webapp/node_modules/react-scripts/scripts/start.js
```

I try install mannualy the package using `npm install @svgr/webpack` but does not work. The `package.json` file content is:

```json
{
  "name": "web-app",
  "version": "0.1.0-beta",
  "description": "WEB App",
  "homepage": "./",
  "dependencies": {
    "@svgr/webpack": "^8.1.0",
    "@testing-library/jest-dom": "^5.17.0",
    "@testing-library/react": "^13.4.0",
    "@testing-library/user-event": "^13.5.0",
    "bootstrap": "^5.3.3",
    "bootstrap-icons": "^1.11.3",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "react-markdown": "^9.0.1",
    "react-scripts": "5.0.1",
    "url": "^0.11.3",
    "web-vitals": "^2.1.4"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },
  "eslintConfig": {
    "extends": [
      "react-app",
      "react-app/jest"
    ]
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }
}
```

Can not create a new project and can not run any project.

My software version:

```bash
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.1 LTS
Release:	24.04
Codename:	noble

$ node --version
v22.12.0

$ npm --version
10.9.0
```

I try use node 18 and 22 but does not work.
Repository: rust
Issue: `unreachable_patterns` emitted on `_` that matches a local of uninhabited type (that is uninitialized)
Labels: A-lints,T-compiler,C-bug,L-unreachable_patterns

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.
-->

I tried this code:

```rust
enum Void {}

fn main() {
    let void: Void;
    match void {
        _ => (),
    }
}
```
([playground](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2024&gist=31ce10867db7efd14950febee77b5cd1))

I expected to see this happen: the code compiler without warnings and successfully runs doing nothing.

Instead, this happened: a warning is emitted (the code compiles and runs as expected):

```
warning: unreachable pattern
 --> src/main.rs:6:9
  |
6 |         _ => (),
  |         ^-------
  |         |
  |         matches no values because `Void` is uninhabited
  |         help: remove the match arm
  |
  = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types
  = note: `#[warn(unreachable_patterns)]` on by default
```

### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->

rustc version: `1.85.0-nightly (2024-12-23 bdc6b3de48646345549f)`
Repository: tauri
Issue: [bug] "decorations": false inconsistent on macos and windows
Labels: type: bug,status: needs triage

### Describe the bug

When setting `"decorations": false` in the tauri.conf.json file, macos and windows exhibit inconsistent behaviour. On windows, only the titlebar appears to be missing. On macos, both the titlebar and the window's rounded borders are missing. 

I've managed to work around this issue by using tauri.[platform].conf.json. I have also managed to work around it by setting the window to transparent and then using a white background on body with border radius, but I'm not sure if it matches the native platform's style.

Regardless, I feel like this config option should do the same thing on both platforms.

macos:
<img width="846" alt="macos" src="https://github.com/user-attachments/assets/126cf3eb-bd44-46ef-89bf-2d58cb0cb287" />

windows:
![windows](https://github.com/user-attachments/assets/be293a16-1376-42dc-ba90-7e546e72e912)

### Reproduction

tauri.conf.json

```json
"windows": [
  {
    "title": "main",
    "width": 800,
    "height": 600,
    "decorations": false
  }
],
```

### Expected behavior

For consistent behaviour to be exhibited on both platforms.

### Full `tauri info` output

```text
[✔] Environment
    - OS: Windows 10.0.22631 x86_64 (X64)
    ✔ WebView2: 131.0.2903.112
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.83.0 (90b35a623 2024-11-26)
    ✔ cargo: 1.83.0 (5ffbef321 2024-10-29)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (environment override by RUSTUP_TOOLCHAIN)
    - bun: 1.1.20

[-] Packages
    - tauri 🦀: 2.1.1
    - tauri-build 🦀: 2.0.3
    - wry 🦀: 0.47.2
    - tao 🦀: 0.30.8
    - tauri-cli 🦀: 2.1.0

[-] Plugins
    - tauri-plugin-shell 🦀: 2.0.2

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ./ui/dist
    - devUrl: http://localhost:1420/
```


### Stack trace

_No response_

### Additional context

_No response_
Repository: rust
Issue: Missing unreachable code/arm warning, when a match guard is diverging
Labels: A-lints,T-compiler,C-bug,L-unreachable_code

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.
-->

I tried this code:

```rust
fn main() {
    match () {
        _ if loop {} => (),
        _ => (),
    }
    println!("nya :3");
}
```
([playground](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2024&gist=26c036b8ccf18d04209b39f2f623dafb))

I expected to see this happen: compiler to emit a warning that the first arm and later code is unreachable (since `loop{}` never terminates and has type `!`).

Instead, this happened: the code compiles without warnings.

### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->

rustc version: ` 1.84.0-beta.4 (2024-12-07 202008a1b8de96d2e5b6)`
Repository: flutter
Issue: [pigeon] Support const constructors
Labels: package,team-ecosystem,p: pigeon,P3,triaged-ecosystem

### Use case

Classes with final fields and a const constructor in the Pigeon file are generated as non-final and non-const in the generated code, even though adding those back in manually doesn't result in any errors. If Pigeon kept those, these classes could better replace user-facing APIs. 

### Proposal

For a Pigeon file like the following: 

```dart
class User {
  const User(this.name);
  final String name;
}
```

Instead of generating 

```dart
class User {
  User({
    required this.name,
  });

  String name;

  Object encode() {
    return <Object?>[
      name,
    ];
  }

  static User decode(Object result) {
    result as List<Object?>;
    return User(
      name: result[0]! as String,
    );
  }
}
```

Pigeon should generate
```dart
class User {
  const User({
    required this.name,
  });

  final String name;
  // ...
}
```